Current File : //proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Date/civil-c.yaml |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Create a new Date object for the Civil Date specified by year <tt>y</tt>, month <tt>m</tt>, and day-of-month <tt>d</tt>.
- !ruby/struct:SM::Flow::P
body: <tt>m</tt> and <tt>d</tt> 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
- !ruby/struct:SM::Flow::P
body: <tt>y</tt> defaults to -4712, <tt>m</tt> to 1, and <tt>d</tt> to 1; this is Julian Day Number day 0.
- !ruby/struct:SM::Flow::P
body: <tt>sg</tt> specifies the Day of Calendar Reform.
full_name: Date::civil
is_singleton: true
name: civil
params: (y=-4712, m=1, d=1, sg=ITALY)
visibility: public