Sha256: 6be84b4fc2080abcad1be288b572eabfdc2e72dceb8d15524b43436a312a06c3

Contents?: true

Size: 1.44 KB

Versions: 3

Compression:

Stored size: 1.44 KB

Contents

require 'tzinfo/timezone'
module TZInfo
module Definitions #:nodoc:
module America #:nodoc:
class Guatemala < Timezone #:nodoc:
setup
set_identifier('America/Guatemala')
add_unbounded_start_period {TimezonePeriod.new(nil,DateTime.new0(Rational.new!(52312429831,21600),0,Date::ITALY),-21724,0,:'LMT')}
add_period(1918,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(52312429831,21600),0,Date::ITALY),DateTime.new0(Rational.new!(9768047,4),0,Date::ITALY),-21600,0,:'CT')}
add_period(1973,11) {TimezonePeriod.new(DateTime.new0(Rational.new!(9768047,4),0,Date::ITALY),DateTime.new0(Rational.new!(58610465,24),0,Date::ITALY),-21600,3600,:'CDT')}
add_period(1974,2) {TimezonePeriod.new(DateTime.new0(Rational.new!(58610465,24),0,Date::ITALY),DateTime.new0(Rational.new!(9781903,4),0,Date::ITALY),-21600,0,:'CST')}
add_period(1983,5) {TimezonePeriod.new(DateTime.new0(Rational.new!(9781903,4),0,Date::ITALY),DateTime.new0(Rational.new!(58694393,24),0,Date::ITALY),-21600,3600,:'CDT')}
add_period(1983,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(58694393,24),0,Date::ITALY),DateTime.new0(Rational.new!(9793355,4),0,Date::ITALY),-21600,0,:'CST')}
add_period(1991,3) {TimezonePeriod.new(DateTime.new0(Rational.new!(9793355,4),0,Date::ITALY),DateTime.new0(Rational.new!(58764161,24),0,Date::ITALY),-21600,3600,:'CDT')}
add_period(1991,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(58764161,24),0,Date::ITALY),nil,-21600,0,:'CST')}
end
end
end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tzinfo-0.1.0 lib/tzinfo/definitions/America/Guatemala.rb
tzinfo-0.1.1 lib/tzinfo/definitions/America/Guatemala.rb
tzinfo-0.1.2 lib/tzinfo/definitions/America/Guatemala.rb