Function time::util::is_leap_year
source ยท pub const fn is_leap_year(year: i32) -> bool
Expand description
Returns if the provided year is a leap year in the proleptic Gregorian calendar. Uses astronomical year numbering.
pub const fn is_leap_year(year: i32) -> bool
Returns if the provided year is a leap year in the proleptic Gregorian calendar. Uses astronomical year numbering.