PHP 8.2.31
Preview: parse-c.yaml Size: 960 B
/proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/DateTime/parse-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, without specifying the format.
- !ruby/struct:SM::Flow::P 
  body: "<tt>str</tt> is a String holding a date-time representation. <tt>comp</tt> specifies whether to interpret 2-digit years as 19XX (&gt;= 69) or 20XX (&lt; 69); the default is not to. The method will attempt to parse a date-time from the String using various heuristics; see #_parse in date/format.rb for more details. If parsing fails, an ArgumentError will be raised."
- !ruby/struct:SM::Flow::P 
  body: The default <tt>str</tt> is '-4712-01-01T00:00:00+00:00'; this is Julian Day Number day 0.
- !ruby/struct:SM::Flow::P 
  body: <tt>sg</tt> specifies the Day of Calendar Reform.
full_name: DateTime::parse
is_singleton: true
name: parse
params: (str='-4712-01-01T00:00:00+00:00', comp=false, sg=ITALY)
visibility: public

Directory Contents

Dirs: 0 × Files: 10

Name Size Perms Modified Actions
2.49 KB lrw-r--r-- 2023-07-26 13:47:08
Edit Download
1.03 KB lrw-r--r-- 2023-07-26 13:47:08
Edit Download
1.08 KB lrw-r--r-- 2023-07-26 13:47:08
Edit Download
955 B lrw-r--r-- 2023-07-26 13:47:08
Edit Download
1.01 KB lrw-r--r-- 2023-07-26 13:47:08
Edit Download
960 B lrw-r--r-- 2023-07-26 13:47:08
Edit Download
186 B lrw-r--r-- 2023-07-26 13:47:08
Edit Download
928 B lrw-r--r-- 2023-07-26 13:47:08
Edit Download
236 B lrw-r--r-- 2023-07-26 13:47:08
Edit Download
192 B lrw-r--r-- 2023-07-26 13:47:08
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).