Function actix_web::cookie::time::util::days_in_year_month
pub const fn days_in_year_month(year: i32, month: Month) -> u8
Available on crate feature
cookies
only.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);