lib/tzinfo/definitions/Asia/Qyzylorda.rb in tzinfo-0.0.1 vs lib/tzinfo/definitions/Asia/Qyzylorda.rb in tzinfo-0.0.2
- old
+ new
@@ -1,70 +1,64 @@
require 'tzinfo/timezone'
module TZInfo
module Definitions #:nodoc:
module Asia #:nodoc:
class Qyzylorda < Timezone #:nodoc:
-def initialize
- super
+setup
set_identifier('Asia/Qyzylorda')
-add_period(TimezonePeriod.new(nil,DateTime.new(1924,5,1,19,38,8),15712,0,'LMT'))
-add_period(TimezonePeriod.new(DateTime.new(1924,5,1,19,38,8),DateTime.new(1930,6,20,20,0,0),14400,0,'KIZT'))
-add_period(TimezonePeriod.new(DateTime.new(1930,6,20,20,0,0),DateTime.new(1981,3,31,19,0,0),18000,0,'KIZT'))
-add_period(TimezonePeriod.new(DateTime.new(1981,3,31,19,0,0),DateTime.new(1981,9,30,18,0,0),18000,3600,'KIZST'))
-add_period(TimezonePeriod.new(DateTime.new(1981,9,30,18,0,0),DateTime.new(1982,3,31,18,0,0),21600,0,'KIZT'))
-add_period(TimezonePeriod.new(DateTime.new(1982,3,31,18,0,0),DateTime.new(1982,9,30,18,0,0),18000,3600,'KIZST'))
-add_period(TimezonePeriod.new(DateTime.new(1982,9,30,18,0,0),DateTime.new(1983,3,31,19,0,0),18000,0,'KIZT'))
-add_period(TimezonePeriod.new(DateTime.new(1983,3,31,19,0,0),DateTime.new(1983,9,30,18,0,0),18000,3600,'KIZST'))
-add_period(TimezonePeriod.new(DateTime.new(1983,9,30,18,0,0),DateTime.new(1984,3,31,19,0,0),18000,0,'KIZT'))
-add_period(TimezonePeriod.new(DateTime.new(1984,3,31,19,0,0),DateTime.new(1984,9,29,21,0,0),18000,3600,'KIZST'))
-add_period(TimezonePeriod.new(DateTime.new(1984,9,29,21,0,0),DateTime.new(1985,3,30,21,0,0),18000,0,'KIZT'))
-add_period(TimezonePeriod.new(DateTime.new(1985,3,30,21,0,0),DateTime.new(1985,9,28,21,0,0),18000,3600,'KIZST'))
-add_period(TimezonePeriod.new(DateTime.new(1985,9,28,21,0,0),DateTime.new(1986,3,29,21,0,0),18000,0,'KIZT'))
-add_period(TimezonePeriod.new(DateTime.new(1986,3,29,21,0,0),DateTime.new(1986,9,27,21,0,0),18000,3600,'KIZST'))
-add_period(TimezonePeriod.new(DateTime.new(1986,9,27,21,0,0),DateTime.new(1987,3,28,21,0,0),18000,0,'KIZT'))
-add_period(TimezonePeriod.new(DateTime.new(1987,3,28,21,0,0),DateTime.new(1987,9,26,21,0,0),18000,3600,'KIZST'))
-add_period(TimezonePeriod.new(DateTime.new(1987,9,26,21,0,0),DateTime.new(1988,3,26,21,0,0),18000,0,'KIZT'))
-add_period(TimezonePeriod.new(DateTime.new(1988,3,26,21,0,0),DateTime.new(1988,9,24,21,0,0),18000,3600,'KIZST'))
-add_period(TimezonePeriod.new(DateTime.new(1988,9,24,21,0,0),DateTime.new(1989,3,25,21,0,0),18000,0,'KIZT'))
-add_period(TimezonePeriod.new(DateTime.new(1989,3,25,21,0,0),DateTime.new(1989,9,23,21,0,0),18000,3600,'KIZST'))
-add_period(TimezonePeriod.new(DateTime.new(1989,9,23,21,0,0),DateTime.new(1990,3,24,21,0,0),18000,0,'KIZT'))
-add_period(TimezonePeriod.new(DateTime.new(1990,3,24,21,0,0),DateTime.new(1990,9,29,21,0,0),18000,3600,'KIZST'))
-add_period(TimezonePeriod.new(DateTime.new(1990,9,29,21,0,0),DateTime.new(1990,12,31,19,0,0),18000,0,'KIZT'))
-add_period(TimezonePeriod.new(DateTime.new(1990,12,31,19,0,0),DateTime.new(1991,12,15,19,0,0),18000,0,'KIZT'))
-add_period(TimezonePeriod.new(DateTime.new(1991,12,15,19,0,0),DateTime.new(1992,1,18,21,0,0),18000,0,'QYZT'))
-add_period(TimezonePeriod.new(DateTime.new(1992,1,18,21,0,0),DateTime.new(1992,3,28,17,0,0),21600,0,'QYZT'))
-add_period(TimezonePeriod.new(DateTime.new(1992,3,28,17,0,0),DateTime.new(1992,9,26,16,0,0),21600,3600,'QYZST'))
-add_period(TimezonePeriod.new(DateTime.new(1992,9,26,16,0,0),DateTime.new(1993,3,27,20,0,0),21600,0,'QYZT'))
-add_period(TimezonePeriod.new(DateTime.new(1993,3,27,20,0,0),DateTime.new(1993,9,25,20,0,0),21600,3600,'QYZST'))
-add_period(TimezonePeriod.new(DateTime.new(1993,9,25,20,0,0),DateTime.new(1994,3,26,20,0,0),21600,0,'QYZT'))
-add_period(TimezonePeriod.new(DateTime.new(1994,3,26,20,0,0),DateTime.new(1994,9,24,20,0,0),21600,3600,'QYZST'))
-add_period(TimezonePeriod.new(DateTime.new(1994,9,24,20,0,0),DateTime.new(1995,3,25,20,0,0),21600,0,'QYZT'))
-add_period(TimezonePeriod.new(DateTime.new(1995,3,25,20,0,0),DateTime.new(1995,9,23,20,0,0),21600,3600,'QYZST'))
-add_period(TimezonePeriod.new(DateTime.new(1995,9,23,20,0,0),DateTime.new(1996,3,30,20,0,0),21600,0,'QYZT'))
-add_period(TimezonePeriod.new(DateTime.new(1996,3,30,20,0,0),DateTime.new(1996,10,26,20,0,0),21600,3600,'QYZST'))
-add_period(TimezonePeriod.new(DateTime.new(1996,10,26,20,0,0),DateTime.new(1997,3,29,20,0,0),21600,0,'QYZT'))
-add_period(TimezonePeriod.new(DateTime.new(1997,3,29,20,0,0),DateTime.new(1997,10,25,20,0,0),21600,3600,'QYZST'))
-add_period(TimezonePeriod.new(DateTime.new(1997,10,25,20,0,0),DateTime.new(1998,3,28,20,0,0),21600,0,'QYZT'))
-add_period(TimezonePeriod.new(DateTime.new(1998,3,28,20,0,0),DateTime.new(1998,10,24,20,0,0),21600,3600,'QYZST'))
-add_period(TimezonePeriod.new(DateTime.new(1998,10,24,20,0,0),DateTime.new(1999,3,27,20,0,0),21600,0,'QYZT'))
-add_period(TimezonePeriod.new(DateTime.new(1999,3,27,20,0,0),DateTime.new(1999,10,30,20,0,0),21600,3600,'QYZST'))
-add_period(TimezonePeriod.new(DateTime.new(1999,10,30,20,0,0),DateTime.new(2000,3,25,20,0,0),21600,0,'QYZT'))
-add_period(TimezonePeriod.new(DateTime.new(2000,3,25,20,0,0),DateTime.new(2000,10,28,20,0,0),21600,3600,'QYZST'))
-add_period(TimezonePeriod.new(DateTime.new(2000,10,28,20,0,0),DateTime.new(2001,3,24,20,0,0),21600,0,'QYZT'))
-add_period(TimezonePeriod.new(DateTime.new(2001,3,24,20,0,0),DateTime.new(2001,10,27,20,0,0),21600,3600,'QYZST'))
-add_period(TimezonePeriod.new(DateTime.new(2001,10,27,20,0,0),DateTime.new(2002,3,30,20,0,0),21600,0,'QYZT'))
-add_period(TimezonePeriod.new(DateTime.new(2002,3,30,20,0,0),DateTime.new(2002,10,26,20,0,0),21600,3600,'QYZST'))
-add_period(TimezonePeriod.new(DateTime.new(2002,10,26,20,0,0),DateTime.new(2003,3,29,20,0,0),21600,0,'QYZT'))
-add_period(TimezonePeriod.new(DateTime.new(2003,3,29,20,0,0),DateTime.new(2003,10,25,20,0,0),21600,3600,'QYZST'))
-add_period(TimezonePeriod.new(DateTime.new(2003,10,25,20,0,0),DateTime.new(2004,3,27,20,0,0),21600,0,'QYZT'))
-add_period(TimezonePeriod.new(DateTime.new(2004,3,27,20,0,0),DateTime.new(2004,10,30,20,0,0),21600,3600,'QYZST'))
-add_period(TimezonePeriod.new(DateTime.new(2004,10,30,20,0,0),DateTime.new(2005,3,14,18,0,0),21600,0,'QYZT'))
-add_period(TimezonePeriod.new(DateTime.new(2005,3,14,18,0,0),nil,21600,0,'QYZT'))
-end
-@@instance = new
-def self.instance
- @@instance
-end
+add_period(TimezonePeriod.new(nil,DateTime.new(1924,5,1,19,38,8),15712,0,:'LMT'))
+add_period(TimezonePeriod.new(DateTime.new(1924,5,1,19,38,8),DateTime.new(1930,6,20,20,0,0),14400,0,:'KIZT'))
+add_period(TimezonePeriod.new(DateTime.new(1930,6,20,20,0,0),DateTime.new(1981,3,31,19,0,0),18000,0,:'KIZT'))
+add_period(TimezonePeriod.new(DateTime.new(1981,3,31,19,0,0),DateTime.new(1981,9,30,18,0,0),18000,3600,:'KIZST'))
+add_period(TimezonePeriod.new(DateTime.new(1981,9,30,18,0,0),DateTime.new(1982,3,31,18,0,0),21600,0,:'KIZT'))
+add_period(TimezonePeriod.new(DateTime.new(1982,3,31,18,0,0),DateTime.new(1982,9,30,18,0,0),18000,3600,:'KIZST'))
+add_period(TimezonePeriod.new(DateTime.new(1982,9,30,18,0,0),DateTime.new(1983,3,31,19,0,0),18000,0,:'KIZT'))
+add_period(TimezonePeriod.new(DateTime.new(1983,3,31,19,0,0),DateTime.new(1983,9,30,18,0,0),18000,3600,:'KIZST'))
+add_period(TimezonePeriod.new(DateTime.new(1983,9,30,18,0,0),DateTime.new(1984,3,31,19,0,0),18000,0,:'KIZT'))
+add_period(TimezonePeriod.new(DateTime.new(1984,3,31,19,0,0),DateTime.new(1984,9,29,21,0,0),18000,3600,:'KIZST'))
+add_period(TimezonePeriod.new(DateTime.new(1984,9,29,21,0,0),DateTime.new(1985,3,30,21,0,0),18000,0,:'KIZT'))
+add_period(TimezonePeriod.new(DateTime.new(1985,3,30,21,0,0),DateTime.new(1985,9,28,21,0,0),18000,3600,:'KIZST'))
+add_period(TimezonePeriod.new(DateTime.new(1985,9,28,21,0,0),DateTime.new(1986,3,29,21,0,0),18000,0,:'KIZT'))
+add_period(TimezonePeriod.new(DateTime.new(1986,3,29,21,0,0),DateTime.new(1986,9,27,21,0,0),18000,3600,:'KIZST'))
+add_period(TimezonePeriod.new(DateTime.new(1986,9,27,21,0,0),DateTime.new(1987,3,28,21,0,0),18000,0,:'KIZT'))
+add_period(TimezonePeriod.new(DateTime.new(1987,3,28,21,0,0),DateTime.new(1987,9,26,21,0,0),18000,3600,:'KIZST'))
+add_period(TimezonePeriod.new(DateTime.new(1987,9,26,21,0,0),DateTime.new(1988,3,26,21,0,0),18000,0,:'KIZT'))
+add_period(TimezonePeriod.new(DateTime.new(1988,3,26,21,0,0),DateTime.new(1988,9,24,21,0,0),18000,3600,:'KIZST'))
+add_period(TimezonePeriod.new(DateTime.new(1988,9,24,21,0,0),DateTime.new(1989,3,25,21,0,0),18000,0,:'KIZT'))
+add_period(TimezonePeriod.new(DateTime.new(1989,3,25,21,0,0),DateTime.new(1989,9,23,21,0,0),18000,3600,:'KIZST'))
+add_period(TimezonePeriod.new(DateTime.new(1989,9,23,21,0,0),DateTime.new(1990,3,24,21,0,0),18000,0,:'KIZT'))
+add_period(TimezonePeriod.new(DateTime.new(1990,3,24,21,0,0),DateTime.new(1990,9,29,21,0,0),18000,3600,:'KIZST'))
+add_period(TimezonePeriod.new(DateTime.new(1990,9,29,21,0,0),DateTime.new(1990,12,31,19,0,0),18000,0,:'KIZT'))
+add_period(TimezonePeriod.new(DateTime.new(1990,12,31,19,0,0),DateTime.new(1991,12,15,19,0,0),18000,0,:'KIZT'))
+add_period(TimezonePeriod.new(DateTime.new(1991,12,15,19,0,0),DateTime.new(1992,1,18,21,0,0),18000,0,:'QYZT'))
+add_period(TimezonePeriod.new(DateTime.new(1992,1,18,21,0,0),DateTime.new(1992,3,28,17,0,0),21600,0,:'QYZT'))
+add_period(TimezonePeriod.new(DateTime.new(1992,3,28,17,0,0),DateTime.new(1992,9,26,16,0,0),21600,3600,:'QYZST'))
+add_period(TimezonePeriod.new(DateTime.new(1992,9,26,16,0,0),DateTime.new(1993,3,27,20,0,0),21600,0,:'QYZT'))
+add_period(TimezonePeriod.new(DateTime.new(1993,3,27,20,0,0),DateTime.new(1993,9,25,20,0,0),21600,3600,:'QYZST'))
+add_period(TimezonePeriod.new(DateTime.new(1993,9,25,20,0,0),DateTime.new(1994,3,26,20,0,0),21600,0,:'QYZT'))
+add_period(TimezonePeriod.new(DateTime.new(1994,3,26,20,0,0),DateTime.new(1994,9,24,20,0,0),21600,3600,:'QYZST'))
+add_period(TimezonePeriod.new(DateTime.new(1994,9,24,20,0,0),DateTime.new(1995,3,25,20,0,0),21600,0,:'QYZT'))
+add_period(TimezonePeriod.new(DateTime.new(1995,3,25,20,0,0),DateTime.new(1995,9,23,20,0,0),21600,3600,:'QYZST'))
+add_period(TimezonePeriod.new(DateTime.new(1995,9,23,20,0,0),DateTime.new(1996,3,30,20,0,0),21600,0,:'QYZT'))
+add_period(TimezonePeriod.new(DateTime.new(1996,3,30,20,0,0),DateTime.new(1996,10,26,20,0,0),21600,3600,:'QYZST'))
+add_period(TimezonePeriod.new(DateTime.new(1996,10,26,20,0,0),DateTime.new(1997,3,29,20,0,0),21600,0,:'QYZT'))
+add_period(TimezonePeriod.new(DateTime.new(1997,3,29,20,0,0),DateTime.new(1997,10,25,20,0,0),21600,3600,:'QYZST'))
+add_period(TimezonePeriod.new(DateTime.new(1997,10,25,20,0,0),DateTime.new(1998,3,28,20,0,0),21600,0,:'QYZT'))
+add_period(TimezonePeriod.new(DateTime.new(1998,3,28,20,0,0),DateTime.new(1998,10,24,20,0,0),21600,3600,:'QYZST'))
+add_period(TimezonePeriod.new(DateTime.new(1998,10,24,20,0,0),DateTime.new(1999,3,27,20,0,0),21600,0,:'QYZT'))
+add_period(TimezonePeriod.new(DateTime.new(1999,3,27,20,0,0),DateTime.new(1999,10,30,20,0,0),21600,3600,:'QYZST'))
+add_period(TimezonePeriod.new(DateTime.new(1999,10,30,20,0,0),DateTime.new(2000,3,25,20,0,0),21600,0,:'QYZT'))
+add_period(TimezonePeriod.new(DateTime.new(2000,3,25,20,0,0),DateTime.new(2000,10,28,20,0,0),21600,3600,:'QYZST'))
+add_period(TimezonePeriod.new(DateTime.new(2000,10,28,20,0,0),DateTime.new(2001,3,24,20,0,0),21600,0,:'QYZT'))
+add_period(TimezonePeriod.new(DateTime.new(2001,3,24,20,0,0),DateTime.new(2001,10,27,20,0,0),21600,3600,:'QYZST'))
+add_period(TimezonePeriod.new(DateTime.new(2001,10,27,20,0,0),DateTime.new(2002,3,30,20,0,0),21600,0,:'QYZT'))
+add_period(TimezonePeriod.new(DateTime.new(2002,3,30,20,0,0),DateTime.new(2002,10,26,20,0,0),21600,3600,:'QYZST'))
+add_period(TimezonePeriod.new(DateTime.new(2002,10,26,20,0,0),DateTime.new(2003,3,29,20,0,0),21600,0,:'QYZT'))
+add_period(TimezonePeriod.new(DateTime.new(2003,3,29,20,0,0),DateTime.new(2003,10,25,20,0,0),21600,3600,:'QYZST'))
+add_period(TimezonePeriod.new(DateTime.new(2003,10,25,20,0,0),DateTime.new(2004,3,27,20,0,0),21600,0,:'QYZT'))
+add_period(TimezonePeriod.new(DateTime.new(2004,3,27,20,0,0),DateTime.new(2004,10,30,20,0,0),21600,3600,:'QYZST'))
+add_period(TimezonePeriod.new(DateTime.new(2004,10,30,20,0,0),DateTime.new(2005,3,14,18,0,0),21600,0,:'QYZT'))
+add_period(TimezonePeriod.new(DateTime.new(2005,3,14,18,0,0),nil,21600,0,:'QYZT'))
end
end
end
end