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.5.9/doc/activesupport-6.1.4.1/ri/DateTime/change-i.ri
U:RDoc::AnyMethod[iI"change:ETI"DateTime#change;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"PReturns a new DateTime where one or more of the elements have been changed ;TI"Maccording to the +options+ parameter. The time options (<tt>:hour</tt>, ;TI"M<tt>:min</tt>, <tt>:sec</tt>) reset cascadingly, so if only the hour is ;TI"Ppassed, then minute and sec is set to 0. If the hour and minute is passed, ;TI"Rthen sec is set to 0. The +options+ parameter takes a hash with any of these ;TI"Kkeys: <tt>:year</tt>, <tt>:month</tt>, <tt>:day</tt>, <tt>:hour</tt>, ;TI"E<tt>:min</tt>, <tt>:sec</tt>, <tt>:offset</tt>, <tt>:start</tt>.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim;	[I"oDateTime.new(2012, 8, 29, 22, 35, 0).change(day: 1)              # => DateTime.new(2012, 8, 1, 22, 35, 0)
;TI"oDateTime.new(2012, 8, 29, 22, 35, 0).change(year: 1981, day: 1)  # => DateTime.new(1981, 8, 1, 22, 35, 0)
;TI"mDateTime.new(2012, 8, 29, 22, 35, 0).change(year: 1981, hour: 0) # => DateTime.new(1981, 8, 29, 0, 0, 0);T:@format0:
@fileI":lib/active_support/core_ext/date_time/calculations.rb;T:0@omit_headings_from_table_of_contents_below000[I"(options);T@FI"
DateTime;TcRDoc::NormalClass00