查看网站首页
查看网站首页
查看 sitemap.xml
✏️ 正在编辑: strptime-c.yaml
路径:
/opt/alt/ruby18/share/ri/1.8/system/DateTime/strptime-c.yaml
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create a new DateTime object by parsing from a String according to a specified format. - !ruby/struct:SM::Flow::P body: <tt>str</tt> is a String holding a date-time representation. <tt>fmt</tt> is the format that the date-time is in. See date/format.rb for details on supported formats. - !ruby/struct:SM::Flow::P body: The default <tt>str</tt> is '-4712-01-01T00:00:00+00:00', and the default <tt>fmt</tt> is '%FT%T%z'. This gives midnight on Julian Day Number day 0. - !ruby/struct:SM::Flow::P body: <tt>sg</tt> specifies the Day of Calendar Reform. - !ruby/struct:SM::Flow::P body: An ArgumentError will be raised if <tt>str</tt> cannot be parsed. full_name: DateTime::strptime is_singleton: true name: strptime params: (str='-4712-01-01T00:00:00+00:00', fmt='%FT%T%z', sg=ITALY) visibility: public
💾 保存文件
← 返回文件管理器