pub const fn get_days_in_month_2(leap_year: bool, 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.