pub const fn days_in_month(year: i32, month: u8) -> u8Expand description
Days in month of year, 1-indexed. Zero for an out-of-range month,
which makes an invalid month fail the day check in
DateTime::is_valid rather than needing its own branch.