MCPcopy
hub / github.com/Effect-TS/effect / timeZoneArbitrary

Function timeZoneArbitrary

packages/effect/src/Schema.ts:7052–7056  ·  view source on GitHub ↗
(fc)

Source from the content-addressed store, hash-verified

7050).annotations({ identifier: "TimeZone" }) {}
7051
7052const timeZoneArbitrary: LazyArbitrary<dateTime.TimeZone> = (fc) =>
7053 fc.oneof(
7054 timeZoneOffsetArbitrary()(fc),
7055 timeZoneNamedArbitrary()(fc)
7056 )
7057
7058/**
7059 * Describes a schema that represents a `DateTime.Zoned` instance.

Callers 1

Calls 2

timeZoneOffsetArbitraryFunction · 0.85
timeZoneNamedArbitraryFunction · 0.85

Tested by

no test coverage detected