Temporal.PlainTime

interface

interface Temporal.PlainTime

variable

var Temporal.PlainTime: PlainTimeConstructor

Properties

hour

readonly hour: number

minute

readonly minute: number

second

readonly second: number

millisecond

readonly millisecond: number

microsecond

readonly microsecond: number

nanosecond

readonly nanosecond: number

[Symbol.toStringTag]

readonly [Symbol.toStringTag]: "Temporal.PlainTime"

Methods

add

add(duration: DurationLike): PlainTime

subtract

subtract(duration: DurationLike): PlainTime

with

with(timeLike: PartialTemporalLike<TimeLikeObject>, options?: OverflowOptions): PlainTime

until

until(other: PlainTimeLike, options?: RoundingOptionsWithLargestUnit<TimeUnit>): Duration

since

since(other: PlainTimeLike, options?: RoundingOptionsWithLargestUnit<TimeUnit>): Duration

equals

equals(other: PlainTimeLike): boolean

round

round(roundTo: PluralizeUnit<TimeUnit>): PlainTime
round(roundTo: RoundingOptions<TimeUnit>): PlainTime

toString

toString(options?: PlainTimeToStringOptions): string

toLocaleString

toLocaleString(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string

toJSON

toJSON(): string

valueOf

valueOf(): never