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/default/doc/activesupport-6.1.4.1/ri/ActiveSupport/TimeWithZone/advance-i.ri
U:RDoc::AnyMethod[iI"advance:ETI"(ActiveSupport::TimeWithZone#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"Paccording to the proleptic Gregorian calendar. The result is returned as a ;TI"new TimeWithZone object.;To:RDoc::Markup::BlankLineo;
;	[I"BThe +options+ parameter takes a hash with any of these keys: ;TI"I<tt>:years</tt>, <tt>:months</tt>, <tt>:weeks</tt>, <tt>:days</tt>, ;TI";<tt>:hours</tt>, <tt>:minutes</tt>, <tt>:seconds</tt>.;T@o;
;	[I"MIf advancing by a value of variable length (i.e., years, weeks, months, ;TI"Kdays), move forward from #time, otherwise move forward from #utc, for ;TI"0accuracy when moving across DST boundaries.;T@o:RDoc::Markup::Verbatim;	[I"PTime.zone = 'Eastern Time (US & Canada)' # => 'Eastern Time (US & Canada)'
;TI"Mnow = Time.zone.now # => Sun, 02 Nov 2014 01:26:28.558049687 EDT -04:00
;TI"Qnow.advance(seconds: 1) # => Sun, 02 Nov 2014 01:26:29.558049687 EDT -04:00
;TI"Qnow.advance(minutes: 1) # => Sun, 02 Nov 2014 01:27:28.558049687 EDT -04:00
;TI"Qnow.advance(hours: 1)   # => Sun, 02 Nov 2014 01:26:28.558049687 EST -05:00
;TI"Qnow.advance(days: 1)    # => Mon, 03 Nov 2014 01:26:28.558049687 EST -05:00
;TI"Qnow.advance(weeks: 1)   # => Sun, 09 Nov 2014 01:26:28.558049687 EST -05:00
;TI"Qnow.advance(months: 1)  # => Tue, 02 Dec 2014 01:26:28.558049687 EST -05:00
;TI"Pnow.advance(years: 1)   # => Mon, 02 Nov 2015 01:26:28.558049687 EST -05: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