Function is_leap_year
pub const fn is_leap_year(year: i16) -> bool
Returns true if and only if the given year is a leap year.
A leap year is a year with 366 days. Non-leap years have 365 days.
is_leap_yearpub const fn is_leap_year(year: i16) -> bool
Returns true if and only if the given year is a leap year.
A leap year is a year with 366 days. Non-leap years have 365 days.