class Temporal.ZonedDateTime
Unstable
new
ZonedDateTime(epochNanoseconds: bigint, timeZone: TimeZoneLike, calendar?: CalendarLike)
readonly
[Symbol.toStringTag]: "Temporal.ZonedDateTime"
readonly
calendarId: string
readonly
day: number
readonly
dayOfWeek: number
readonly
dayOfYear: number
readonly
daysInMonth: number
readonly
daysInWeek: number
readonly
daysInYear: number
readonly
epochMicroseconds: bigint
readonly
epochMilliseconds: number
readonly
epochNanoseconds: bigint
readonly
epochSeconds: number
readonly
era: string | undefined
readonly
eraYear: number | undefined
readonly
hour: number
readonly
hoursInDay: number
readonly
inLeapYear: boolean
readonly
microsecond: number
readonly
millisecond: number
readonly
minute: number
readonly
month: number
readonly
monthCode: string
readonly
monthsInYear: number
readonly
nanosecond: number
readonly
offset: string
readonly
offsetNanoseconds: number
readonly
second: number
readonly
timeZoneId: string
readonly
weekOfYear: number
readonly
year: number
readonly
yearOfWeek: number
add(durationLike: Temporal.Duration | DurationLike | string, options?: ArithmeticOptions): Temporal.ZonedDateTime
equals(other: Temporal.ZonedDateTime | ZonedDateTimeLike | string): boolean
round(roundTo: RoundTo< | "day" | "hour" | "minute" | "second" | "millisecond" | "microsecond" | "nanosecond">): Temporal.ZonedDateTime
since(other: Temporal.ZonedDateTime | ZonedDateTimeLike | string, options?: Temporal.DifferenceOptions< | "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond" | "microsecond" | "nanosecond">): Temporal.Duration
subtract(durationLike: Temporal.Duration | DurationLike | string, options?: ArithmeticOptions): Temporal.ZonedDateTime
toJSON(): string
toLocaleString(locales?: string | string[], options?: Intl.DateTimeFormatOptions): string
toString(options?: ZonedDateTimeToStringOptions): string
until(other: Temporal.ZonedDateTime | ZonedDateTimeLike | string, options?: Temporal.DifferenceOptions< | "year" | "month" | "week" | "day" | "hour" | "minute" | "second" | "millisecond" | "microsecond" | "nanosecond">): Temporal.Duration
valueOf(): never
with(zonedDateTimeLike: ZonedDateTimeLike, options?: ZonedDateTimeAssignmentOptions): Temporal.ZonedDateTime
withCalendar(calendar: CalendarLike): Temporal.ZonedDateTime
withPlainDate(dateLike: Temporal.PlainDate | PlainDateLike | string): Temporal.ZonedDateTime
withPlainTime(timeLike?: Temporal.PlainTime | PlainTimeLike | string): Temporal.ZonedDateTime
withTimeZone(timeZone: TimeZoneLike): Temporal.ZonedDateTime
compare(one: Temporal.ZonedDateTime | ZonedDateTimeLike | string, two: Temporal.ZonedDateTime | ZonedDateTimeLike | string): ComparisonResult
from(item: Temporal.ZonedDateTime | ZonedDateTimeLike | string, options?: ZonedDateTimeAssignmentOptions): ZonedDateTime