Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The daysInYear
accessor property of Temporal.PlainDate
instances returns a positive integer representing the number of days in the year of this date. It is calendar-dependent.
For the ISO 8601 calendar, this is 365, or 366 in a leap year. In other calendar systems, it likely differs, especially in non-solar calendars.
The set accessor of daysInWeek
is undefined
. You cannot change this property directly.