method
julian_leap?
v2_2_9 -
Show latest stable
- Class:
Date
julian_leap?(p1)public
Returns true if the given year is a leap year of the proleptic Julian calendar.
Date.julian_leap?(1900) #=> true Date.julian_leap?(1901) #=> false
julian_leap?(p1)Returns true if the given year is a leap year of the proleptic Julian calendar.
Date.julian_leap?(1900) #=> true Date.julian_leap?(1901) #=> false