Temporal.ZonedDateTime
interface
interface Temporal.ZonedDateTimevariable
var Temporal.ZonedDateTime: ZonedDateTimeConstructorProperties
calendarId
readonly calendarId: stringtimeZoneId
readonly timeZoneId: stringera
readonly era: string | undefinederaYear
readonly eraYear: number | undefinedyear
readonly year: numbermonth
readonly month: numbermonthCode
readonly monthCode: stringday
readonly day: numberhour
readonly hour: numberminute
readonly minute: numbersecond
readonly second: numbermillisecond
readonly millisecond: numbermicrosecond
readonly microsecond: numbernanosecond
readonly nanosecond: numberepochMilliseconds
readonly epochMilliseconds: numberepochNanoseconds
readonly epochNanoseconds: bigintdayOfWeek
readonly dayOfWeek: numberdayOfYear
readonly dayOfYear: numberweekOfYear
readonly weekOfYear: number | undefinedyearOfWeek
readonly yearOfWeek: number | undefinedhoursInDay
readonly hoursInDay: numberdaysInWeek
readonly daysInWeek: numberdaysInMonth
readonly daysInMonth: numberdaysInYear
readonly daysInYear: numbermonthsInYear
readonly monthsInYear: numberinLeapYear
readonly inLeapYear: booleanoffsetNanoseconds
readonly offsetNanoseconds: numberoffset
readonly offset: string[Symbol.toStringTag]
readonly [Symbol.toStringTag]: "Temporal.ZonedDateTime"Methods
with
with(zonedDateTimeLike: PartialTemporalLike<ZonedDateTimeLikeObject>, options?: ZonedDateTimeFromOptions): ZonedDateTimewithPlainTime
withPlainTime(plainTime?: PlainTimeLike): ZonedDateTimewithTimeZone
withTimeZone(timeZone: TimeZoneLike): ZonedDateTimewithCalendar
withCalendar(calendar: CalendarLike): ZonedDateTimeadd
add(duration: DurationLike, options?: OverflowOptions): ZonedDateTimesubtract
subtract(duration: DurationLike, options?: OverflowOptions): ZonedDateTimeuntil
until(other: ZonedDateTimeLike, options?: RoundingOptionsWithLargestUnit<DateUnit | TimeUnit>): Durationsince
since(other: ZonedDateTimeLike, options?: RoundingOptionsWithLargestUnit<DateUnit | TimeUnit>): Durationround
round(roundTo: PluralizeUnit<"day" | TimeUnit>): ZonedDateTimeround(roundTo: RoundingOptions<"day" | TimeUnit>): ZonedDateTimeequals
equals(other: ZonedDateTimeLike): booleantoString
toString(options?: ZonedDateTimeToStringOptions): stringtoLocaleString
toLocaleString(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): stringtoJSON
toJSON(): stringvalueOf
valueOf(): neverstartOfDay
startOfDay(): ZonedDateTimegetTimeZoneTransition
getTimeZoneTransition(direction: "next" | "previous"): ZonedDateTime | nullgetTimeZoneTransition(direction: TransitionOptions): ZonedDateTime | nulltoInstant
toInstant(): InstanttoPlainDate
toPlainDate(): PlainDatetoPlainTime
toPlainTime(): PlainTimetoPlainDateTime
toPlainDateTime(): PlainDateTime