Sha256: 78c403fdcfe2f393d84db030e3bfe18dea75cb7077a7825c5c17b2cbefe657d6
Contents?: true
Size: 668 Bytes
Versions: 1
Compression:
Stored size: 668 Bytes
Contents
require 'tzinfo/timezone' module TZInfo module Definitions #:nodoc: module America #:nodoc: class Puerto_Rico < Timezone #:nodoc: def initialize super set_identifier('America/Puerto_Rico') add_period(TimezonePeriod.new(nil,DateTime.new(1899,3,28,16,24,25),-15865,0,'LMT')) add_period(TimezonePeriod.new(DateTime.new(1899,3,28,16,24,25),DateTime.new(1942,5,3,4,0,0),-14400,0,'AST')) add_period(TimezonePeriod.new(DateTime.new(1942,5,3,4,0,0),DateTime.new(1945,9,30,5,0,0),-14400,3600,'AWT')) add_period(TimezonePeriod.new(DateTime.new(1945,9,30,5,0,0),nil,-14400,0,'AST')) 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/Puerto_Rico.rb |