--- !ruby/object:RI::ClassDescription 
attributes: 
- !ruby/object:RI::Attribute 
  comment: 
  name: name
  rw: R
class_methods: 
- !ruby/object:RI::MethodSummary 
  name: "[]"
- !ruby/object:RI::MethodSummary 
  name: all
- !ruby/object:RI::MethodSummary 
  name: new
- !ruby/object:RI::MethodSummary 
  name: new
- !ruby/object:RI::MethodSummary 
  name: us_zones
comment: 
- !ruby/struct:SM::Flow::P 
  body: "The TimeZone class serves as a wrapper around TZInfo::Timezone instances. It allows us to do the following:"
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: Limit the set of zones provided by TZInfo to a meaningful subset of 142 zones.
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: Retrieve and display zones with a friendlier name (e.g., &quot;Eastern Time (US &amp; Canada)&quot; instead of &quot;America/New_York&quot;).
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: Lazily load TZInfo::Timezone instances only when they're needed.
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: Create ActiveSupport::TimeWithZone instances via TimeZone's <tt>local</tt>, <tt>parse</tt>, <tt>at</tt> and <tt>now</tt> methods.
  type: :BULLET
- !ruby/struct:SM::Flow::P 
  body: "If you set <tt>config.time_zone</tt> in the Rails Initializer, you can access this TimeZone object via <tt>Time.zone</tt>:"
- !ruby/struct:SM::Flow::VERB 
  body: "  # environment.rb:\n  Rails::Initializer.run do |config|\n    config.time_zone = &quot;Eastern Time (US &amp; Canada)&quot;\n  end\n\n  Time.zone       # =&gt; #&lt;TimeZone:0x514834...&gt;\n  Time.zone.name  # =&gt; &quot;Eastern Time (US &amp; Canada)&quot;\n  Time.zone.now   # =&gt; Sun, 18 May 2008 14:30:44 EDT -04:00\n"
- !ruby/struct:SM::Flow::P 
  body: The version of TZInfo bundled with Active Support only includes the definitions necessary to support the zones defined by the TimeZone class. If you need to use zones that aren't defined by TimeZone, you'll need to install the TZInfo gem (if a recent version of the gem is installed locally, this will be used instead of the bundled version.)
