Class: ActiveSupport::TimeZone
Class Method Summary
collapse
Instance Method Summary
collapse
abbreviations_map
#abbreviations, #next_period
Class Method Details
.tzids_map ⇒ Object
49
50
51
52
53
54
55
|
# File 'lib/has_zone/tzinfo.rb', line 49
def self.tzids_map
@tzids_map ||= begin
(tzids_map = {}).tap do |tm|
zones_map.each { |n, z| tm[z.identifier] ||= z }
end
end
end
|
Instance Method Details
#identifier ⇒ Object
57
58
59
|
# File 'lib/has_zone/tzinfo.rb', line 57
def identifier
self.tzinfo.try(:identifier)
end
|