/// Construct a transition rule day represented by a Julian day in `[1, 365]`, without taking occasional Feb 29 into account, which is not referenceable
Construct a transition rule day represented by a Julian day in `[1, 365]`, without taking occasional Feb 29 into account, which is not referenceable
Construct a transition rule day represented by a Julian day in ` [ 1 365 ] ` without taking occasional Feb 29 into account which is not referenceable
fn julian_1(julian_day_1: u16) -> Result<Self, Error> {
        if julian_day_1 < 1 || julian_day_1 > 365 {
            return Err(Error::TransitionRule("invalid rule day julian day"));
        }
        Ok(RuleDay::Julian1WithoutLeap(julian_day_1))
    }
fn julian_1 ( julian_day_1 : u16 ) -> Result < Self , Error > { if julian_day_1 < 1 || julian_day_1 > 365 { return Err ( Error :: TransitionRule ( " " ) ) ; } Ok ( RuleDay :: Julian1WithoutLeap ( julian_day_1 ) ) }
Construct a transition rule day represented by a Julian day in `[1, 365]`, without taking occasional Feb 29 into account, which is not referenceable
Construct a transition rule day represented by a Julian day in ` [ 1 365 ] ` without taking occasional Feb 29 into account which is not referenceable
julian_day_1
u16