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

Class TimeZoneNamedFromSelf

packages/effect/src/Schema.ts:6994–7003  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6992 * @since 3.10.0
6993 */
6994export class TimeZoneNamedFromSelf extends declare(
6995 dateTime.isTimeZoneNamed,
6996 {
6997 typeConstructor: { _tag: "effect/DateTime.TimeZone.Named" },
6998 identifier: "TimeZoneNamedFromSelf",
6999 description: "a TimeZone.Named instance",
7000 pretty: (): pretty_.Pretty<dateTime.TimeZone.Named> => (zone) => zone.toString(),
7001 arbitrary: timeZoneNamedArbitrary
7002 }
7003) {}
7004
7005/**
7006 * Defines a schema that attempts to convert a `string` to a `TimeZone.Named` instance using the `DateTime.zoneUnsafeMakeNamed` constructor.

Callers

nothing calls this directly

Calls 2

declareInterface · 0.85
toStringMethod · 0.65

Tested by

no test coverage detected