File: //usr/local/rvm/gems/default/doc/activesupport-6.1.4.1/ri/ActiveSupport/TimeZone/cdesc-TimeZone.ri
U:RDoc::NormalClass[iI"
TimeZone:ETI"ActiveSupport::TimeZone;TI"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"OThe TimeZone class serves as a wrapper around TZInfo::Timezone instances. ;TI"&It allows us to do the following:;To:RDoc::Markup::BlankLine o:RDoc::Markup::List:
@type:BULLET:@items[ o:RDoc::Markup::ListItem:@label0;[o; ;[I"MLimit the set of zones provided by TZInfo to a meaningful subset of 134 ;TI"zones.;To;;0;[o; ;[I"7Retrieve and display zones with a friendlier name ;TI"H(e.g., "Eastern Time (US & Canada)" instead of "America/New_York").;To;;0;[o; ;[I"ELazily load TZInfo::Timezone instances only when they're needed.;To;;0;[o; ;[I"JCreate ActiveSupport::TimeWithZone instances via TimeZone's +local+, ;TI"%+parse+, +at+ and +now+ methods.;T@o; ;[I"LIf you set <tt>config.time_zone</tt> in the Rails Application, you can ;TI"8access this TimeZone object via <tt>Time.zone</tt>:;T@o:RDoc::Markup::Verbatim;[
I"# application.rb:
;TI",class Application < Rails::Application
;TI"7 config.time_zone = 'Eastern Time (US & Canada)'
;TI" end
;TI"
;TI"@Time.zone # => #<ActiveSupport::TimeZone:0x514834...>
;TI"6Time.zone.name # => "Eastern Time (US & Canada)"
;TI"=Time.zone.now # => Sun, 18 May 2008 14:30:44 EDT -04:00;T:@format0:
@fileI"+lib/active_support/values/time_zone.rb;T:0@omit_headings_from_table_of_contents_below0;0;0[[
I" name;TI"R;T:publicFI"+lib/active_support/values/time_zone.rb;T[
I"tzinfo;T@>;F@?[U:RDoc::Constant[i I"MAPPING;TI"%ActiveSupport::TimeZone::MAPPING;T;0o;;[o; ;[I"BKeys are Rails TimeZone names, values are TZInfo identifiers.;T;@:;0@:@cRDoc::NormalClass0[[I"Comparable;To;;[ ;@:;0@?[[I"
class;T[[;[
[I"[];T@?[I"all;T@?[I"country_zones;T@?[I"create;T@?[I"find_tzinfo;T@?[I"new;T@?[I"seconds_to_utc_offset;T@?[I"
us_zones;T@?[:protected[ [:private[[I"load_country_zones;T@?[I"zones_map;T@?[I"
instance;T[[;[[I"<=>;T@?[I"=~;T@?[I"at;T@?[I"formatted_offset;T@?[I"iso8601;T@?[I"
local;T@?[I"local_to_utc;T@?[I"match?;T@?[I"now;T@?[I"
parse;T@?[I"period_for_local;T@?[I"period_for_utc;T@?[I"rfc3339;T@?[I"
strptime;T@?[I" to_s;T@?[I"
today;T@?[I"
tomorrow;T@?[I"utc_offset;T@?[I"utc_to_local;T@?[I"yesterday;T@?[;[ [;[[I"parts_to_time;T@?[I"
time_now;T@?[ [U:RDoc::Context::Section[i 0o;;[ ;0;0[@:I"ActiveSupport;TcRDoc::NormalModule