PATH:
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
DateTime
U:RDoc::AnyMethod[iI" parse:ETI"DateTime::parse;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"EParses the given representation of date and time, and creates a ;TI"DateTime object.;To:RDoc::Markup::BlankLine o; ; [ I"EThis method *does* *not* function as a validator. If the input ;TI"Istring does not match valid formats strictly, you may get a cryptic ;TI"Gresult. Should consider to use DateTime.strptime instead of this ;TI"method as possible.;T@o; ; [I"IIf the optional second argument is true and the detected year is in ;TI"+the range "00" to "99", makes it full.;T@o:RDoc::Markup::Verbatim; [I"1DateTime.parse('2001-02-03T04:05:06+07:00') ;TI"N #=> #<DateTime: 2001-02-03T04:05:06+07:00 ...> ;TI",DateTime.parse('20010203T040506+0700') ;TI"N #=> #<DateTime: 2001-02-03T04:05:06+07:00 ...> ;TI"0DateTime.parse('3rd Feb 2001 04:05:06 PM') ;TI"N #=> #<DateTime: 2001-02-03T16:05:06+00:00 ...> ;T:@format0o; ; [I"KRaise an ArgumentError when the string length is longer than _limit_. ;TI"JYou can stop this check by passing <code>limit: nil</code>, but note ;TI"+that it may take a long time to parse.;T: @fileI"ext/date/date_core.c;T:0@omit_headings_from_table_of_contents_below0I"uDateTime.parse(string='-4712-01-01T00:00:00+00:00'[, comp=true[, start=Date::ITALY]], limit: 128) -> datetime ;T0[ I")(p1 = v1, p2 = v2, p3 = v3, p4 = {});T@'FI" DateTime;TcRDoc::NormalClass00
[-] commercial-c.ri
[edit]
[-] minute-i.ri
[edit]
[-] jd-c.ri
[edit]
[-] to_s-i.ri
[edit]
[-] to_json-i.ri
[edit]
[-] strptime-c.ri
[edit]
[-] iso8601-i.ri
[edit]
[-] as_json-i.ri
[edit]
[-] rfc2822-c.ri
[edit]
[-] offset-i.ri
[edit]
[-] civil-c.ri
[edit]
[-] new-c.ri
[edit]
[-] second_fraction-i.ri
[edit]
[-] rfc3339-c.ri
[edit]
[-] strftime-i.ri
[edit]
[-] jisx0301-c.ri
[edit]
[-] json_create-c.ri
[edit]
[-] min-i.ri
[edit]
[-] now-c.ri
[edit]
[-] _strptime-c.ri
[edit]
[-] rfc822-c.ri
[edit]
[-] parse-c.ri
[edit]
[-] deconstruct_keys-i.ri
[edit]
[-] second-i.ri
[edit]
[-] xmlschema-i.ri
[edit]
[-] xmlschema-c.ri
[edit]
[+]
..
[-] new_offset-i.ri
[edit]
[-] rfc3339-i.ri
[edit]
[-] cdesc-DateTime.ri
[edit]
[-] jisx0301-i.ri
[edit]
[-] sec-i.ri
[edit]
[-] sec_fraction-i.ri
[edit]
[-] zone-i.ri
[edit]
[-] to_time-i.ri
[edit]
[-] to_datetime-i.ri
[edit]
[-] hour-i.ri
[edit]
[-] ordinal-c.ri
[edit]
[-] httpdate-c.ri
[edit]
[-] iso8601-c.ri
[edit]
[-] to_date-i.ri
[edit]