File: //usr/local/rvm/gems/ruby-3.0.2/doc/activesupport-6.1.4.1/ri/Time/advance-i.ri
U:RDoc::AnyMethod[iI"advance:ETI"Time#advance;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [
I"PUses Date to provide precise Time calculations for years, months, and days ;TI"Laccording to the proleptic Gregorian calendar. The +options+ parameter ;TI"Mtakes a hash with any of these keys: <tt>:years</tt>, <tt>:months</tt>, ;TI"J<tt>:weeks</tt>, <tt>:days</tt>, <tt>:hours</tt>, <tt>:minutes</tt>, ;TI"<tt>:seconds</tt>.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [
I"XTime.new(2015, 8, 1, 14, 35, 0).advance(seconds: 1) # => 2015-08-01 14:35:01 -0700
;TI"XTime.new(2015, 8, 1, 14, 35, 0).advance(minutes: 1) # => 2015-08-01 14:36:00 -0700
;TI"XTime.new(2015, 8, 1, 14, 35, 0).advance(hours: 1) # => 2015-08-01 15:35:00 -0700
;TI"XTime.new(2015, 8, 1, 14, 35, 0).advance(days: 1) # => 2015-08-02 14:35:00 -0700
;TI"WTime.new(2015, 8, 1, 14, 35, 0).advance(weeks: 1) # => 2015-08-08 14:35:00 -0700;T:@format0:
@fileI"5lib/active_support/core_ext/time/calculations.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(options);T@FI" Time;TcRDoc::NormalClass00