constants: 
- !ruby/object:RI::Constant 
  comment: 
  - !ruby/struct:SM::Flow::P 
    body: Keys are Rails TimeZone names, values are TZInfo identifiers
  name: MAPPING
  value: "{       \"International Date Line West\" => \"Pacific/Midway\",       \"Midway Island\"                => \"Pacific/Midway\",       \"Samoa\"                        => \"Pacific/Pago_Pago\",       \"Hawaii\"                       => \"Pacific/Honolulu\",       \"Alaska\"                       => \"America/Juneau\",       \"Pacific Time (US & Canada)\"   => \"America/Los_Angeles\",       \"Tijuana\"                      => \"America/Tijuana\",       \"Mountain Time (US & Canada)\"  => \"America/Denver\",       \"Arizona\"                      => \"America/Phoenix\",       \"Chihuahua\"                    => \"America/Chihuahua\",       \"Mazatlan\"                     => \"America/Mazatlan\",       \"Central Time (US & Canada)\"   => \"America/Chicago\",       \"Saskatchewan\"                 => \"America/Regina\",       \"Guadalajara\"                  => \"America/Mexico_City\",       \"Mexico City\"                  => \"America/Mexico_City\",       \"Monterrey\"                    => \"America/Monterrey\",       \"Central America\"              => \"America/Guatemala\",       \"Eastern Time (US & Canada)\"   => \"America/New_York\",       \"Indiana (East)\"               => \"America/Indiana/Indianapolis\",       \"Bogota\"                       => \"America/Bogota\",       \"Lima\"                         => \"America/Lima\",       \"Quito\"                        => \"America/Lima\",       \"Atlantic Time (Canada)\"       => \"America/Halifax\",       \"Caracas\"                      => \"America/Caracas\",       \"La Paz\"                       => \"America/La_Paz\",       \"Santiago\"                     => \"America/Santiago\",       \"Newfoundland\"                 => \"America/St_Johns\",       \"Brasilia\"                     => \"America/Argentina/Buenos_Aires\",       \"Buenos Aires\"                 => \"America/Argentina/Buenos_Aires\",       \"Georgetown\"                   => \"America/Argentina/San_Juan\",       \"Greenland\"                    => \"America/Godthab\",       \"Mid-Atlantic\"                 => \"Atlantic/South_Georgia\",       \"Azores\"                       => \"Atlantic/Azores\",       \"Cape Verde Is.\"               => \"Atlantic/Cape_Verde\",       \"Dublin\"                       => \"Europe/Dublin\",       \"Edinburgh\"                    => \"Europe/Dublin\",       \"Lisbon\"                       => \"Europe/Lisbon\",       \"London\"                       => \"Europe/London\",       \"Casablanca\"                   => \"Africa/Casablanca\",       \"Monrovia\"                     => \"Africa/Monrovia\",       \"UTC\"                          => \"Etc/UTC\",       \"Belgrade\"                     => \"Europe/Belgrade\",       \"Bratislava\"                   => \"Europe/Bratislava\",       \"Budapest\"                     => \"Europe/Budapest\",       \"Ljubljana\"                    => \"Europe/Ljubljana\",       \"Prague\"                       => \"Europe/Prague\",       \"Sarajevo\"                     => \"Europe/Sarajevo\",       \"Skopje\"                       => \"Europe/Skopje\",       \"Warsaw\"                       => \"Europe/Warsaw\",       \"Zagreb\"                       => \"Europe/Zagreb\",       \"Brussels\"                     => \"Europe/Brussels\",       \"Copenhagen\"                   => \"Europe/Copenhagen\",       \"Madrid\"                       => \"Europe/Madrid\",       \"Paris\"                        => \"Europe/Paris\",       \"Amsterdam\"                    => \"Europe/Amsterdam\",       \"Berlin\"                       => \"Europe/Berlin\",       \"Bern\"                         => \"Europe/Berlin\",       \"Rome\"                         => \"Europe/Rome\",       \"Stockholm\"                    => \"Europe/Stockholm\",       \"Vienna\"                       => \"Europe/Vienna\",       \"West Central Africa\"          => \"Africa/Algiers\",       \"Bucharest\"                    => \"Europe/Bucharest\",       \"Cairo\"                        => \"Africa/Cairo\",       \"Helsinki\"                     => \"Europe/Helsinki\",       \"Kyev\"                         => \"Europe/Kiev\",       \"Riga\"                         => \"Europe/Riga\",       \"Sofia\"                        => \"Europe/Sofia\",       \"Tallinn\"                      => \"Europe/Tallinn\",       \"Vilnius\"                      => \"Europe/Vilnius\",       \"Athens\"                       => \"Europe/Athens\",       \"Istanbul\"                     => \"Europe/Istanbul\",       \"Minsk\"                        => \"Europe/Minsk\",       \"Jerusalem\"                    => \"Asia/Jerusalem\",       \"Harare\"                       => \"Africa/Harare\",       \"Pretoria\"                     => \"Africa/Johannesburg\",       \"Moscow\"                       => \"Europe/Moscow\",       \"St. Petersburg\"               => \"Europe/Moscow\",       \"Volgograd\"                    => \"Europe/Moscow\",       \"Kuwait\"                       => \"Asia/Kuwait\",       \"Riyadh\"                       => \"Asia/Riyadh\",       \"Nairobi\"                      => \"Africa/Nairobi\",       \"Baghdad\"                      => \"Asia/Baghdad\",       \"Tehran\"                       => \"Asia/Tehran\",       \"Abu Dhabi\"                    => \"Asia/Muscat\",       \"Muscat\"                       => \"Asia/Muscat\",       \"Baku\"                         => \"Asia/Baku\",       \"Tbilisi\"                      => \"Asia/Tbilisi\",       \"Yerevan\"                      => \"Asia/Yerevan\",       \"Kabul\"                        => \"Asia/Kabul\",       \"Ekaterinburg\"                 => \"Asia/Yekaterinburg\",       \"Islamabad\"                    => \"Asia/Karachi\",       \"Karachi\"                      => \"Asia/Karachi\",       \"Tashkent\"                     => \"Asia/Tashkent\",       \"Chennai\"                      => \"Asia/Kolkata\",       \"Kolkata\"                      => \"Asia/Kolkata\",       \"Mumbai\"                       => \"Asia/Kolkata\",       \"New Delhi\"                    => \"Asia/Kolkata\",       \"Kathmandu\"                    => \"Asia/Katmandu\",       \"Astana\"                       => \"Asia/Dhaka\",       \"Dhaka\"                        => \"Asia/Dhaka\",       \"Sri Jayawardenepura\"          => \"Asia/Dhaka\",       \"Almaty\"                       => \"Asia/Almaty\",       \"Novosibirsk\"                  => \"Asia/Novosibirsk\",       \"Rangoon\"                      => \"Asia/Rangoon\",       \"Bangkok\"                      => \"Asia/Bangkok\",       \"Hanoi\"                        => \"Asia/Bangkok\",       \"Jakarta\"                      => \"Asia/Jakarta\",       \"Krasnoyarsk\"                  => \"Asia/Krasnoyarsk\",       \"Beijing\"                      => \"Asia/Shanghai\",       \"Chongqing\"                    => \"Asia/Chongqing\",       \"Hong Kong\"                    => \"Asia/Hong_Kong\",       \"Urumqi\"                       => \"Asia/Urumqi\",       \"Kuala Lumpur\"                 => \"Asia/Kuala_Lumpur\",       \"Singapore\"                    => \"Asia/Singapore\",       \"Taipei\"                       => \"Asia/Taipei\",       \"Perth\"                        => \"Australia/Perth\",       \"Irkutsk\"                      => \"Asia/Irkutsk\",       \"Ulaan Bataar\"                 => \"Asia/Ulaanbaatar\",       \"Seoul\"                        => \"Asia/Seoul\",       \"Osaka\"                        => \"Asia/Tokyo\",       \"Sapporo\"                      => \"Asia/Tokyo\",       \"Tokyo\"                        => \"Asia/Tokyo\",       \"Yakutsk\"                      => \"Asia/Yakutsk\",       \"Darwin\"                       => \"Australia/Darwin\",       \"Adelaide\"                     => \"Australia/Adelaide\",       \"Canberra\"                     => \"Australia/Melbourne\",       \"Melbourne\"                    => \"Australia/Melbourne\",       \"Sydney\"                       => \"Australia/Sydney\",       \"Brisbane\"                     => \"Australia/Brisbane\",       \"Hobart\"                       => \"Australia/Hobart\",       \"Vladivostok\"                  => \"Asia/Vladivostok\",       \"Guam\"                         => \"Pacific/Guam\",       \"Port Moresby\"                 => \"Pacific/Port_Moresby\",       \"Magadan\"                      => \"Asia/Magadan\",       \"Solomon Is.\"                  => \"Asia/Magadan\",       \"New Caledonia\"                => \"Pacific/Noumea\",       \"Fiji\"                         => \"Pacific/Fiji\",       \"Kamchatka\"                    => \"Asia/Kamchatka\",       \"Marshall Is.\"                 => \"Pacific/Majuro\",       \"Auckland\"                     => \"Pacific/Auckland\",       \"Wellington\"                   => \"Pacific/Auckland\",       \"Nuku'alofa\"                   => \"Pacific/Tongatapu\""
