interface Temporal.Instant
Properties #
#epochMilliseconds: number readonly
#epochNanoseconds: bigint readonly
#[[Symbol.toStringTag]]: "Temporal.Instant" readonly
Methods #
#add(duration: DurationLike): Instant #subtract(duration: DurationLike): Instant #until(other: InstantLike,options?: RoundingOptionsWithLargestUnit<TimeUnit>,): Duration #since(other: InstantLike,options?: RoundingOptionsWithLargestUnit<TimeUnit>,): Duration #round(roundTo: PluralizeUnit<TimeUnit>): Instant #round(roundTo: RoundingOptions<TimeUnit>): Instant #equals(other: InstantLike): boolean #toString(options?: InstantToStringOptions): string #toLocaleString(locales?: Intl.LocalesArgument,options?: Intl.DateTimeFormatOptions,): string #toZonedDateTimeISO(timeZone: TimeZoneLike): ZonedDateTime