MCPcopy Index your code
hub / github.com/Effect-TS/effect / timeZoneOffsetArbitrary

Function timeZoneOffsetArbitrary

packages/effect/src/Schema.ts:6949–6950  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6947).annotations({ identifier: "DateTimeUtc" }) {}
6948
6949const timeZoneOffsetArbitrary = (): LazyArbitrary<dateTime.TimeZone.Offset> => (fc) =>
6950 fc.integer({ min: -12 * 60 * 60 * 1000, max: 14 * 60 * 60 * 1000 }).map(dateTime.zoneMakeOffset)
6951
6952/**
6953 * Describes a schema that represents a `TimeZone.Offset` instance.

Callers 1

timeZoneArbitraryFunction · 0.85

Calls 2

integerMethod · 0.80
mapMethod · 0.65

Tested by

no test coverage detected