chrono::offset::local::tz_info::rule

Function is_leap_year

Source
pub(crate) const fn is_leap_year(year: i32) -> bool
Expand description

Check if a year is a leap year