D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
DateTime
/
Filename :
ordinal-c.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a new DateTime object corresponding to the specified Ordinal Date and hour <tt>h</tt>, minute <tt>min</tt>, second <tt>s</tt>. - !ruby/struct:SM::Flow::P body: The 24-hour clock is used. Negative values of <tt>h</tt>, <tt>min</tt>, and <tt>sec</tt> are treating as counting backwards from the end of the next larger unit (e.g. a <tt>min</tt> 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: <tt>of</tt> is the offset from UTC as a fraction of a day (defaults to 0). <tt>sg</tt> specifies the Day of Calendar Reform. - !ruby/struct:SM::Flow::P body: <tt>y</tt> defaults to -4712, and <tt>d</tt> to 1; this is Julian Day Number day 0. The time values default to 0. full_name: DateTime::ordinal is_singleton: true name: ordinal params: (y=-4712, d=1, h=0, min=0, s=0, of=0, sg=ITALY) visibility: public