U:RDoc::AnyMethod[iI" strptime:EFI"Time::strptime;TT: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"IParses +date+ using Date._strptime and converts it to a Time object.;To:RDoc::Markup::BlankLineo; ; [I"KIf a block is given, the year described in +date+ is converted by the ;TI"block. For example:;T@o:RDoc::Markup::Verbatim; [I"LTime.strptime(...) {|y| y < 100 ? (y >= 69 ? y + 1900 : y + 2000) : y} ;T: @format0o; ; [I"/Below is a list of the formatting options:;T@o:RDoc::Markup::List: @type: NOTE: @items[/o:RDoc::Markup::ListItem: @label[I"%a ;T; [o; ; [I")The abbreviated weekday name ("Sun");To;;[I"%A ;T; [o; ; [I"(The full weekday name ("Sunday");To;;[I"%b ;T; [o; ; [I"'The abbreviated month name ("Jan");To;;[I"%B ;T; [o; ; [I"'The full month name ("January");To;;[I"%c ;T; [o; ; [I"5The preferred local date and time representation;To;;[I"%C ;T; [o; ; [I"Century (20 in 2009);To;;[I"%d ;T; [o; ; [I"Day of the month (01..31);To;;[I"%D ;T; [o; ; [I"Date (%m/%d/%y);To;;[I"%e ;T; [o; ; [I",Day of the month, blank-padded ( 1..31);To;;[I"%F ;T; [o; ; [I"6Equivalent to %Y-%m-%d (the ISO 8601 date format);To;;[I"%h ;T; [o; ; [I"Equivalent to %b;To;;[I"%H ;T; [o; ; [I",Hour of the day, 24-hour clock (00..23);To;;[I"%I ;T; [o; ; [I",Hour of the day, 12-hour clock (01..12);To;;[I"%j ;T; [o; ; [I"Day of the year (001..366);To;;[I"%k ;T; [o; ; [I"/hour, 24-hour clock, blank-padded ( 0..23);To;;[I"%l ;T; [o; ; [I"/hour, 12-hour clock, blank-padded ( 0..12);To;;[I"%L ;T; [o; ; [I")Millisecond of the second (000..999);To;;[I"%m ;T; [o; ; [I"Month of the year (01..12);To;;[I"%M ;T; [o; ; [I" Minute of the hour (00..59);To;;[I"%n ;T; [o; ; [I"Newline (\n);To;;[I"%N ;T; [o; ; [I"@Fractional seconds digits, default is 9 digits (nanosecond);To;;;;[o;;[I" %3N ;T; [o; ; [I"millisecond (3 digits);To;;[I" %6N ;T; [o; ; [I"microsecond (6 digits);To;;[I" %9N ;T; [o; ; [I"nanosecond (9 digits);To;;[I"%p ;T; [o; ; [I"&Meridian indicator ("AM" or "PM");To;;[I"%P ;T; [o; ; [I"&Meridian indicator ("am" or "pm");To;;[I"%r ;T; [o; ; [I"(time, 12-hour (same as %I:%M:%S %p);To;;[I"%R ;T; [o; ; [I"time, 24-hour (%H:%M);To;;[I"%s ;T; [o; ; [I"5Number of seconds since 1970-01-01 00:00:00 UTC.;To;;[I"%S ;T; [o; ; [I""Second of the minute (00..60);To;;[I"%t ;T; [o; ; [I"Tab character (\t);To;;[I"%T ;T; [o; ; [I"time, 24-hour (%H:%M:%S);To;;[I"%u ;T; [o; ; [I"9Day of the week as a decimal, Monday being 1. (1..7);To;;[I"%U ;T; [o; ; [I"HWeek number of the current year, starting with the first Sunday as ;TI"-the first day of the first week (00..53);To;;[I"%v ;T; [o; ; [I"VMS date (%e-%b-%Y);To;;[I"%V ;T; [o; ; [I"7Week number of year according to ISO 8601 (01..53);To;;[I"%W ;T; [o; ; [I"GWeek number of the current year, starting with the first Monday ;TI"0as the first day of the first week (00..53);To;;[I"%w ;T; [o; ; [I"(Day of the week (Sunday is 0, 0..6);To;;[I"%x ;T; [o; ; [I"9Preferred representation for the date alone, no time;To;;[I"%X ;T; [o; ; [I"9Preferred representation for the time alone, no date;To;;[I"%y ;T; [o; ; [I"$Year without a century (00..99);To;;[I"%Y ;T; [o; ; [I"0Year which may include century, if provided;To;;[I"%z ;T; [o; ; [I"4Time zone as hour offset from UTC (e.g. +0900);To;;[I"%Z ;T; [o; ; [I"Time zone name;To;;[I"%% ;T; [o; ; [I"Literal "%" character;T: @fileI"lib/time.rb;T:0@omit_headings_from_table_of_contents_below00I" year;T[I"!(date, format, now=self.now);T@UFI" Time;TcRDoc::NormalClass00