Class: TimeZone (ActiveSupport)

Overview
Module Structure
Class Hierarchy
Constants
TimeZone::MAPPING
Class Methods
TimeZone.find_tzinfo / 1
TimeZone.new / 1
TimeZone.all
TimeZone.zones_map
TimeZone.[] / 1
TimeZone.us_zones
TimeZone.lookup / 1
Instance Attributes
TimeZone#name [R]
TimeZone#tzinfo [R]
Instance Methods
TimeZone#initialize / 3
TimeZone#utc_offset
TimeZone#formatted_offset / 2
TimeZone#<=> / 1
TimeZone#=~ / 1
TimeZone#to_s
TimeZone#local / 1
TimeZone#at / 1
TimeZone#parse / 2
TimeZone#now
TimeZone#today
TimeZone#utc_to_local / 1
TimeZone#local_to_utc / 2
TimeZone#period_for_utc / 1
TimeZone#period_for_local / 2
is a submodule of
module: ActiveSupport   
includes
  Comparable ( Builtin-Module )
inherits from
  Object ( Builtin-Module )
has properties
constant: MAPPING   
attribute: name [R]   
attribute: tzinfo [R]   
method: initialize / 3   
method: utc_offset   
method: formatted_offset / 2   
method: <=> / 1   
method: =~ / 1   
method: to_s   
method: local / 1   
method: at / 1   
method: parse / 2   
method: now   
method: today   
method: utc_to_local / 1   
method: local_to_utc / 2   
method: period_for_utc / 1   
method: period_for_local / 2   
class method: find_tzinfo / 1   
class method: new / 1   
class method: all   
class method: zones_map   
class method: [] / 1   
class method: us_zones   
class method: lookup / 1   
is defined at
#23 in active_support/values/time_zone.rb  

Overview

Module Structure

  module: <Toplevel Module>
  module: <Built-in Module>
module: Comparable     
class: Object     
  module: ActiveSupport
class: TimeZone     

Class Hierarchy

Object ( Builtin-Module )
includes
  InstanceExecMethods ( Unknown-Module )
has properties
method: duplicable?   
method: ` / 1   
method: blank?   
method: present?   
method: presence   
method: to_param   
method: to_query / 1   
method: remove_subclasses_of / 1   
method: subclasses_of (1/2) / 1   
method: subclasses_of (2/E) / 1   
method: extended_by   
method: extend_with_included_modules_from / 1   
method: instance_exec / 2   
method: instance_variable_defined? / 1   
method: instance_values   
method: instance_variable_names   
method: copy_instance_variables_from / 2   
method: metaclass   
method: returning / 1   
method: tap   
method: with_options / 1   
method: acts_like? / 1   
method: singleton_class   
method: class_eval / 2   
method: html_safe?   
method: try / 3   
method: to_json / 1   
method: as_json / 1   
class method: method_added / 1   
class method: find_hidden_method / 1   
TimeZone ( ActiveSupport )
includes
  Comparable ( Builtin-Module )
has properties
constant: MAPPING   
attribute: name [R]   
attribute: tzinfo [R]   
method: initialize / 3   
method: utc_offset   
method: formatted_offset / 2   
method: <=> / 1   
method: =~ / 1   
method: to_s   
method: local / 1   
method: at / 1   
method: parse / 2   
method: now   
method: today   
method: utc_to_local / 1   
method: local_to_utc / 2   
method: period_for_utc / 1   
method: period_for_local / 2   
class method: find_tzinfo / 1   
class method: new / 1   
class method: all   
class method: zones_map   
class method: [] / 1   
class method: us_zones   
class method: lookup / 1   

Constants

TimeZone::MAPPING

#26 in active_support/values/time_zone.rb

MAPPING = {   

Class Methods

TimeZone.find_tzinfo / 1

#297 in active_support/values/time_zone.rb

find_tzinfo ( name )

TimeZone.new / 1

#310 in active_support/values/time_zone.rb

new ( name )

TimeZone.zones_map

#321 in active_support/values/time_zone.rb

zones_map

TimeZone.[] / 1

#387 in active_support/values/time_zone.rb

[] ( arg )

TimeZone.us_zones

#405 in active_support/values/time_zone.rb

us_zones

TimeZone.lookup / 1

#411 in active_support/values/time_zone.rb

lookup ( name )

Instance Attributes

TimeZone#tzinfo [R]

#175 in active_support/values/time_zone.rb

Instance Methods

TimeZone#initialize / 3

#181 in active_support/values/time_zone.rb

initialize ( name ,
  utc_offset = nil ,
  tzinfo = nil )

TimeZone#utc_offset

#188 in active_support/values/time_zone.rb

utc_offset

TimeZone#formatted_offset / 2

#199 in active_support/values/time_zone.rb

formatted_offset ( colon=true ,
  alternate_utc_string = nil )

TimeZone#<=> / 1

#205 in active_support/values/time_zone.rb

<=> ( zone )

TimeZone#=~ / 1

#213 in active_support/values/time_zone.rb

=~ ( re )

TimeZone#local / 1

#226 in active_support/values/time_zone.rb

local ( *args )

TimeZone#at / 1

#236 in active_support/values/time_zone.rb

at ( secs )

TimeZone#parse / 2

#250 in active_support/values/time_zone.rb

parse ( str ,
  now=now )

TimeZone#today

#271 in active_support/values/time_zone.rb

today

TimeZone#utc_to_local / 1

#277 in active_support/values/time_zone.rb

utc_to_local ( time )

TimeZone#local_to_utc / 2

#282 in active_support/values/time_zone.rb

local_to_utc ( time ,
  dst=true )

TimeZone#period_for_utc / 1

#287 in active_support/values/time_zone.rb

period_for_utc ( time )

TimeZone#period_for_local / 2

#292 in active_support/values/time_zone.rb

period_for_local ( time ,
  dst=true )