jiff::civil::date

Function iso_week_start_from_year

Source
fn iso_week_start_from_year(
    year: impl RInto<ri16<-9999, 9999>>,
) -> ri32<{ _ }, { _ }>
Expand description

Returns the Unix epoch day corresponding to the first day in the ISO 8601 week year given.

Ref: http://howardhinnant.github.io/date_algorithms.html