A calendar date with an optional time of day, typed structurally.
Native Temporal.PlainDate and Temporal.PlainDateTime satisfy it, and so does any plain object with numeric year, month (1-12) and day fields. Omitted time fields count as 0.
Temporal.PlainDate
Temporal.PlainDateTime
year
month
day
Readonly
Optional
A calendar date with an optional time of day, typed structurally.
Native
Temporal.PlainDateandTemporal.PlainDateTimesatisfy it, and so does any plain object with numericyear,month(1-12) anddayfields. Omitted time fields count as 0.