Date.valid_ordinal?(year, yday[, start=Date::ITALY]) â bool
Class Public methods
Returns true if the given ordinal date is valid, and false if not.
Date.valid_ordinal?(2001,34) #=> true Date.valid_ordinal?(2001,366) #=> false
See also jd and ordinal.
Please login to continue.