pub const fn get_days_in_month(year: i32, month: u8) -> Option<u8>
Expand description

Calculate how many days in a month.

If the input month is not between 1 and 12, this function will return None.