Skip to main content

is_gregorian_leap

Function is_gregorian_leap 

Source
pub fn is_gregorian_leap(year: i64) -> bool
Expand description

True if year is a leap year in the proleptic Gregorian calendar (every 4th year, except centuries, except every 400th).