Skip to main content

latest_available_year

Function latest_available_year 

Source
pub fn latest_available_year(today: NaiveDate) -> Year
Expand description

The most recent event that has started on the given date.

Advent of Code begins on 1 December, so before December the current year’s event does not exist yet.