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

Class TimeZoneOffsetFromSelf

packages/effect/src/Schema.ts:6958–6967  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6956 * @since 3.10.0
6957 */
6958export class TimeZoneOffsetFromSelf extends declare(
6959 dateTime.isTimeZoneOffset,
6960 {
6961 typeConstructor: { _tag: "effect/DateTime.TimeZone.Offset" },
6962 identifier: "TimeZoneOffsetFromSelf",
6963 description: "a TimeZone.Offset instance",
6964 pretty: (): pretty_.Pretty<dateTime.TimeZone.Offset> => (zone) => zone.toString(),
6965 arbitrary: timeZoneOffsetArbitrary
6966 }
6967) {}
6968
6969/**
6970 * Defines a schema that converts a `number` to a `TimeZone.Offset` instance using the `DateTime.zoneMakeOffset` constructor.

Callers

nothing calls this directly

Calls 2

declareInterface · 0.85
toStringMethod · 0.65

Tested by

no test coverage detected