fn from_of(year: i32, of: Of) -> Option<NaiveDate> {
        if year >= MIN_YEAR && year <= MAX_YEAR && of.valid() {
            let Of(of) = of;
            Some(NaiveDate { ymdf: (year << 13) | (of as DateImpl) })
        } else {
            None
        }
    }
/// Makes a new `NaiveDate` from year and packed ordinal-flags, with a verification.
Makes a new `NaiveDate` from year and packed ordinal-flags, with a verification.
Makes a new ` NaiveDate ` from year and packed ordinal - flags with a verification .
fn from_of(year: i32, of: Of) -> Option<NaiveDate> {
        if year >= MIN_YEAR && year <= MAX_YEAR && of.valid() {
            let Of(of) = of;
            Some(NaiveDate { ymdf: (year << 13) | (of as DateImpl) })
        } else {
            None
        }
    }
fn from_of ( year : i32 , of : Of ) -> Option < NaiveDate > { if year >= MIN_YEAR && year <= MAX_YEAR && of . valid ( ) { let Of ( of ) = of ; Some ( NaiveDate { ymdf : ( year << 13 ) | ( of as DateImpl ) } ) } else { None } }
Makes a new `NaiveDate` from year and packed ordinal-flags, with a verification.
Makes a new ` NaiveDate ` from year and packed ordinal - flags with a verification .
year
i32
of
Of
year
i32
of
Of