Skip to main content

date_of_ordinal

Function date_of_ordinal 

pub(crate) fn date_of_ordinal(ordinal: i32) -> NaiveDate
Expand description

The date at a proleptic-Gregorian day number, for the trait’s default ordinal entries. An ordinal outside chrono’s range maps to NaiveDate::MIN, which every curve then reports as a pre-reference query.