class Temporal.PlainDateTime
unstable
A Temporal.PlainDateTime represents a calendar date and wall-clock time, with
a precision in nanoseconds, and without any time zone. Of the Temporal
classes carrying human-readable time information, it is the most general
and complete one. Temporal.PlainDate, Temporal.PlainTime, Temporal.PlainYearMonth,
and Temporal.PlainMonthDay all carry less information and should be used when
complete information is not required.
See https://tc39.es/proposal-temporal/docs/datetime.html for more details.
readonly
[Symbol.toStringTag]: "Temporal.PlainDateTime"readonly
calendarId: stringreadonly
day: numberreadonly
dayOfWeek: numberreadonly
dayOfYear: numberreadonly
daysInMonth: numberreadonly
daysInWeek: numberreadonly
daysInYear: numberreadonly
era: string | undefinedreadonly
eraYear: number | undefinedreadonly
hour: numberreadonly
inLeapYear: booleanreadonly
microsecond: numberreadonly
millisecond: numberreadonly
minute: numberreadonly
month: numberreadonly
monthCode: stringreadonly
monthsInYear: numberreadonly
nanosecond: numberreadonly
second: numberreadonly
weekOfYear: number | undefinedreadonly
year: numberreadonly
yearOfWeek: number | undefinedadd(durationLike: ,options?: ArithmeticOptions,): Temporal.PlainDateTimeequals(other: ): booleanround(roundTo: RoundTo<"day"
| "hour"
| "minute"
| "second"
| "millisecond"
| "microsecond"
| "nanosecond">): Temporal.PlainDateTimesince(other: ,options?: DifferenceOptions<"year"
| "month"
| "week"
| "day"
| "hour"
| "minute"
| "second"
| "millisecond"
| "microsecond"
| "nanosecond">,): Temporal.Durationsubtract(durationLike: ,options?: ArithmeticOptions,): Temporal.PlainDateTimetoJSON(): stringtoLocaleString(locales?: string | string[],options?: Intl.DateTimeFormatOptions,): stringtoString(options?: CalendarTypeToStringOptions): stringtoZonedDateTime(tzLike: TimeZoneLike,options?: ToInstantOptions,): Temporal.ZonedDateTimeuntil(other: ,options?: DifferenceOptions<"year"
| "month"
| "week"
| "day"
| "hour"
| "minute"
| "second"
| "millisecond"
| "microsecond"
| "nanosecond">,): Temporal.DurationvalueOf(): neverwith(dateTimeLike: PlainDateTimeLike,options?: AssignmentOptions,): Temporal.PlainDateTimewithCalendar(calendar: CalendarLike): Temporal.PlainDateTimewithPlainTime(timeLike?: ): Temporal.PlainDateTimecompare(one: ,two: ,): ComparisonResultfrom(item: ,options?: AssignmentOptions,): Temporal.PlainDateTime