Function days_in_year_month

const fn days_in_year_month(year: i32, month: Month) -> u8

Get the number of days in the month of a given year.

# #![expect(deprecated)]
# use time::{Month, util};
assert_eq!(util::days_in_year_month(2020, Month::February), 29);