Function pavex::time::util::days_in_year_month
pub const fn days_in_year_month(year: i32, month: Month) -> u8
Expand description
Get the number of days in the month of a given year.
assert_eq!(util::days_in_year_month(2020, Month::February), 29);