Expand description
Versions of functions that are optimized for when the year has already been range-validated.
The implementations of these functions depend on whether the large-dates feature is enabled.
Note: This module is not exposed by the time crate. It is an implementation detail.
Functionsยง
- days_
in_ month - Get the number of days in the month of a given year, assuming the year has already been range-validated.
- days_
in_ year - Get the number of calendar days in a given year, assuming the year has already been range-validated.
- is_
leap_ year - Returns if the provided year is a leap year in the proleptic Gregorian calendar, assuming the year has already been range-validated.