D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Time
/
Filename :
iso8601-i.ri
back
Copy
U:RDoc::AnyMethod[iI"iso8601:ETI"Time#iso8601;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"NParses +time+ as a dateTime defined by the XML Schema and converts it to ;TI"Na Time object. The format is a restricted version of the format defined ;TI"by ISO 8601.;To:RDoc::Markup::BlankLine o; ; [I"NArgumentError is raised if +time+ is not compliant with the format or if ;TI"8the Time class cannot represent the specified time.;T@o; ; [I"8See #xmlschema for more information on this format.;T@o:RDoc::Markup::Verbatim; [ I"require 'time' ;TI" ;TI"1Time.xmlschema("2011-10-05T22:26:12-04:00") ;TI"##=> 2011-10-05 22:26:12-04:00 ;T:@format0o; ; [I"0You must require 'time' to use this method.;T: @fileI"lib/time.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(fraction_digits=0);T@!FI" Time;TcRDoc::NormalClass0[@$FI"xmlschema;T