Skip to content

Instant

[<Interface>]
type Instant =
    abstract member SymbolToStringTag: string
    abstract member epochMilliseconds: float
    abstract member epochNanoseconds: bigint
    abstract member add (duration: DurationLike) : Instant
    abstract member equals (other: InstantLike) : bool
    abstract member round (roundTo: RoundingOptions<TimeUnit>) : Instant
    abstract member round (roundTo: PluralizeUnit4) : Instant
    abstract member since (other: InstantLike, ?options: RoundingOptionsWithLargestUnit<TimeUnit>) : Duration
    abstract member subtract (duration: DurationLike) : Instant
    abstract member toJSON () : string
    abstract member toLocaleString (?locales: LocalesArgument, ?options: DateTimeFormatOptions) : string
    abstract member toString (?options: InstantToStringOptions) : string
    abstract member toZonedDateTimeISO (timeZone: TimeZoneLike) : ZonedDateTime
    abstract member until (other: InstantLike, ?options: RoundingOptionsWithLargestUnit<TimeUnit>) : Duration
    abstract member valueOf () : unit
AssemblyXantham.Fable.Core.TS

Properties

abstract member SymbolToStringTag: string
abstract member epochMilliseconds: float
abstract member epochNanoseconds: bigint

Methods

abstract member add (duration: DurationLike) : Instant
abstract member equals (other: InstantLike) : bool
abstract member round (roundTo: RoundingOptions<TimeUnit>) : Instant
abstract member round (roundTo: PluralizeUnit4) : Instant
abstract member since (other: InstantLike, ?options: RoundingOptionsWithLargestUnit<TimeUnit>) : Duration
abstract member subtract (duration: DurationLike) : Instant
abstract member toJSON () : string
abstract member toLocaleString (?locales: LocalesArgument, ?options: DateTimeFormatOptions) : string
abstract member toString (?options: InstantToStringOptions) : string
abstract member toZonedDateTimeISO (timeZone: TimeZoneLike) : ZonedDateTime
abstract member until (other: InstantLike, ?options: RoundingOptionsWithLargestUnit<TimeUnit>) : Duration
abstract member valueOf () : unit