days_in_month

Function days_in_month 

Source
pub const fn days_in_month(month: u8, year: i32) -> u8
Expand description

Get the number of days in the month of a given year, assuming the year has already been range-validated.

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