method
commercial_to_jd
ruby latest stable - Class:
Date
commercial_to_jd(y, w, d, ns=GREGORIAN)public
Convert a Commercial Date 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 Date to convert. sg specifies the Day of Calendar Reform.