Sha256: ac5ba632b065895698503c404027b70d7f402688949200544af26dd715365519

Contents?: true

Size: 908 Bytes

Versions: 1

Compression:

Stored size: 908 Bytes

Contents

require 'tzinfo/timezone'
module TZInfo
module Definitions #:nodoc:
module America #:nodoc:
class El_Salvador < Timezone #:nodoc:
def initialize
  super
set_identifier('America/El_Salvador')
add_period(TimezonePeriod.new(nil,DateTime.new(1921,1,1,5,56,48),-21408,0,'LMT'))
add_period(TimezonePeriod.new(DateTime.new(1921,1,1,5,56,48),DateTime.new(1987,5,3,6,0,0),-21600,0,'CT'))
add_period(TimezonePeriod.new(DateTime.new(1987,5,3,6,0,0),DateTime.new(1987,9,27,5,0,0),-21600,3600,'CDT'))
add_period(TimezonePeriod.new(DateTime.new(1987,9,27,5,0,0),DateTime.new(1988,5,1,6,0,0),-21600,0,'CST'))
add_period(TimezonePeriod.new(DateTime.new(1988,5,1,6,0,0),DateTime.new(1988,9,25,5,0,0),-21600,3600,'CDT'))
add_period(TimezonePeriod.new(DateTime.new(1988,9,25,5,0,0),DateTime.new(2045,8,19,20,51,3),-21600,0,'CST'))
end
@@instance = new
def self.instance
   @@instance
end
end
end
end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tzinfo-0.0.1 lib/tzinfo/definitions/America/El_Salvador.rb