chrono
0.4.40
In chrono::
offset::
local::
tz_
info::
rule
Structs
AlternateTime
UtcDateTime
Enums
RuleDay
TransitionRule
Constants
DAYS_PER_100_YEARS
DAYS_PER_400_YEARS
DAYS_PER_4_YEARS
DAYS_PER_NORMAL_YEAR
DAY_IN_MONTHS_LEAP_YEAR_FROM_MARCH
MINUTES_PER_HOUR
MONTHS_PER_YEAR
NANOSECONDS_PER_SECOND
OFFSET_YEAR
SECONDS_PER_HOUR
SECONDS_PER_MINUTE
UNIX_OFFSET_SECS
Functions
days_since_unix_epoch
is_leap_year
parse_hhmmss
parse_name
parse_offset
parse_rule_time
parse_rule_time_extended
parse_signed_hhmmss
chrono
::
offset
::
local
::
tz_info
::
rule
Function
is_leap_year
Copy item path
Settings
Help
Summary
Source
pub(crate) const fn is_leap_year(year:
i32
) ->
bool
Expand description
Check if a year is a leap year