pub const fn days_in_year_month(year: i32, month: Month) -> u8👎Deprecated since 0.3.37: use
days_in_month or Month::length insteadExpand description
Get the number of days in the month of a given year.
assert_eq!(util::days_in_year_month(2020, Month::February), 29);