Temporal.Instant
interface
interface Temporal.Instantvariable
var Temporal.Instant: InstantConstructorProperties
epochMilliseconds
readonly epochMilliseconds: numberepochNanoseconds
readonly epochNanoseconds: bigint[Symbol.toStringTag]
readonly [Symbol.toStringTag]: "Temporal.Instant"Methods
add
add(duration: DurationLike): Instantsubtract
subtract(duration: DurationLike): Instantuntil
until(other: InstantLike, options?: RoundingOptionsWithLargestUnit<TimeUnit>): Durationsince
since(other: InstantLike, options?: RoundingOptionsWithLargestUnit<TimeUnit>): Durationround
round(roundTo: PluralizeUnit<TimeUnit>): Instantround(roundTo: RoundingOptions<TimeUnit>): Instantequals
equals(other: InstantLike): booleantoString
toString(options?: InstantToStringOptions): stringtoLocaleString
toLocaleString(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): stringtoJSON
toJSON(): stringvalueOf
valueOf(): nevertoZonedDateTimeISO
toZonedDateTimeISO(timeZone: TimeZoneLike): ZonedDateTime