查看网站首页
查看网站首页
查看 sitemap.xml
✏️ 正在编辑: new-c.yaml
路径:
/opt/alt/ruby18/share/ri/1.8/system/Date/new-c.yaml
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "<b>NOTE</b> this is the documentation for the method new!(). If you are reading this as the documentation for new(), that is because rdoc doesn't fully support the aliasing of the initialize() method. new() is in fact an alias for #civil(): read the documentation for that method instead." - !ruby/struct:SM::Flow::P body: Create a new Date object. - !ruby/struct:SM::Flow::P body: <tt>ajd</tt> is the Astronomical Julian Day Number. <tt>of</tt> is the offset from UTC as a fraction of a day. Both default to 0. - !ruby/struct:SM::Flow::P body: <tt>sg</tt> specifies the Day of Calendar Reform to use for this Date object. - !ruby/struct:SM::Flow::P body: Using one of the factory methods such as Date::civil is generally easier and safer. full_name: Date::new is_singleton: true name: new params: (ajd=0, of=0, sg=ITALY) visibility: public
💾 保存文件
← 返回文件管理器