Sha256: 7c17d75b4012be99df6de9692bb4e617a3d95367119598d6ca4873e0a7de3818
Contents?: true
Size: 1.85 KB
Versions: 1
Compression:
Stored size: 1.85 KB
Contents
require 'tzinfo/timezone' module TZInfo module Definitions #:nodoc: module Asia #:nodoc: class Urumqi < Timezone #:nodoc: def initialize super set_identifier('Asia/Urumqi') add_period(TimezonePeriod.new(nil,DateTime.new(1927,12,31,18,9,40),21020,0,'LMT')) add_period(TimezonePeriod.new(DateTime.new(1927,12,31,18,9,40),DateTime.new(1980,4,30,18,0,0),21600,0,'URUT')) add_period(TimezonePeriod.new(DateTime.new(1980,4,30,18,0,0),DateTime.new(1986,5,3,16,0,0),28800,0,'CT')) add_period(TimezonePeriod.new(DateTime.new(1986,5,3,16,0,0),DateTime.new(1986,9,13,15,0,0),28800,3600,'CDT')) add_period(TimezonePeriod.new(DateTime.new(1986,9,13,15,0,0),DateTime.new(1987,4,11,16,0,0),28800,0,'CST')) add_period(TimezonePeriod.new(DateTime.new(1987,4,11,16,0,0),DateTime.new(1987,9,12,15,0,0),28800,3600,'CDT')) add_period(TimezonePeriod.new(DateTime.new(1987,9,12,15,0,0),DateTime.new(1988,4,9,16,0,0),28800,0,'CST')) add_period(TimezonePeriod.new(DateTime.new(1988,4,9,16,0,0),DateTime.new(1988,9,10,15,0,0),28800,3600,'CDT')) add_period(TimezonePeriod.new(DateTime.new(1988,9,10,15,0,0),DateTime.new(1989,4,15,16,0,0),28800,0,'CST')) add_period(TimezonePeriod.new(DateTime.new(1989,4,15,16,0,0),DateTime.new(1989,9,16,15,0,0),28800,3600,'CDT')) add_period(TimezonePeriod.new(DateTime.new(1989,9,16,15,0,0),DateTime.new(1990,4,14,16,0,0),28800,0,'CST')) add_period(TimezonePeriod.new(DateTime.new(1990,4,14,16,0,0),DateTime.new(1990,9,15,15,0,0),28800,3600,'CDT')) add_period(TimezonePeriod.new(DateTime.new(1990,9,15,15,0,0),DateTime.new(1991,4,13,16,0,0),28800,0,'CST')) add_period(TimezonePeriod.new(DateTime.new(1991,4,13,16,0,0),DateTime.new(1991,9,14,15,0,0),28800,3600,'CDT')) add_period(TimezonePeriod.new(DateTime.new(1991,9,14,15,0,0),DateTime.new(2045,8,19,20,37,23),28800,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/Asia/Urumqi.rb |