Constant chrono::naive::date::MIN_YEAR

source ·
pub(super) const MIN_YEAR: i32 = _; // -262_143i32
Expand description

MIN_YEAR is one year more than the type is capable of representing. Internally we may sometimes use the headroom, notably to handle cases where the offset of a DateTime constructed with NaiveDate::MIN pushes it beyond the valid, representable range.