- !ruby/object:RI::Constant 
  comment: 
  name: ZONES
  value: "[]"
- !ruby/object:RI::Constant 
  comment: 
  name: ZONES_MAP
  value: "{}"
- !ruby/object:RI::Constant 
  comment: 
  name: US_ZONES
  value: ZONES.find_all { |z| z.name =~ /US|Arizona|Indiana|Hawaii|Alaska/ }
full_name: TimeZone
includes: 
- !ruby/object:RI::IncludedModule 
  name: Comparable
instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: <=>
- !ruby/object:RI::MethodSummary 
  name: at
- !ruby/object:RI::MethodSummary 
  name: formatted_offset
- !ruby/object:RI::MethodSummary 
  name: local
- !ruby/object:RI::MethodSummary 
  name: local_to_utc
- !ruby/object:RI::MethodSummary 
  name: now
- !ruby/object:RI::MethodSummary 
  name: parse
- !ruby/object:RI::MethodSummary 
  name: period_for_local
- !ruby/object:RI::MethodSummary 
  name: period_for_utc
- !ruby/object:RI::MethodSummary 
  name: to_s
- !ruby/object:RI::MethodSummary 
  name: today
- !ruby/object:RI::MethodSummary 
  name: tzinfo
- !ruby/object:RI::MethodSummary 
  name: utc_offset
- !ruby/object:RI::MethodSummary 
  name: utc_to_local
name: TimeZone
superclass: Object
