Sha256: 02cd792d8195d7b0b5546ffb0b401ebc40ae78dc1362ef372ac74c7d1d9eb141

Contents?: true

Size: 1.1 KB

Versions: 3

Compression:

Stored size: 1.1 KB

Contents

require 'tzinfo/timezone'
module TZInfo
module Definitions #:nodoc:
module America #:nodoc:
class El_Salvador < Timezone #:nodoc:
setup
set_identifier('America/El_Salvador')
add_unbounded_start_period {TimezonePeriod.new(nil,DateTime.new0(Rational.new!(2180421673,900),0,Date::ITALY),-21408,0,:'LMT')}
add_period(1921,1) {TimezonePeriod.new(DateTime.new0(Rational.new!(2180421673,900),0,Date::ITALY),DateTime.new0(Rational.new!(9787675,4),0,Date::ITALY),-21600,0,:'CT')}
add_period(1987,5) {TimezonePeriod.new(DateTime.new0(Rational.new!(9787675,4),0,Date::ITALY),DateTime.new0(Rational.new!(58729577,24),0,Date::ITALY),-21600,3600,:'CDT')}
add_period(1987,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(58729577,24),0,Date::ITALY),DateTime.new0(Rational.new!(9789131,4),0,Date::ITALY),-21600,0,:'CST')}
add_period(1988,5) {TimezonePeriod.new(DateTime.new0(Rational.new!(9789131,4),0,Date::ITALY),DateTime.new0(Rational.new!(58738313,24),0,Date::ITALY),-21600,3600,:'CDT')}
add_period(1988,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(58738313,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/El_Salvador.rb
tzinfo-0.1.1 lib/tzinfo/definitions/America/El_Salvador.rb
tzinfo-0.1.2 lib/tzinfo/definitions/America/El_Salvador.rb