D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
DateTime
/
Filename :
rfc822-c.ri
back
Copy
U:RDoc::AnyMethod[iI"rfc822:ETI"DateTime::rfc822;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"ICreates a new DateTime object by parsing from a string according to ;TI"#some typical RFC 2822 formats.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"8DateTime.rfc2822('Sat, 3 Feb 2001 04:05:06 +0700') ;TI"M #=> #<DateTime: 2001-02-03T04:05:06+07: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"�DateTime.rfc2822(string='Mon, 1 Jan -4712 00:00:00 +0000'[, start=Date::ITALY], limit: 128) -> datetime DateTime.rfc822(string='Mon, 1 Jan -4712 00:00:00 +0000'[, start=Date::ITALY], limit: 128) -> datetime ;T0[ I" (p1 = v1, p2 = v2, p3 = {});T@FI" DateTime;TcRDoc::NormalClass00