--- !ruby/object:RI::ClassDescription 
attributes: 
- !ruby/object:RI::Attribute 
  comment: 
  name: time_zone
  rw: R
class_methods: 
- !ruby/object:RI::MethodSummary 
  name: new
comment: 
- !ruby/struct:SM::Flow::P 
  body: A Time-like class that can represent a time in any time zone. Necessary because standard Ruby Time instances are limited to UTC and the system's <tt>ENV['TZ']</tt> zone.
- !ruby/struct:SM::Flow::P 
  body: "You shouldn't ever need to create a TimeWithZone instance directly via <tt>new</tt> -- instead, Rails provides the methods <tt>local</tt>, <tt>parse</tt>, <tt>at</tt> and <tt>now</tt> on TimeZone instances, and <tt>in_time_zone</tt> on Time and DateTime instances, for a more user-friendly syntax. Examples:"
- !ruby/struct:SM::Flow::VERB 
  body: "  Time.zone = 'Eastern Time (US &amp; Canada)'        # =&gt; 'Eastern Time (US &amp; Canada)'\n  Time.zone.local(2007, 2, 10, 15, 30, 45)        # =&gt; Sat, 10 Feb 2007 15:30:45 EST -05:00\n  Time.zone.parse('2007-02-01 15:30:45')          # =&gt; Sat, 10 Feb 2007 15:30:45 EST -05:00\n  Time.zone.at(1170361845)                        # =&gt; Sat, 10 Feb 2007 15:30:45 EST -05:00\n  Time.zone.now                                   # =&gt; Sun, 18 May 2008 13:07:55 EDT -04:00\n  Time.utc(2007, 2, 10, 20, 30, 45).in_time_zone  # =&gt; Sat, 10 Feb 2007 15:30:45 EST -05:00\n"
- !ruby/struct:SM::Flow::P 
  body: See TimeZone and ActiveSupport::CoreExtensions::Time::Zones for further documentation for these methods.
- !ruby/struct:SM::Flow::P 
  body: "TimeWithZone instances implement the same API as Ruby Time instances, so that Time and TimeWithZone instances are interchangable. Examples:"
- !ruby/struct:SM::Flow::VERB 
  body: "  t = Time.zone.now                     # =&gt; Sun, 18 May 2008 13:27:25 EDT -04:00\n  t.hour                                # =&gt; 13\n  t.dst?                                # =&gt; true\n  t.utc_offset                          # =&gt; -14400\n  t.zone                                # =&gt; &quot;EDT&quot;\n  t.to_s(:rfc822)                       # =&gt; &quot;Sun, 18 May 2008 13:27:25 -0400&quot;\n  t + 1.day                             # =&gt; Mon, 19 May 2008 13:27:25 EDT -04:00\n  t.beginning_of_year                   # =&gt; Tue, 01 Jan 2008 00:00:00 EST -05:00\n  t &gt; Time.utc(1999)                    # =&gt; true\n  t.is_a?(Time)                         # =&gt; true\n  t.is_a?(ActiveSupport::TimeWithZone)  # =&gt; true\n"
constants: []

full_name: ActiveSupport::TimeWithZone
includes: 
- !ruby/object:RI::IncludedModule 
  name: Comparable
instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: +
- !ruby/object:RI::MethodSummary 
  name: "-"
- !ruby/object:RI::MethodSummary 
  name: <=>
- !ruby/object:RI::MethodSummary 
  name: acts_like_time?
- !ruby/object:RI::MethodSummary 
  name: advance
- !ruby/object:RI::MethodSummary 
  name: ago
- !ruby/object:RI::MethodSummary 
  name: as_json
- !ruby/object:RI::MethodSummary 
  name: between?
- !ruby/object:RI::MethodSummary 
  name: comparable_time
- !ruby/object:RI::MethodSummary 
  name: dst?
- !ruby/object:RI::MethodSummary 
  name: eql?
- !ruby/object:RI::MethodSummary 
  name: formatted_offset
- !ruby/object:RI::MethodSummary 
  name: freeze
- !ruby/object:RI::MethodSummary 
  name: future?
- !ruby/object:RI::MethodSummary 
  name: getgm
- !ruby/object:RI::MethodSummary 
  name: getlocal
- !ruby/object:RI::MethodSummary 
  name: getutc
- !ruby/object:RI::MethodSummary 
  name: gmt?
- !ruby/object:RI::MethodSummary 
  name: gmt_offset
- !ruby/object:RI::MethodSummary 
  name: gmtime
- !ruby/object:RI::MethodSummary 
  name: gmtoff
- !ruby/object:RI::MethodSummary 
  name: hash
- !ruby/object:RI::MethodSummary 
  name: httpdate
- !ruby/object:RI::MethodSummary 
  name: in_time_zone
- !ruby/object:RI::MethodSummary 
  name: inspect
- !ruby/object:RI::MethodSummary 
  name: is_a?
- !ruby/object:RI::MethodSummary 
  name: isdst
- !ruby/object:RI::MethodSummary 
  name: iso8601
- !ruby/object:RI::MethodSummary 
  name: kind_of?
- !ruby/object:RI::MethodSummary 
  name: localtime
- !ruby/object:RI::MethodSummary 
  name: marshal_dump
- !ruby/object:RI::MethodSummary 
  name: marshal_load
- !ruby/object:RI::MethodSummary 
  name: method_missing
- !ruby/object:RI::MethodSummary 
  name: past?
- !ruby/object:RI::MethodSummary 
  name: period
- !ruby/object:RI::MethodSummary 
  name: respond_to?
- !ruby/object:RI::MethodSummary 
  name: rfc2822
- !ruby/object:RI::MethodSummary 
  name: rfc822
- !ruby/object:RI::MethodSummary 
  name: since
- !ruby/object:RI::MethodSummary 
  name: strftime
- !ruby/object:RI::MethodSummary 
  name: time
- !ruby/object:RI::MethodSummary 
  name: to_a
- !ruby/object:RI::MethodSummary 
  name: to_datetime
- !ruby/object:RI::MethodSummary 
  name: to_f
- !ruby/object:RI::MethodSummary 
  name: to_formatted_s
- !ruby/object:RI::MethodSummary 
  name: to_i
- !ruby/object:RI::MethodSummary 
  name: to_s
- !ruby/object:RI::MethodSummary 
  name: to_time
- !ruby/object:RI::MethodSummary 
  name: to_yaml
- !ruby/object:RI::MethodSummary 
  name: today?
- !ruby/object:RI::MethodSummary 
  name: tv_sec
- !ruby/object:RI::MethodSummary 
  name: usec
- !ruby/object:RI::MethodSummary 
  name: utc
- !ruby/object:RI::MethodSummary 
  name: utc?
- !ruby/object:RI::MethodSummary 
  name: utc_offset
- !ruby/object:RI::MethodSummary 
  name: xmlschema
- !ruby/object:RI::MethodSummary 
  name: zone
name: TimeWithZone
superclass: Object
