ÿØÿà JFIF    ÿÛ „ ( %!1!%*+...983,7(-.- now-c.ri000064400000001022152405351440006121 0ustar00U:RDoc::AnyMethod[iI"now:ETI"DateTime::now;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I":Creates a date-time object denoting the present time.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"MDateTime.now #=> #;T: @format0: @fileI"ext/date/date_core.c;T:0@omit_headings_from_table_of_contents_below0I"5DateTime.now([start=Date::ITALY]) -> datetime ;T0[I"(p1 = v1);T@FI" DateTime;TcRDoc::NormalClass00strptime-c.ri000064400000003530152405351440007173 0ustar00U:RDoc::AnyMethod[iI" strptime:ETI"DateTime::strptime;TT: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"EParses the given representation of date and time with the given ;TI"Etemplate, and creates a date object. strptime does not support ;TI"6specification of flags and width unlike strftime.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"KDateTime.strptime('2001-02-03T04:05:06+07:00', '%Y-%m-%dT%H:%M:%S%z') ;TI"N #=> # ;TI"IDateTime.strptime('03-02-2001 04:05:06 PM', '%d-%m-%Y %I:%M:%S %p') ;TI"N #=> # ;TI"LDateTime.strptime('2001-W05-6T04:05:06+07:00', '%G-W%V-%uT%H:%M:%S%z') ;TI"N #=> # ;TI"HDateTime.strptime('2001 04 6 04 05 06 +7', '%Y %U %w %H %M %S %z') ;TI"N #=> # ;TI"HDateTime.strptime('2001 05 6 04 05 06 +7', '%Y %W %u %H %M %S %z') ;TI"N #=> # ;TI"#DateTime.strptime('-1', '%s') ;TI"N #=> # ;TI"&DateTime.strptime('-1000', '%Q') ;TI"N #=> # ;TI";DateTime.strptime('sat3feb014pm+7', '%a%d%b%y%H%p%z') ;TI"N #=> # ;T: @format0o; ; [I"'See also strptime(3) and strftime.;T: @fileI"ext/date/date_core.c;T:0@omit_headings_from_table_of_contents_below0I"oDateTime.strptime([string='-4712-01-01T00:00:00+00:00'[, format='%FT%T%z'[ ,start=ITALY]]]) -> datetime ;T0[I" (p1 = v1, p2 = v2, p3 = v3);T@&FI" DateTime;TcRDoc::NormalClass00cdesc-DateTime.ri000064400000002123152405351440007654 0ustar00U:RDoc::NormalClass[iI" DateTime:ET@I" Date;To:RDoc::Markup::Document: @parts[o;;[o:RDoc::Markup::Paragraph;[I" datetime;To:RDoc::Markup::BlankLine: @fileI"ext/date/date_core.c;T:0@omit_headings_from_table_of_contents_below0o;;[o; ;[I"+DateTime serialization/deserialization;T; I"'ext/json/lib/json/add/date_time.rb;T; 0; 0; 0[[[[[I" class;T[[: public[[I"_strptime;TI"ext/date/date_core.c;T[I" civil;T@#[I"commercial;T@#[I" httpdate;T@#[I" iso8601;T@#[I"jd;T@#[I" jisx0301;T@#[I"json_create;FI"'ext/json/lib/json/add/date_time.rb;T[I"new;T@#[I"now;T@#[I" ordinal;T@#[I" parse;T@#[I" rfc2822;T@#[I" rfc3339;T@#[I" rfc822;T@#[I" strptime;T@#[I"xmlschema;T@#[:protected[[: private[[I" instance;T[[; [[I" as_json;F@2[I" iso8601;T@#[I" jisx0301;T@#[I" rfc3339;T@#[I" strftime;T@#[I" to_date;T@#[I"to_datetime;T@#[I" to_json;F@2[I" to_s;T@#[I" to_time;T@#[I"xmlschema;T@#[;[[;[[[U:RDoc::Context::Section[i0o;;[; 0; 0[@@@cRDoc::TopLevelxmlschema-i.ri000064400000001253152405351440007313 0ustar00U:RDoc::AnyMethod[iI"xmlschema:ETI"DateTime#xmlschema;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"CThis method is equivalent to strftime('%FT%T'). The optional ;TI"0argument n is length of fractional seconds.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"FDateTime.parse('2001-02-03T04:05:06.123456789+07:00').iso8601(9) ;TI"H #=> "2001-02-03T04:05:06.123456789+07:00";T: @format0: @fileI"ext/date/date_core.c;T:0@omit_headings_from_table_of_contents_below0I"Edt.iso8601([n=0]) -> string dt.xmlschema([n=0]) -> string ;T0[I"(p1 = v1);T@FI" DateTime;TcRDoc::NormalClass00to_date-i.ri000064400000000531152405351440006747 0ustar00U:RDoc::AnyMethod[iI" to_date:ETI"DateTime#to_date;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I".Returns a Date object which denotes self.;T: @fileI"ext/date/date_core.c;T:0@omit_headings_from_table_of_contents_below0I"dt.to_date -> date ;T0[I"();T@FI" DateTime;TcRDoc::NormalClass00xmlschema-c.ri000064400000001264152405351440007307 0ustar00U:RDoc::AnyMethod[iI"xmlschema:ETI"DateTime::xmlschema;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"ECreates a new Date object by parsing from a string according to ;TI"%some typical XML Schema formats.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"5DateTime.xmlschema('2001-02-03T04:05:06+07:00') ;TI"M #=> #;T: @format0: @fileI"ext/date/date_core.c;T:0@omit_headings_from_table_of_contents_below0I"YDateTime.xmlschema(string='-4712-01-01T00:00:00+00:00'[, start=ITALY]) -> datetime;T0[I"(p1 = v1, p2 = v2);T@FI" DateTime;TcRDoc::NormalClass00json_create-c.ri000064400000001027152405351440007617 0ustar00U:RDoc::AnyMethod[iI"json_create:EFI"DateTime::json_create;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"ODeserializes JSON string by converting year y, month m, ;TI"Lday d, hour H, minute M, second S, ;TI"Koffset of and Day of Calendar Reform sg to DateTime.;T: @fileI"'ext/json/lib/json/add/date_time.rb;T:0@omit_headings_from_table_of_contents_below000[I" (object);T@FI" DateTime;TcRDoc::NormalClass00jisx0301-i.ri000064400000001201152405351440006604 0ustar00U:RDoc::AnyMethod[iI" jisx0301:ETI"DateTime#jisx0301;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"GReturns a string in a JIS X 0301 format. The optional argument n ;TI"%is length of fractional seconds.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"GDateTime.parse('2001-02-03T04:05:06.123456789+07:00').jisx0301(9) ;TI"G #=> "H13.02.03T04:05:06.123456789+07:00";T: @format0: @fileI"ext/date/date_core.c;T:0@omit_headings_from_table_of_contents_below0I"$dt.jisx0301([n=0]) -> string ;T0[I"(p1 = v1);T@FI" DateTime;TcRDoc::NormalClass00rfc822-c.ri000064400000001261152405351440006331 0ustar00U:RDoc::AnyMethod[iI" rfc822:ETI"DateTime::rfc822;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"ECreates a new Date object by parsing from a string according to ;TI"#some typical RFC 2822 formats.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"8DateTime.rfc2822('Sat, 3 Feb 2001 04:05:06 +0700') ;TI"L #=> #;T: @format0: @fileI"ext/date/date_core.c;T:0@omit_headings_from_table_of_contents_below0I"\DateTime.rfc822(string='Mon, 1 Jan -4712 00:00:00 +0000'[, start=ITALY]) -> datetime;T0[I"(p1 = v1, p2 = v2);T@FI" DateTime;TcRDoc::NormalClass00ordinal-c.ri000064400000001640152405351440006754 0ustar00U:RDoc::AnyMethod[iI" ordinal:ETI"DateTime::ordinal;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"@Creates a date-time object denoting the given ordinal date.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [ I"NDateTime.ordinal(2001,34) #=> # ;TI"*DateTime.ordinal(2001,34,4,5,6,'+7') ;TI"N #=> # ;TI"2DateTime.ordinal(2001,-332,-20,-55,-54,'+7') ;TI"M #=> #;T: @format0: @fileI"ext/date/date_core.c;T:0@omit_headings_from_table_of_contents_below0I"DateTime.ordinal([year=-4712[, yday=1[, hour=0[, minute=0[, second=0[, offset=0[, start=Date::ITALY]]]]]]]) -> datetime ;T0[I"D(p1 = v1, p2 = v2, p3 = v3, p4 = v4, p5 = v5, p6 = v6, p7 = v7);T@FI" DateTime;TcRDoc::NormalClass00new-c.ri000064400000001647152405351440006124 0ustar00U:RDoc::AnyMethod[iI"new:ETI"DateTime::new;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"ACreates a date-time object denoting the given calendar date.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [ I"NDateTime.new(2001,2,3) #=> # ;TI"'DateTime.new(2001,2,3,4,5,6,'+7') ;TI"N #=> # ;TI"1DateTime.new(2001,-11,-26,-20,-55,-54,'+7') ;TI"M #=> #;T: @format0: @fileI"ext/date/date_core.c;T:0@omit_headings_from_table_of_contents_below0I"‚DateTime.new([year=-4712[, month=1[, mday=1[, hour=0[, minute=0[, second=0[, offset=0[, start=Date::ITALY]]]]]]]]) -> datetime;T0[I"M(p1 = v1, p2 = v2, p3 = v3, p4 = v4, p5 = v5, p6 = v6, p7 = v7, p8 = v8);T@FI" DateTime;TcRDoc::NormalClass00parse-c.ri000064400000002130152405351440006431 0ustar00U: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"@date object. This method does not function as a validator.;To:RDoc::Markup::BlankLineo; ; [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 #=> # ;TI",DateTime.parse('20010203T040506+0700') ;TI"N #=> # ;TI"0DateTime.parse('3rd Feb 2001 04:05:06 PM') ;TI"M #=> #;T: @format0: @fileI"ext/date/date_core.c;T:0@omit_headings_from_table_of_contents_below0I"cDateTime.parse(string='-4712-01-01T00:00:00+00:00'[, comp=true[, start=ITALY]]) -> datetime ;T0[I" (p1 = v1, p2 = v2, p3 = v3);T@FI" DateTime;TcRDoc::NormalClass00rfc3339-i.ri000064400000001203152405351440006421 0ustar00U:RDoc::AnyMethod[iI" rfc3339:ETI"DateTime#rfc3339;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"CThis method is equivalent to strftime('%FT%T'). The optional ;TI"0argument n is length of fractional seconds.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"FDateTime.parse('2001-02-03T04:05:06.123456789+07:00').rfc3339(9) ;TI"H #=> "2001-02-03T04:05:06.123456789+07:00";T: @format0: @fileI"ext/date/date_core.c;T:0@omit_headings_from_table_of_contents_below0I"#dt.rfc3339([n=0]) -> string ;T0[I" (*args);T@FI" DateTime;TcRDoc::NormalClass00to_datetime-i.ri000064400000000511152405351440007624 0ustar00U:RDoc::AnyMethod[iI"to_datetime:ETI"DateTime#to_datetime;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"Returns self.;T: @fileI"ext/date/date_core.c;T:0@omit_headings_from_table_of_contents_below0I"dt.to_datetime -> self ;T0[I"();T@FI" DateTime;TcRDoc::NormalClass00strftime-i.ri000064400000022731152405351440007173 0ustar00U:RDoc::AnyMethod[iI" strftime:ETI"DateTime#strftime;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Verbatim; [ªI"BFormats date according to the directives in the given format ;TI" string. ;TI"9The directives begins with a percent (%) character. ;TI"FAny text not listed as a directive will be passed through to the ;TI"output string. ;TI" ;TI"8The directive consists of a percent (%) character, ;TI"7zero or more flags, optional minimum field width, ;TI"2optional modifier and a conversion specifier ;TI"as follows. ;TI" ;TI"- % ;TI" ;TI" Flags: ;TI"( - don't pad a numerical output. ;TI"" _ use spaces for padding. ;TI"! 0 use zeros for padding. ;TI"$ ^ upcase the result string. ;TI" # change case. ;TI" : use colons for %z. ;TI" ;TI":The minimum field width specifies the minimum width. ;TI" ;TI""The modifier is "E" and "O". ;TI"They are ignored. ;TI" ;TI"Format directives: ;TI" ;TI" Date (Year, Month, Day): ;TI"E %Y - Year with century (can be negative, 4 digits at least) ;TI"6 -0001, 0000, 1995, 2009, 14292, etc. ;TI"3 %C - year / 100 (round down. 20 in 2009) ;TI"" %y - year % 100 (00..99) ;TI" ;TI"6 %m - Month of the year, zero-padded (01..12) ;TI", %_m blank-padded ( 1..12) ;TI"( %-m no-padded (1..12) ;TI"0 %B - The full month name (``January'') ;TI"/ %^B uppercased (``JANUARY'') ;TI"3 %b - The abbreviated month name (``Jan'') ;TI"+ %^b uppercased (``JAN'') ;TI" %h - Equivalent to %b ;TI" ;TI"5 %d - Day of the month, zero-padded (01..31) ;TI"( %-d no-padded (1..31) ;TI"6 %e - Day of the month, blank-padded ( 1..31) ;TI" ;TI") %j - Day of the year (001..366) ;TI" ;TI"/ Time (Hour, Minute, Second, Subsecond): ;TI"C %H - Hour of the day, 24-hour clock, zero-padded (00..23) ;TI"D %k - Hour of the day, 24-hour clock, blank-padded ( 0..23) ;TI"C %I - Hour of the day, 12-hour clock, zero-padded (01..12) ;TI"D %l - Hour of the day, 12-hour clock, blank-padded ( 1..12) ;TI"? %P - Meridian indicator, lowercase (``am'' or ``pm'') ;TI"? %p - Meridian indicator, uppercase (``AM'' or ``PM'') ;TI" ;TI"* %M - Minute of the hour (00..59) ;TI" ;TI", %S - Second of the minute (00..59) ;TI" ;TI"3 %L - Millisecond of the second (000..999) ;TI"J %N - Fractional seconds digits, default is 9 digits (nanosecond) ;TI"L %3N millisecond (3 digits) %15N femtosecond (15 digits) ;TI"L %6N microsecond (6 digits) %18N attosecond (18 digits) ;TI"L %9N nanosecond (9 digits) %21N zeptosecond (21 digits) ;TI"L %12N picosecond (12 digits) %24N yoctosecond (24 digits) ;TI" ;TI" Time zone: ;TI"H %z - Time zone as hour and minute offset from UTC (e.g. +0900) ;TI"R %:z - hour and minute offset from UTC with a colon (e.g. +09:00) ;TI"Q %::z - hour, minute and second offset from UTC (e.g. +09:00:00) ;TI"A %:::z - hour, minute and second offset from UTC ;TI"Q (e.g. +09, +09:30, +09:30:30) ;TI"L %Z - Time zone abbreviation name or something similar information. ;TI" ;TI" Weekday: ;TI"1 %A - The full weekday name (``Sunday'') ;TI". %^A uppercased (``SUNDAY'') ;TI"- %a - The abbreviated name (``Sun'') ;TI"+ %^a uppercased (``SUN'') ;TI"2 %u - Day of the week (Monday is 1, 1..7) ;TI"2 %w - Day of the week (Sunday is 0, 0..6) ;TI" ;TI"1 ISO 8601 week-based year and week number: ;TI"H The week 1 of YYYY starts with a Monday and includes YYYY-01-04. ;TI"J The days in the year before the first week are in the last week of ;TI" the previous year. ;TI"" %G - The week-based year ;TI"@ %g - The last 2 digits of the week-based year (00..99) ;TI": %V - Week number of the week-based year (01..53) ;TI" ;TI" Week number: ;TI"J The week 1 of YYYY starts with a Sunday or Monday (according to %U ;TI"J or %W). The days in the year before the first week are in week 0. ;TI"O %U - Week number of the year. The week starts with Sunday. (00..53) ;TI"O %W - Week number of the year. The week starts with Monday. (00..53) ;TI" ;TI"% Seconds since the Unix Epoch: ;TI"? %s - Number of seconds since 1970-01-01 00:00:00 UTC. ;TI"D %Q - Number of milliseconds since 1970-01-01 00:00:00 UTC. ;TI" ;TI" Literal string: ;TI"% %n - Newline character (\n) ;TI"! %t - Tab character (\t) ;TI"& %% - Literal ``%'' character ;TI" ;TI" Combination: ;TI"- %c - date and time (%a %b %e %T %Y) ;TI" %D - Date (%m/%d/%y) ;TI"2 %F - The ISO 8601 date format (%Y-%m-%d) ;TI"" %v - VMS date (%e-%b-%Y) ;TI" %x - Same as %D ;TI" %X - Same as %T ;TI") %r - 12-hour time (%I:%M:%S %p) ;TI"# %R - 24-hour time (%H:%M) ;TI"& %T - 24-hour time (%H:%M:%S) ;TI"0 %+ - date(1) (%a %b %e %H:%M:%S %Z %Y) ;TI" ;TI"OThis method is similar to strftime() function defined in ISO C and POSIX. ;TI"NSeveral directives (%a, %A, %b, %B, %c, %p, %r, %x, %X, %E*, %O* and %Z) ;TI"+are locale dependent in the function. ;TI"0However this method is locale independent. ;TI"MSo, the result may differ even if a same format string is used in other ;TI"systems such as C. ;TI"LIt is good practice to avoid %x and %X because there are corresponding ;TI"4locale independent representations, %D and %T. ;TI" ;TI"Examples: ;TI" ;TI"5 d = DateTime.new(2007,11,19,8,37,48,"-06:00") ;TI"O #=> # ;TI"G d.strftime("Printed on %m/%d/%Y") #=> "Printed on 11/19/2007" ;TI"< d.strftime("at %I:%M%p") #=> "at 08:37AM" ;TI" ;TI"Various ISO 8601 formats: ;TI"K %Y%m%d => 20071119 Calendar date (basic) ;TI"N %F => 2007-11-19 Calendar date (extended) ;TI"e %Y-%m => 2007-11 Calendar date, reduced accuracy, specific month ;TI"d %Y => 2007 Calendar date, reduced accuracy, specific year ;TI"g %C => 20 Calendar date, reduced accuracy, specific century ;TI"J %Y%j => 2007323 Ordinal date (basic) ;TI"M %Y-%j => 2007-323 Ordinal date (extended) ;TI"G %GW%V%u => 2007W471 Week date (basic) ;TI"J %G-W%V-%u => 2007-W47-1 Week date (extended) ;TI"h %GW%V => 2007W47 Week date, reduced accuracy, specific week (basic) ;TI"k %G-W%V => 2007-W47 Week date, reduced accuracy, specific week (extended) ;TI"H %H%M%S => 083748 Local time (basic) ;TI"K %T => 08:37:48 Local time (extended) ;TI"k %H%M => 0837 Local time, reduced accuracy, specific minute (basic) ;TI"n %H:%M => 08:37 Local time, reduced accuracy, specific minute (extended) ;TI"a %H => 08 Local time, reduced accuracy, specific hour ;TI"u %H%M%S,%L => 083748,000 Local time with decimal fraction, comma as decimal sign (basic) ;TI"x %T,%L => 08:37:48,000 Local time with decimal fraction, comma as decimal sign (extended) ;TI"y %H%M%S.%L => 083748.000 Local time with decimal fraction, full stop as decimal sign (basic) ;TI"| %T.%L => 08:37:48.000 Local time with decimal fraction, full stop as decimal sign (extended) ;TI"d %H%M%S%z => 083748-0600 Local time and the difference from UTC (basic) ;TI"g %T%:z => 08:37:48-06:00 Local time and the difference from UTC (extended) ;TI"d %Y%m%dT%H%M%S%z => 20071119T083748-0600 Date and time of day for calendar date (basic) ;TI"g %FT%T%:z => 2007-11-19T08:37:48-06:00 Date and time of day for calendar date (extended) ;TI"c %Y%jT%H%M%S%z => 2007323T083748-0600 Date and time of day for ordinal date (basic) ;TI"f %Y-%jT%T%:z => 2007-323T08:37:48-06:00 Date and time of day for ordinal date (extended) ;TI"` %GW%V%uT%H%M%S%z => 2007W471T083748-0600 Date and time of day for week date (basic) ;TI"c %G-W%V-%uT%T%:z => 2007-W47-1T08:37:48-06:00 Date and time of day for week date (extended) ;TI"Z %Y%m%dT%H%M => 20071119T0837 Calendar date and local time (basic) ;TI"] %FT%R => 2007-11-19T08:37 Calendar date and local time (extended) ;TI"Y %Y%jT%H%MZ => 2007323T0837Z Ordinal date and UTC of day (basic) ;TI"\ %Y-%jT%RZ => 2007-323T08:37Z Ordinal date and UTC of day (extended) ;TI"n %GW%V%uT%H%M%z => 2007W471T0837-0600 Week date and local time and difference from UTC (basic) ;TI"q %G-W%V-%uT%R%:z => 2007-W47-1T08:37-06:00 Week date and local time and difference from UTC (extended) ;T: @format0o:RDoc::Markup::Paragraph; [I"'See also strftime(3) and strptime.;T: @fileI"ext/date/date_core.c;T:0@omit_headings_from_table_of_contents_below0I"2dt.strftime([format='%FT%T%:z']) -> string ;T0[I" (*args);T@µFI" DateTime;TcRDoc::NormalClass00iso8601-i.ri000064400000001247152405351440006446 0ustar00U:RDoc::AnyMethod[iI" iso8601:ETI"DateTime#iso8601;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"CThis method is equivalent to strftime('%FT%T'). The optional ;TI"0argument n is length of fractional seconds.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"FDateTime.parse('2001-02-03T04:05:06.123456789+07:00').iso8601(9) ;TI"H #=> "2001-02-03T04:05:06.123456789+07:00";T: @format0: @fileI"ext/date/date_core.c;T:0@omit_headings_from_table_of_contents_below0I"Edt.iso8601([n=0]) -> string dt.xmlschema([n=0]) -> string ;T0[I"(p1 = v1);T@FI" DateTime;TcRDoc::NormalClass00as_json-i.ri000064400000000574152405351440006773 0ustar00U:RDoc::AnyMethod[iI" as_json:EFI"DateTime#as_json;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"OReturns a hash, that will be turned into a JSON object and represent this ;TI" object.;T: @fileI"'ext/json/lib/json/add/date_time.rb;T:0@omit_headings_from_table_of_contents_below000[I"(*);T@FI" DateTime;TcRDoc::NormalClass00to_json-i.ri000064400000001021152405351440006776 0ustar00U:RDoc::AnyMethod[iI" to_json:EFI"DateTime#to_json;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"QStores class name (DateTime) with Julian year y, month m, ;TI"Lday d, hour H, minute M, second S, ;TI"Moffset of and Day of Calendar Reform sg as JSON string;T: @fileI"'ext/json/lib/json/add/date_time.rb;T:0@omit_headings_from_table_of_contents_below000[I" (*args);T@FI" DateTime;TcRDoc::NormalClass00to_s-i.ri000064400000001076152405351440006301 0ustar00U:RDoc::AnyMethod[iI" to_s:ETI"DateTime#to_s;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"IReturns a string in an ISO 8601 format (This method doesn't use the ;TI"expanded representations).;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I",DateTime.new(2001,2,3,4,5,6,'-7').to_s ;TI"= #=> "2001-02-03T04:05:06-07:00";T: @format0: @fileI"ext/date/date_core.c;T:0@omit_headings_from_table_of_contents_below0I"dt.to_s -> string ;T0[I"();T@FI" DateTime;TcRDoc::NormalClass00jisx0301-c.ri000064400000001260152405351440006603 0ustar00U:RDoc::AnyMethod[iI" jisx0301:ETI"DateTime::jisx0301;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"ECreates a new Date object by parsing from a string according to ;TI"%some typical JIS X 0301 formats.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"3DateTime.jisx0301('H13.02.03T04:05:06+07:00') ;TI"M #=> #;T: @format0: @fileI"ext/date/date_core.c;T:0@omit_headings_from_table_of_contents_below0I"YDateTime.jisx0301(string='-4712-01-01T00:00:00+00:00'[, start=ITALY]) -> datetime ;T0[I"(p1 = v1, p2 = v2);T@FI" DateTime;TcRDoc::NormalClass00rfc3339-c.ri000064400000001253152405351440006420 0ustar00U:RDoc::AnyMethod[iI" rfc3339:ETI"DateTime::rfc3339;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"ECreates a new Date object by parsing from a string according to ;TI"#some typical RFC 3339 formats.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"3DateTime.rfc3339('2001-02-03T04:05:06+07:00') ;TI"M #=> #;T: @format0: @fileI"ext/date/date_core.c;T:0@omit_headings_from_table_of_contents_below0I"XDateTime.rfc3339(string='-4712-01-01T00:00:00+00:00'[, start=ITALY]) -> datetime ;T0[I"(p1 = v1, p2 = v2);T@FI" DateTime;TcRDoc::NormalClass00_strptime-c.ri000064400000001226152405351440007332 0ustar00U:RDoc::AnyMethod[iI"_strptime:ETI"DateTime::_strptime;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"EParses the given representation of date and time with the given ;TI"Ftemplate, and returns a hash of parsed elements. _strptime does ;TI"Bnot support specification of flags and width unlike strftime.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"'See also strptime(3) and strftime.;T: @format0: @fileI"ext/date/date_core.c;T:0@omit_headings_from_table_of_contents_below0I">DateTime._strptime(string[, format='%FT%T%z']) -> hash ;T0[I" (*args);T@FI" DateTime;TcRDoc::NormalClass00httpdate-c.ri000064400000001256152405351440007144 0ustar00U:RDoc::AnyMethod[iI" httpdate:ETI"DateTime::httpdate;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"ECreates a new Date object by parsing from a string according to ;TI"some RFC 2616 format.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"8DateTime.httpdate('Sat, 03 Feb 2001 04:05:06 GMT') ;TI"M #=> #;T: @format0: @fileI"ext/date/date_core.c;T:0@omit_headings_from_table_of_contents_below0I"]DateTime.httpdate(string='Mon, 01 Jan -4712 00:00:00 GMT'[, start=ITALY]) -> datetime ;T0[I"(p1 = v1, p2 = v2);T@FI" DateTime;TcRDoc::NormalClass00jd-c.ri000064400000001526152405351440005724 0ustar00U:RDoc::AnyMethod[iI"jd:ETI"DateTime::jd;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"GCreates a datetime object denoting the given chronological Julian ;TI"day number.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [ I"NDateTime.jd(2451944) #=> # ;TI"NDateTime.jd(2451945) #=> # ;TI""DateTime.jd(Rational('0.5')) ;TI"N #=> #;T: @format0: @fileI"ext/date/date_core.c;T:0@omit_headings_from_table_of_contents_below0I"jDateTime.jd([jd=0[, hour=0[, minute=0[, second=0[, offset=0[, start=Date::ITALY]]]]]]) -> datetime ;T0[I";(p1 = v1, p2 = v2, p3 = v3, p4 = v4, p5 = v5, p6 = v6);T@FI" DateTime;TcRDoc::NormalClass00commercial-c.ri000064400000001616152405351440007442 0ustar00U:RDoc::AnyMethod[iI"commercial:ETI"DateTime::commercial;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"=Creates a date-time object denoting the given week date.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [ I"NDateTime.commercial(2001) #=> # ;TI"NDateTime.commercial(2002) #=> # ;TI".DateTime.commercial(2001,5,6,4,5,6,'+7') ;TI"M #=> #;T: @format0: @fileI"ext/date/date_core.c;T:0@omit_headings_from_table_of_contents_below0I"‹DateTime.commercial([cwyear=-4712[, cweek=1[, cwday=1[, hour=0[, minute=0[, second=0[, offset=0[, start=Date::ITALY]]]]]]]]) -> datetime ;T0[I"M(p1 = v1, p2 = v2, p3 = v3, p4 = v4, p5 = v5, p6 = v6, p7 = v7, p8 = v8);T@FI" DateTime;TcRDoc::NormalClass00to_time-i.ri000064400000000531152405351440006770 0ustar00U:RDoc::AnyMethod[iI" to_time:ETI"DateTime#to_time;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I".Returns a Time object which denotes self.;T: @fileI"ext/date/date_core.c;T:0@omit_headings_from_table_of_contents_below0I"dt.to_time -> time ;T0[I"();T@FI" DateTime;TcRDoc::NormalClass00rfc2822-c.ri000064400000001263152405351440006415 0ustar00U:RDoc::AnyMethod[iI" rfc2822:ETI"DateTime::rfc2822;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"ECreates a new Date object by parsing from a string according to ;TI"#some typical RFC 2822 formats.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"8DateTime.rfc2822('Sat, 3 Feb 2001 04:05:06 +0700') ;TI"L #=> #;T: @format0: @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=ITALY]) -> datetime;T0[I"(p1 = v1, p2 = v2);T@FI" DateTime;TcRDoc::NormalClass00iso8601-c.ri000064400000001657152405351440006445 0ustar00U:RDoc::AnyMethod[iI" iso8601:ETI"DateTime::iso8601;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"ECreates a new Date object by parsing from a string according to ;TI"#some typical ISO 8601 formats.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [ I"3DateTime.iso8601('2001-02-03T04:05:06+07:00') ;TI"N #=> # ;TI".DateTime.iso8601('20010203T040506+0700') ;TI"N #=> # ;TI"3DateTime.iso8601('2001-W05-6T04:05:06+07:00') ;TI"M #=> #;T: @format0: @fileI"ext/date/date_core.c;T:0@omit_headings_from_table_of_contents_below0I"WDateTime.iso8601(string='-4712-01-01T00:00:00+00:00'[, start=ITALY]) -> datetime;T0[I"(p1 = v1, p2 = v2);T@FI" DateTime;TcRDoc::NormalClass00civil-c.ri000064400000001653152405351440006436 0ustar00U:RDoc::AnyMethod[iI" civil:ETI"DateTime::civil;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"ACreates a date-time object denoting the given calendar date.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [ I"NDateTime.new(2001,2,3) #=> # ;TI"'DateTime.new(2001,2,3,4,5,6,'+7') ;TI"N #=> # ;TI"1DateTime.new(2001,-11,-26,-20,-55,-54,'+7') ;TI"M #=> #;T: @format0: @fileI"ext/date/date_core.c;T:0@omit_headings_from_table_of_contents_below0I"‚DateTime.civil([year=-4712[, month=1[, mday=1[, hour=0[, minute=0[, second=0[, offset=0[, start=Date::ITALY]]]]]]]]) -> datetime;T0[I"M(p1 = v1, p2 = v2, p3 = v3, p4 = v4, p5 = v5, p6 = v6, p7 = v7, p8 = v8);T@FI" DateTime;TcRDoc::NormalClass00