查看网站首页
查看网站首页
查看 sitemap.xml
✏️ 正在编辑: ordinal-c.yaml
路径:
/opt/alt/ruby18/share/ri/1.8/system/Date/ordinal-c.yaml
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
--- !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 <tt>y</tt> and day-of-year <tt>d</tt>. <tt>d</tt> can be negative, in which it counts backwards from the end of the year. No year wraparound is performed, however. An invalid value for <tt>d</tt> results in an ArgumentError being raised. - !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. - !ruby/struct:SM::Flow::P body: <tt>sg</tt> specifies the Day of Calendar Reform. full_name: Date::ordinal is_singleton: true name: ordinal params: (y=-4712, d=1, sg=ITALY) visibility: public
💾 保存文件
← 返回文件管理器