Flowdock
civil(y=-4712, m=1, d=1, sg=ITALY) public

Create a new Date object for the Civil <a href="/ruby/Date">Date</a> specified by year y, month m, and day-of-month d.

m and d can be negative, in which case they count backwards from the end of the year and the end of the month respectively. No wraparound is performed, however, and invalid values cause an ArgumentError to be raised. can be negative

y defaults to -4712, m to 1, and d to 1; this is Julian Day Number day 0.

sg specifies the Day of Calendar Reform.

Show source
Register or log in to add new notes.