Function days_to_offset
pub(crate) fn days_to_offset(days: i64) -> u64Expand description
Converts a non-negative day count to u64, for chrono’s Days.
§Panics
Panics if days is negative. Every caller has already branched on the sign
and passes the magnitude.