interface Temporal.ZonedDateTime
Properties #
#calendarId: string readonly
#timeZoneId: string readonly
#millisecond: number readonly
#microsecond: number readonly
#nanosecond: number readonly
#epochMilliseconds: number readonly
#epochNanoseconds: bigint readonly
#weekOfYear: number | undefined readonly
#yearOfWeek: number | undefined readonly
#hoursInDay: number readonly
#daysInWeek: number readonly
#daysInMonth: number readonly
#daysInYear: number readonly
#monthsInYear: number readonly
#inLeapYear: boolean readonly
#offsetNanoseconds: number readonly
#[[Symbol.toStringTag]]: "Temporal.ZonedDateTime" readonly
Methods #
#with(zonedDateTimeLike: PartialTemporalLike<ZonedDateTimeLikeObject>,options?: ZonedDateTimeFromOptions,): ZonedDateTime #withPlainTime(plainTime?: PlainTimeLike): ZonedDateTime #withTimeZone(timeZone: TimeZoneLike): ZonedDateTime #withCalendar(calendar: CalendarLike): ZonedDateTime #add(duration: DurationLike,options?: OverflowOptions,): ZonedDateTime #subtract(duration: DurationLike,options?: OverflowOptions,): ZonedDateTime #until(other: ZonedDateTimeLike,options?: RoundingOptionsWithLargestUnit<DateUnit | TimeUnit>,): Duration #since(other: ZonedDateTimeLike,options?: RoundingOptionsWithLargestUnit<DateUnit | TimeUnit>,): Duration #round(roundTo: PluralizeUnit<"day" | TimeUnit>): ZonedDateTime #round(roundTo: RoundingOptions<"day" | TimeUnit>): ZonedDateTime #equals(other: ZonedDateTimeLike): boolean #toString(options?: ZonedDateTimeToStringOptions): string #toLocaleString(locales?: Intl.LocalesArgument,options?: Intl.DateTimeFormatOptions,): string #getTimeZoneTransition(direction: "next" | "previous"): ZonedDateTime | null #getTimeZoneTransition(direction: TransitionOptions): ZonedDateTime | null