interface Temporal.Duration
Properties #
#milliseconds: number readonly
#microseconds: number readonly
#nanoseconds: number readonly
#[[Symbol.toStringTag]]: "Temporal.Duration" readonly
Methods #
#with(durationLike: PartialTemporalLike<DurationLikeObject>): Duration #add(other: DurationLike): Duration #subtract(other: DurationLike): Duration #round(roundTo: PluralizeUnit<"day" | TimeUnit>): Duration #round(roundTo: DurationRoundingOptions): Duration #total(totalOf: PluralizeUnit<"day" | TimeUnit>): number #total(totalOf: DurationTotalOptions): number #toString(options?: DurationToStringOptions): string #toLocaleString(locales?: Intl.LocalesArgument,options?: Intl.DurationFormatOptions,): string