days_in_month_leap

Function days_in_month_leap 

Source
pub(crate) const fn days_in_month_leap(month: u8, is_leap_year: bool) -> u8
Expand description

Get the number of days in the month. The year does not need to be known, but whether the year is a leap year does.

Note: This function is not exposed by the time crate. It is an implementation detail.