method
commercial_to_jd
v1_8_6_287 -
Show latest stable
- Class:
Date
commercial_to_jd(y, w, d, ns=GREGORIAN)public
Convert a Commercial <a href="/ruby/Date">Date</a> to a Julian Day Number.
y, w, and d are the (commercial) year, week of the year, and day of the week of the Commercial <a href="/ruby/Date">Date</a> to convert. sg specifies the Day of Calendar Reform.