pub const fn days_in_year(year: i32) -> u16Expand description
Get the number of calendar days in a given year, assuming the year has already been range-validated.
Behavior is unspecified for years outside the valid range.
Note: This function is not exposed by the time crate. It is an implementation detail.