Temporal.InstantConstructor

interface

interface Temporal.InstantConstructor

Constructors

constructor

new InstantConstructor(epochNanoseconds: bigint): Instant

Properties

prototype

readonly prototype: Instant

Methods

from

from(item: InstantLike): Instant

fromEpochMilliseconds

fromEpochMilliseconds(epochMilliseconds: number): Instant

fromEpochNanoseconds

fromEpochNanoseconds(epochNanoseconds: bigint): Instant

compare

compare(one: InstantLike, two: InstantLike): number