Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
DateTime
/
//opt/alt/ruby27/share/ri/system/DateTime/parse-c.ri
U:RDoc::AnyMethod[iI" parse:ETI"DateTime::parse;TT:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"EParses the given representation of date and time, and creates a ;TI"DDateTime object. This method does not function as a validator.;To:RDoc::Markup::BlankLine 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"DYou can stop this check by passing `limit: nil`, but note that ;TI"&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