import { type Temporal } from "https://deno.land/x/deno@v1.40.5/cli/tsc/dts/lib.deno.unstable.d.ts";
const { TimeZoneProtocol } = Temporal;
A plain object implementing the protocol for a custom time zone.
Methods
getOffsetNanosecondsFor(instant: Temporal.Instant | string): number
optional
getOffsetStringFor(instant: Temporal.Instant | string): stringoptional
getPlainDateTimeFor(instant: Temporal.Instant | string, calendar?: CalendarLike): Temporal.PlainDateTimeoptional
getInstantFor(dateTime: Temporal.PlainDateTime | PlainDateTimeLike | string, options?: ToInstantOptions): Temporal.Instantoptional
getNextTransition(startingPoint: Temporal.Instant | string): Temporal.Instant | nulloptional
getPreviousTransition(startingPoint: Temporal.Instant | string): Temporal.Instant | nullgetPossibleInstantsFor(dateTime: Temporal.PlainDateTime | PlainDateTimeLike | string): Temporal.Instant[]