class Temporal.PlainDate
unstable
A Temporal.PlainDate represents a calendar date. "Calendar date" refers to the
concept of a date as expressed in everyday usage, independent of any time
zone. For example, it could be used to represent an event on a calendar
which happens during the whole day no matter which time zone it's happening
in.
See https://tc39.es/proposal-temporal/docs/date.html for more details.
readonly
[Symbol.toStringTag]: "Temporal.PlainDate"readonly
calendarId: stringreadonly
day: numberreadonly
dayOfWeek: numberreadonly
dayOfYear: numberreadonly
daysInMonth: numberreadonly
daysInWeek: numberreadonly
daysInYear: numberreadonly
era: string | undefinedreadonly
eraYear: number | undefinedreadonly
inLeapYear: booleanreadonly
month: numberreadonly
monthCode: stringreadonly
monthsInYear: numberreadonly
weekOfYear: number | undefinedreadonly
year: numberreadonly
yearOfWeek: number | undefinedadd(durationLike: ,options?: ArithmeticOptions,): Temporal.PlainDateequals(other: ): booleansince(other: ,options?: DifferenceOptions<"year"
| "month"
| "week"
| "day">,): Temporal.Durationsubtract(durationLike: ,options?: ArithmeticOptions,): Temporal.PlainDatetoJSON(): stringtoLocaleString(locales?: string | string[],options?: Intl.DateTimeFormatOptions,): stringtoPlainDateTime(temporalTime?: ): Temporal.PlainDateTimetoString(options?: ShowCalendarOption): stringtoZonedDateTime(timeZoneAndTime: string | { timeZone: TimeZoneLike; plainTime?: ; }): Temporal.ZonedDateTimeuntil(other: ,options?: DifferenceOptions<"year"
| "month"
| "week"
| "day">,): Temporal.DurationvalueOf(): neverwith(dateLike: PlainDateLike,options?: AssignmentOptions,): Temporal.PlainDatewithCalendar(calendar: CalendarLike): Temporal.PlainDatecompare(one: ,two: ,): ComparisonResultfrom(item: ,options?: AssignmentOptions,): Temporal.PlainDate