Skip to main content

days_in_month

Function days_in_month 

Source
pub const fn days_in_month(year: i16, month: i8) -> i8
Expand description

Return the number of days in the given month.

This is guaranteed to return a value in the range 1..=31.