Skip to content
instance method

Date#julian?

() -> bool
d.julian? → true or false

Returns true if the date is before the date of calendar reform, false otherwise:

Example
(Date.new(1582, 10, 15) - 1).julian? # => true
Date.new(1582, 10, 15).julian?       # => false
See also #julian #ld #jisx0301 #leap? also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0