Function months_to_offset
pub(crate) fn months_to_offset(months: i32) -> u32Expand description
Converts a non-negative span in months to u32, for chrono’s Months.
§Panics
Panics if months is negative. Every caller has already branched on the
sign and passes the magnitude.