Function days_in_year_month

Deprecated since 0.3.37: use `days_in_month` or `Month::length` instead
pub 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);