Skip to main content

leap_ordinal_to_month_day

Function leap_ordinal_to_month_day 

Source
pub(crate) const fn leap_ordinal_to_month_day(
    leap: bool,
    ordinal: u16,
) -> (Month, u8)
Expand description

Given whether a year is a leap year and the ordinal day, return the month and day of the month.