--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a new Date object from an Ordinal Date, specified by year y and day-of-year d. d can be negative, in which it counts backwards from the end of the year. No year wraparound is performed, however. An invalid value for d results in an ArgumentError being raised. - !ruby/struct:SM::Flow::P body: y defaults to -4712, and d to 1; this is Julian Day Number day 0. - !ruby/struct:SM::Flow::P body: sg specifies the Day of Calendar Reform. full_name: Date::ordinal is_singleton: true name: ordinal params: (y=-4712, d=1, sg=ITALY) visibility: public