Temporal.PlainDateTime
interface
interface Temporal.PlainDateTimevariable
var Temporal.PlainDateTime: PlainDateTimeConstructorProperties
calendarId
readonly calendarId: 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: numberdayOfWeek
readonly dayOfWeek: numberdayOfYear
readonly dayOfYear: numberweekOfYear
readonly weekOfYear: number | undefinedyearOfWeek
readonly yearOfWeek: number | undefineddaysInWeek
readonly daysInWeek: numberdaysInMonth
readonly daysInMonth: numberdaysInYear
readonly daysInYear: numbermonthsInYear
readonly monthsInYear: numberinLeapYear
readonly inLeapYear: boolean[Symbol.toStringTag]
readonly [Symbol.toStringTag]: "Temporal.PlainDateTime"Methods
with
with(dateTimeLike: PartialTemporalLike<DateTimeLikeObject>, options?: OverflowOptions): PlainDateTimewithPlainTime
withPlainTime(plainTime?: PlainTimeLike): PlainDateTimewithCalendar
withCalendar(calendar: CalendarLike): PlainDateTimeadd
add(duration: DurationLike, options?: OverflowOptions): PlainDateTimesubtract
subtract(duration: DurationLike, options?: OverflowOptions): PlainDateTimeuntil
until(other: PlainDateTimeLike, options?: RoundingOptionsWithLargestUnit<DateUnit | TimeUnit>): Durationsince
since(other: PlainDateTimeLike, options?: RoundingOptionsWithLargestUnit<DateUnit | TimeUnit>): Durationround
round(roundTo: PluralizeUnit<"day" | TimeUnit>): PlainDateTimeround(roundTo: RoundingOptions<"day" | TimeUnit>): PlainDateTimeequals
equals(other: PlainDateTimeLike): booleantoString
toString(options?: PlainDateTimeToStringOptions): stringtoLocaleString
toLocaleString(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): stringtoJSON
toJSON(): stringvalueOf
valueOf(): nevertoZonedDateTime
toZonedDateTime(timeZone: TimeZoneLike, options?: DisambiguationOptions): ZonedDateTimetoPlainDate
toPlainDate(): PlainDatetoPlainTime
toPlainTime(): PlainTime