File: //usr/local/rvm/gems/ruby-2.6.8/doc/activesupport-6.1.4.1/ri/ActiveSupport/TimeZone/parse-i.ri
U:RDoc::AnyMethod[iI"
parse:ETI""ActiveSupport::TimeZone#parse;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"OMethod for creating new ActiveSupport::TimeWithZone instance in time zone ;TI""of +self+ from parsed string.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I":Time.zone = 'Hawaii' # => "Hawaii"
;TI"VTime.zone.parse('1999-12-31 14:00:00') # => 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"KTime.zone.now # => Fri, 31 Dec 1999 14:00:00 HST -10:00
;TI"KTime.zone.parse('22:30:00') # => 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"KTime.zone.parse('Mar 2000') # => Wed, 01 Mar 2000 00:00:00 HST -10:00
;T;
0o;
; [I"FIf the string is invalid then an +ArgumentError+ could be raised.;T:
@fileI"+lib/active_support/values/time_zone.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(str, now = now());T@&FI"
TimeZone;TcRDoc::NormalClass00