/// Construct a transition rule day represented by a zero-based Julian day in `[0, 365]`, taking occasional Feb 29 into account
Construct a transition rule day represented by a zero-based Julian day in `[0, 365]`, taking occasional Feb 29 into account
Construct a transition rule day represented by a zero - based Julian day in ` [ 0 365 ] ` taking occasional Feb 29 into account
fn julian_0(julian_day_0: u16) -> Result<Self, Error> {
        if julian_day_0 > 365 {
            return Err(Error::TransitionRule("invalid rule day julian day"));
        }
        Ok(RuleDay::Julian0WithLeap(julian_day_0))
    }
fn julian_0 ( julian_day_0 : u16 ) -> Result < Self , Error > { if julian_day_0 > 365 { return Err ( Error :: TransitionRule ( " " ) ) ; } Ok ( RuleDay :: Julian0WithLeap ( julian_day_0 ) ) }
Construct a transition rule day represented by a zero-based Julian day in `[0, 365]`, taking occasional Feb 29 into account
Construct a transition rule day represented by a zero - based Julian day in ` [ 0 365 ] ` taking occasional Feb 29 into account
julian_day_0
u16