--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Create a new DateTime object corresponding to the specified Commercial Date and hour h, minute min, second s.
- !ruby/struct:SM::Flow::P
body: The 24-hour clock is used. Negative values of h, min, and sec are treating as counting backwards from the end of the next larger unit (e.g. a min of -2 is treated as 58). No wraparound is performed. If an invalid time portion is specified, an ArgumentError is raised.
- !ruby/struct:SM::Flow::P
body: of is the offset from UTC as a fraction of a day (defaults to 0). sg specifies the Day of Calendar Reform.
- !ruby/struct:SM::Flow::P
body: y defaults to 1582, w to 41, and d to 5; this is the Day of Calendar Reform for Italy and the Catholic countries. The time values default to 0.
full_name: DateTime::commercial
is_singleton: true
name: commercial
params: (y=1582, w=41, d=5, h=0, min=0, s=0, of=0, sg=ITALY)
visibility: public