Astro::Date::Julian
Inherits Struct < Value < Object
Constants
ASTRO_FIRST = 4716
DAYS_IN_MONTH = 30.6001
DAYS_IN_YEAR = 365.25
FIRST = -4712
Constructors
new(year : Int32, mon : Int32, day, hour = 0, min = 0, sec = 0)
SourceClass methods
date_from_day(year : Int32, day : Int32 | Float32 | Float64)
Sourceday_of_week(jd : JD) : DayOfWeek
Sourceday_of_year(leap : Bool, mon : Int32, day : Int32 | Float32 | Float64)
Sourceday_of_year(year, mon, day)
Sourceday_of_year(jd : JD) : Int32
Sourceleap?(year)
Sourcezero(year)
SourceInstance methods
+(other : JD) : self
Source-(other : Julian) : JD
Sourceday
Sourceday=(day : Int32 | Float32 | Float64)
Sourceday_of_year
Sourcemon
Sourcemon=(mon : Int32)
Sourceyear
Sourceyear=(year : Int32)
Sourcezero
Getting the Julian Day JD0 (January 0.0) of a Gregorian given year (the same as December 31.0 of the preceding year)