jiff::civil::iso_week_date

Function is_long_year

Source
fn is_long_year(year: ri16<-9999, 9999>) -> bool
Expand description

Returns true if the given ISO year is a “long” year or not.

A “long” year is a year with 53 weeks. Otherwise, it’s a “short” year with 52 weeks.