lib/tzinfo/definitions/Africa/Bissau.rb in tzinfo-0.0.1 vs lib/tzinfo/definitions/Africa/Bissau.rb in tzinfo-0.0.2

- old
+ new

@@ -1,20 +1,14 @@ require 'tzinfo/timezone' module TZInfo module Definitions #:nodoc: module Africa #:nodoc: class Bissau < Timezone #:nodoc: -def initialize - super +setup set_identifier('Africa/Bissau') -add_period(TimezonePeriod.new(nil,DateTime.new(1911,5,26,1,2,20),-3740,0,'LMT')) -add_period(TimezonePeriod.new(DateTime.new(1911,5,26,1,2,20),DateTime.new(1975,1,1,1,0,0),-3600,0,'WAT')) -add_period(TimezonePeriod.new(DateTime.new(1975,1,1,1,0,0),nil,0,0,'GMT')) -end -@@instance = new -def self.instance - @@instance -end +add_period(TimezonePeriod.new(nil,DateTime.new(1911,5,26,1,2,20),-3740,0,:'LMT')) +add_period(TimezonePeriod.new(DateTime.new(1911,5,26,1,2,20),DateTime.new(1975,1,1,1,0,0),-3600,0,:'WAT')) +add_period(TimezonePeriod.new(DateTime.new(1975,1,1,1,0,0),nil,0,0,:'GMT')) end end end end