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/ruby-2.6.8/doc/activesupport-6.1.4.1/ri/ActiveSupport/TimeWithZone/change-i.ri
U:RDoc::AnyMethod[iI"change:ETI"'ActiveSupport::TimeWithZone#change;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"XReturns a new +ActiveSupport::TimeWithZone+ where one or more of the elements have ;TI"Zbeen changed according to the +options+ parameter. The time options (<tt>:hour</tt>, ;TI"V<tt>:min</tt>, <tt>:sec</tt>, <tt>:usec</tt>, <tt>:nsec</tt>) reset cascadingly, ;TI"Xso if only the hour is passed, then minute, sec, usec and nsec is set to 0. If the ;TI"Shour and minute is passed, then sec, usec and nsec is set to 0. The +options+ ;TI"Uparameter takes a hash with any of these keys: <tt>:year</tt>, <tt>:month</tt>, ;TI"R<tt>:day</tt>, <tt>:hour</tt>, <tt>:min</tt>, <tt>:sec</tt>, <tt>:usec</tt>, ;TI"R<tt>:nsec</tt>, <tt>:offset</tt>, <tt>:zone</tt>. Pass either <tt>:usec</tt> ;TI"Kor <tt>:nsec</tt>, not both. Similarly, pass either <tt>:zone</tt> or ;TI" <tt>:offset</tt>, not both.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim;	[I"Tt = Time.zone.now          # => Fri, 14 Apr 2017 11:45:15.116992711 EST -05:00
;TI"Tt.change(year: 2020)       # => Tue, 14 Apr 2020 11:45:15.116992711 EST -05:00
;TI"Tt.change(hour: 12)         # => Fri, 14 Apr 2017 12:00:00.116992711 EST -05:00
;TI"Tt.change(min: 30)          # => Fri, 14 Apr 2017 11:30:00.116992711 EST -05:00
;TI"Tt.change(offset: "-10:00") # => Fri, 14 Apr 2017 11:45:15.116992711 HST -10:00
;TI"St.change(zone: "Hawaii")   # => Fri, 14 Apr 2017 11:45:15.116992711 HST -10:00;T:@format0:
@fileI")lib/active_support/time_with_zone.rb;T:0@omit_headings_from_table_of_contents_below000[I"(options);T@ FI"TimeWithZone;TcRDoc::NormalClass00