HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Ruby27-x64/lib/ruby/gems/2.7.0/doc/activesupport-7.0.4.2/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