HEX
Server: Apache
System: Linux s198.coreserver.jp 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: nagasaki (10062)
PHP: 7.1.33
Disabled: NONE
Upload Files
File: //usr/local/rvm/gems/default/doc/activesupport-6.1.4.1/ri/ActiveSupport/TimeZone/strptime-i.ri
U:RDoc::AnyMethod[iI"
strptime:ETI"%ActiveSupport::TimeZone#strptime;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"SParses +str+ according to +format+ and returns an ActiveSupport::TimeWithZone.;To:RDoc::Markup::BlankLineo;
;	[	I";Assumes that +str+ is a time in the time zone +self+, ;TI"5unless +format+ includes an explicit time zone. ;TI"-(This is the same behavior as +parse+.) ;TI"JIn either case, the returned TimeWithZone has the timezone of +self+.;T@o:RDoc::Markup::Verbatim;	[I":Time.zone = 'Hawaii'                   # => "Hawaii"
;TI"nTime.zone.strptime('1999-12-31 14:00:00', '%Y-%m-%d %H:%M:%S') # => Fri, 31 Dec 1999 14:00:00 HST -10:00
;T:@format0o;
;	[I"MIf upper components are missing from the string, they are supplied from ;TI"TimeZone#now:;T@o;;	[I"ZTime.zone.now                              # => Fri, 31 Dec 1999 14:00:00 HST -10:00
;TI"ZTime.zone.strptime('22:30:00', '%H:%M:%S') # => Fri, 31 Dec 1999 22:30:00 HST -10:00
;T;
0o;
;	[I"IHowever, if the date component is not provided, but any other upper ;TI"Fcomponents are supplied, then the day of the month defaults to 1:;T@o;;	[I"VTime.zone.strptime('Mar 2000', '%b %Y') # => Wed, 01 Mar 2000 00:00:00 HST -10:00;T;
0:
@fileI"+lib/active_support/values/time_zone.rb;T:0@omit_headings_from_table_of_contents_below000[I"(str, format, now = now());T@(FI"
TimeZone;TcRDoc::NormalClass00