method

jd_to_commercial

v1_8_6_287 - Show latest stable - Class: Date
jd_to_commercial(jd, sg=GREGORIAN)
public

Convert a Julian Day Number to a Commercial <a href="/ruby/Date">Date</a>

jd is the Julian Day Number to convert. sg specifies the Day of Calendar Reform.

Returns the corresponding Commercial <a href="/ruby/Date">Date</a> as [commercial_year, week_of_year, day_of_week]