Function representable
pub(crate) fn representable(date: NaiveDate) -> PyResult<NaiveDate>Expand description
date, or a ValueError where it falls outside the years 1 to 9999 that
datetime.date holds — returned as it is, the conversion would panic.