last_day_of_month

Function last_day_of_month 

Source
pub const fn last_day_of_month(year: i32, month: u32) -> Option<u32>
Expand description

Returns the last valid day of (year, month).

Returns None if month is not in the range 1..=12.