datetime_get_days_per_year

Function datetime_get_days_per_year 

Source
pub unsafe extern "C" fn datetime_get_days_per_year(year: u16) -> u16
Expand description

Gets the number of days in the year according to the Gregorian calendar.

§Arguments

  • year - Input year.

§Returns

number of days in year.