Skip to main content

days_in_year

Function days_in_year 

Source
pub const fn days_in_year(year: i16) -> i16
Expand description

Return the number of days in the given year.

This is guaranteed to either return 365 or 366.