interface Temporal.PlainDateTime
Properties #
#calendarId: string readonly
#millisecond: number readonly
#microsecond: number readonly
#nanosecond: number readonly
#weekOfYear: number | undefined readonly
#yearOfWeek: number | undefined readonly
#daysInWeek: number readonly
#daysInMonth: number readonly
#daysInYear: number readonly
#monthsInYear: number readonly
#inLeapYear: boolean readonly
#[[Symbol.toStringTag]]: "Temporal.PlainDateTime" readonly
Methods #
#with(dateTimeLike: PartialTemporalLike<DateTimeLikeObject>,options?: OverflowOptions,): PlainDateTime #withPlainTime(plainTime?: PlainTimeLike): PlainDateTime #withCalendar(calendar: CalendarLike): PlainDateTime #add(duration: DurationLike,options?: OverflowOptions,): PlainDateTime #subtract(duration: DurationLike,options?: OverflowOptions,): PlainDateTime #until(other: PlainDateTimeLike,options?: RoundingOptionsWithLargestUnit<DateUnit | TimeUnit>,): Duration #since(other: PlainDateTimeLike,options?: RoundingOptionsWithLargestUnit<DateUnit | TimeUnit>,): Duration #round(roundTo: PluralizeUnit<"day" | TimeUnit>): PlainDateTime #round(roundTo: RoundingOptions<"day" | TimeUnit>): PlainDateTime #equals(other: PlainDateTimeLike): boolean #toString(options?: PlainDateTimeToStringOptions): string #toLocaleString(locales?: Intl.LocalesArgument,options?: Intl.DateTimeFormatOptions,): string #toZonedDateTime(timeZone: TimeZoneLike,options?: DisambiguationOptions,): ZonedDateTime