lib/tzinfo/definitions/Asia/Aqtau.rb in tzinfo-0.0.1 vs lib/tzinfo/definitions/Asia/Aqtau.rb in tzinfo-0.0.2

- old
+ new

@@ -1,69 +1,63 @@ require 'tzinfo/timezone' module TZInfo module Definitions #:nodoc: module Asia #:nodoc: class Aqtau < Timezone #:nodoc: -def initialize - super +setup set_identifier('Asia/Aqtau') -add_period(TimezonePeriod.new(nil,DateTime.new(1924,5,1,20,38,56),12064,0,'LMT')) -add_period(TimezonePeriod.new(DateTime.new(1924,5,1,20,38,56),DateTime.new(1930,6,20,20,0,0),14400,0,'FORT')) -add_period(TimezonePeriod.new(DateTime.new(1930,6,20,20,0,0),DateTime.new(1962,12,31,19,0,0),18000,0,'FORT')) -add_period(TimezonePeriod.new(DateTime.new(1962,12,31,19,0,0),DateTime.new(1981,9,30,19,0,0),18000,0,'SHET')) -add_period(TimezonePeriod.new(DateTime.new(1981,9,30,19,0,0),DateTime.new(1982,3,31,18,0,0),21600,0,'SHET')) -add_period(TimezonePeriod.new(DateTime.new(1982,3,31,18,0,0),DateTime.new(1982,9,30,18,0,0),18000,3600,'SHEST')) -add_period(TimezonePeriod.new(DateTime.new(1982,9,30,18,0,0),DateTime.new(1983,3,31,19,0,0),18000,0,'SHET')) -add_period(TimezonePeriod.new(DateTime.new(1983,3,31,19,0,0),DateTime.new(1983,9,30,18,0,0),18000,3600,'SHEST')) -add_period(TimezonePeriod.new(DateTime.new(1983,9,30,18,0,0),DateTime.new(1984,3,31,19,0,0),18000,0,'SHET')) -add_period(TimezonePeriod.new(DateTime.new(1984,3,31,19,0,0),DateTime.new(1984,9,29,21,0,0),18000,3600,'SHEST')) -add_period(TimezonePeriod.new(DateTime.new(1984,9,29,21,0,0),DateTime.new(1985,3,30,21,0,0),18000,0,'SHET')) -add_period(TimezonePeriod.new(DateTime.new(1985,3,30,21,0,0),DateTime.new(1985,9,28,21,0,0),18000,3600,'SHEST')) -add_period(TimezonePeriod.new(DateTime.new(1985,9,28,21,0,0),DateTime.new(1986,3,29,21,0,0),18000,0,'SHET')) -add_period(TimezonePeriod.new(DateTime.new(1986,3,29,21,0,0),DateTime.new(1986,9,27,21,0,0),18000,3600,'SHEST')) -add_period(TimezonePeriod.new(DateTime.new(1986,9,27,21,0,0),DateTime.new(1987,3,28,21,0,0),18000,0,'SHET')) -add_period(TimezonePeriod.new(DateTime.new(1987,3,28,21,0,0),DateTime.new(1987,9,26,21,0,0),18000,3600,'SHEST')) -add_period(TimezonePeriod.new(DateTime.new(1987,9,26,21,0,0),DateTime.new(1988,3,26,21,0,0),18000,0,'SHET')) -add_period(TimezonePeriod.new(DateTime.new(1988,3,26,21,0,0),DateTime.new(1988,9,24,21,0,0),18000,3600,'SHEST')) -add_period(TimezonePeriod.new(DateTime.new(1988,9,24,21,0,0),DateTime.new(1989,3,25,21,0,0),18000,0,'SHET')) -add_period(TimezonePeriod.new(DateTime.new(1989,3,25,21,0,0),DateTime.new(1989,9,23,21,0,0),18000,3600,'SHEST')) -add_period(TimezonePeriod.new(DateTime.new(1989,9,23,21,0,0),DateTime.new(1990,3,24,21,0,0),18000,0,'SHET')) -add_period(TimezonePeriod.new(DateTime.new(1990,3,24,21,0,0),DateTime.new(1990,9,29,21,0,0),18000,3600,'SHEST')) -add_period(TimezonePeriod.new(DateTime.new(1990,9,29,21,0,0),DateTime.new(1990,12,31,19,0,0),18000,0,'SHET')) -add_period(TimezonePeriod.new(DateTime.new(1990,12,31,19,0,0),DateTime.new(1991,12,15,19,0,0),18000,0,'SHET')) -add_period(TimezonePeriod.new(DateTime.new(1991,12,15,19,0,0),DateTime.new(1992,3,28,18,0,0),18000,0,'AQTT')) -add_period(TimezonePeriod.new(DateTime.new(1992,3,28,18,0,0),DateTime.new(1992,9,26,17,0,0),18000,3600,'AQTST')) -add_period(TimezonePeriod.new(DateTime.new(1992,9,26,17,0,0),DateTime.new(1993,3,27,21,0,0),18000,0,'AQTT')) -add_period(TimezonePeriod.new(DateTime.new(1993,3,27,21,0,0),DateTime.new(1993,9,25,21,0,0),18000,3600,'AQTST')) -add_period(TimezonePeriod.new(DateTime.new(1993,9,25,21,0,0),DateTime.new(1994,3,26,21,0,0),18000,0,'AQTT')) -add_period(TimezonePeriod.new(DateTime.new(1994,3,26,21,0,0),DateTime.new(1994,9,24,21,0,0),18000,3600,'AQTST')) -add_period(TimezonePeriod.new(DateTime.new(1994,9,24,21,0,0),DateTime.new(1995,3,25,21,0,0),18000,0,'AQTT')) -add_period(TimezonePeriod.new(DateTime.new(1995,3,25,21,0,0),DateTime.new(1995,9,23,22,0,0),14400,3600,'AQTST')) -add_period(TimezonePeriod.new(DateTime.new(1995,9,23,22,0,0),DateTime.new(1996,3,30,22,0,0),14400,0,'AQTT')) -add_period(TimezonePeriod.new(DateTime.new(1996,3,30,22,0,0),DateTime.new(1996,10,26,22,0,0),14400,3600,'AQTST')) -add_period(TimezonePeriod.new(DateTime.new(1996,10,26,22,0,0),DateTime.new(1997,3,29,22,0,0),14400,0,'AQTT')) -add_period(TimezonePeriod.new(DateTime.new(1997,3,29,22,0,0),DateTime.new(1997,10,25,22,0,0),14400,3600,'AQTST')) -add_period(TimezonePeriod.new(DateTime.new(1997,10,25,22,0,0),DateTime.new(1998,3,28,22,0,0),14400,0,'AQTT')) -add_period(TimezonePeriod.new(DateTime.new(1998,3,28,22,0,0),DateTime.new(1998,10,24,22,0,0),14400,3600,'AQTST')) -add_period(TimezonePeriod.new(DateTime.new(1998,10,24,22,0,0),DateTime.new(1999,3,27,22,0,0),14400,0,'AQTT')) -add_period(TimezonePeriod.new(DateTime.new(1999,3,27,22,0,0),DateTime.new(1999,10,30,22,0,0),14400,3600,'AQTST')) -add_period(TimezonePeriod.new(DateTime.new(1999,10,30,22,0,0),DateTime.new(2000,3,25,22,0,0),14400,0,'AQTT')) -add_period(TimezonePeriod.new(DateTime.new(2000,3,25,22,0,0),DateTime.new(2000,10,28,22,0,0),14400,3600,'AQTST')) -add_period(TimezonePeriod.new(DateTime.new(2000,10,28,22,0,0),DateTime.new(2001,3,24,22,0,0),14400,0,'AQTT')) -add_period(TimezonePeriod.new(DateTime.new(2001,3,24,22,0,0),DateTime.new(2001,10,27,22,0,0),14400,3600,'AQTST')) -add_period(TimezonePeriod.new(DateTime.new(2001,10,27,22,0,0),DateTime.new(2002,3,30,22,0,0),14400,0,'AQTT')) -add_period(TimezonePeriod.new(DateTime.new(2002,3,30,22,0,0),DateTime.new(2002,10,26,22,0,0),14400,3600,'AQTST')) -add_period(TimezonePeriod.new(DateTime.new(2002,10,26,22,0,0),DateTime.new(2003,3,29,22,0,0),14400,0,'AQTT')) -add_period(TimezonePeriod.new(DateTime.new(2003,3,29,22,0,0),DateTime.new(2003,10,25,22,0,0),14400,3600,'AQTST')) -add_period(TimezonePeriod.new(DateTime.new(2003,10,25,22,0,0),DateTime.new(2004,3,27,22,0,0),14400,0,'AQTT')) -add_period(TimezonePeriod.new(DateTime.new(2004,3,27,22,0,0),DateTime.new(2004,10,30,22,0,0),14400,3600,'AQTST')) -add_period(TimezonePeriod.new(DateTime.new(2004,10,30,22,0,0),DateTime.new(2005,3,14,20,0,0),14400,0,'AQTT')) -add_period(TimezonePeriod.new(DateTime.new(2005,3,14,20,0,0),nil,18000,0,'AQTT')) -end -@@instance = new -def self.instance - @@instance -end +add_period(TimezonePeriod.new(nil,DateTime.new(1924,5,1,20,38,56),12064,0,:'LMT')) +add_period(TimezonePeriod.new(DateTime.new(1924,5,1,20,38,56),DateTime.new(1930,6,20,20,0,0),14400,0,:'FORT')) +add_period(TimezonePeriod.new(DateTime.new(1930,6,20,20,0,0),DateTime.new(1962,12,31,19,0,0),18000,0,:'FORT')) +add_period(TimezonePeriod.new(DateTime.new(1962,12,31,19,0,0),DateTime.new(1981,9,30,19,0,0),18000,0,:'SHET')) +add_period(TimezonePeriod.new(DateTime.new(1981,9,30,19,0,0),DateTime.new(1982,3,31,18,0,0),21600,0,:'SHET')) +add_period(TimezonePeriod.new(DateTime.new(1982,3,31,18,0,0),DateTime.new(1982,9,30,18,0,0),18000,3600,:'SHEST')) +add_period(TimezonePeriod.new(DateTime.new(1982,9,30,18,0,0),DateTime.new(1983,3,31,19,0,0),18000,0,:'SHET')) +add_period(TimezonePeriod.new(DateTime.new(1983,3,31,19,0,0),DateTime.new(1983,9,30,18,0,0),18000,3600,:'SHEST')) +add_period(TimezonePeriod.new(DateTime.new(1983,9,30,18,0,0),DateTime.new(1984,3,31,19,0,0),18000,0,:'SHET')) +add_period(TimezonePeriod.new(DateTime.new(1984,3,31,19,0,0),DateTime.new(1984,9,29,21,0,0),18000,3600,:'SHEST')) +add_period(TimezonePeriod.new(DateTime.new(1984,9,29,21,0,0),DateTime.new(1985,3,30,21,0,0),18000,0,:'SHET')) +add_period(TimezonePeriod.new(DateTime.new(1985,3,30,21,0,0),DateTime.new(1985,9,28,21,0,0),18000,3600,:'SHEST')) +add_period(TimezonePeriod.new(DateTime.new(1985,9,28,21,0,0),DateTime.new(1986,3,29,21,0,0),18000,0,:'SHET')) +add_period(TimezonePeriod.new(DateTime.new(1986,3,29,21,0,0),DateTime.new(1986,9,27,21,0,0),18000,3600,:'SHEST')) +add_period(TimezonePeriod.new(DateTime.new(1986,9,27,21,0,0),DateTime.new(1987,3,28,21,0,0),18000,0,:'SHET')) +add_period(TimezonePeriod.new(DateTime.new(1987,3,28,21,0,0),DateTime.new(1987,9,26,21,0,0),18000,3600,:'SHEST')) +add_period(TimezonePeriod.new(DateTime.new(1987,9,26,21,0,0),DateTime.new(1988,3,26,21,0,0),18000,0,:'SHET')) +add_period(TimezonePeriod.new(DateTime.new(1988,3,26,21,0,0),DateTime.new(1988,9,24,21,0,0),18000,3600,:'SHEST')) +add_period(TimezonePeriod.new(DateTime.new(1988,9,24,21,0,0),DateTime.new(1989,3,25,21,0,0),18000,0,:'SHET')) +add_period(TimezonePeriod.new(DateTime.new(1989,3,25,21,0,0),DateTime.new(1989,9,23,21,0,0),18000,3600,:'SHEST')) +add_period(TimezonePeriod.new(DateTime.new(1989,9,23,21,0,0),DateTime.new(1990,3,24,21,0,0),18000,0,:'SHET')) +add_period(TimezonePeriod.new(DateTime.new(1990,3,24,21,0,0),DateTime.new(1990,9,29,21,0,0),18000,3600,:'SHEST')) +add_period(TimezonePeriod.new(DateTime.new(1990,9,29,21,0,0),DateTime.new(1990,12,31,19,0,0),18000,0,:'SHET')) +add_period(TimezonePeriod.new(DateTime.new(1990,12,31,19,0,0),DateTime.new(1991,12,15,19,0,0),18000,0,:'SHET')) +add_period(TimezonePeriod.new(DateTime.new(1991,12,15,19,0,0),DateTime.new(1992,3,28,18,0,0),18000,0,:'AQTT')) +add_period(TimezonePeriod.new(DateTime.new(1992,3,28,18,0,0),DateTime.new(1992,9,26,17,0,0),18000,3600,:'AQTST')) +add_period(TimezonePeriod.new(DateTime.new(1992,9,26,17,0,0),DateTime.new(1993,3,27,21,0,0),18000,0,:'AQTT')) +add_period(TimezonePeriod.new(DateTime.new(1993,3,27,21,0,0),DateTime.new(1993,9,25,21,0,0),18000,3600,:'AQTST')) +add_period(TimezonePeriod.new(DateTime.new(1993,9,25,21,0,0),DateTime.new(1994,3,26,21,0,0),18000,0,:'AQTT')) +add_period(TimezonePeriod.new(DateTime.new(1994,3,26,21,0,0),DateTime.new(1994,9,24,21,0,0),18000,3600,:'AQTST')) +add_period(TimezonePeriod.new(DateTime.new(1994,9,24,21,0,0),DateTime.new(1995,3,25,21,0,0),18000,0,:'AQTT')) +add_period(TimezonePeriod.new(DateTime.new(1995,3,25,21,0,0),DateTime.new(1995,9,23,22,0,0),14400,3600,:'AQTST')) +add_period(TimezonePeriod.new(DateTime.new(1995,9,23,22,0,0),DateTime.new(1996,3,30,22,0,0),14400,0,:'AQTT')) +add_period(TimezonePeriod.new(DateTime.new(1996,3,30,22,0,0),DateTime.new(1996,10,26,22,0,0),14400,3600,:'AQTST')) +add_period(TimezonePeriod.new(DateTime.new(1996,10,26,22,0,0),DateTime.new(1997,3,29,22,0,0),14400,0,:'AQTT')) +add_period(TimezonePeriod.new(DateTime.new(1997,3,29,22,0,0),DateTime.new(1997,10,25,22,0,0),14400,3600,:'AQTST')) +add_period(TimezonePeriod.new(DateTime.new(1997,10,25,22,0,0),DateTime.new(1998,3,28,22,0,0),14400,0,:'AQTT')) +add_period(TimezonePeriod.new(DateTime.new(1998,3,28,22,0,0),DateTime.new(1998,10,24,22,0,0),14400,3600,:'AQTST')) +add_period(TimezonePeriod.new(DateTime.new(1998,10,24,22,0,0),DateTime.new(1999,3,27,22,0,0),14400,0,:'AQTT')) +add_period(TimezonePeriod.new(DateTime.new(1999,3,27,22,0,0),DateTime.new(1999,10,30,22,0,0),14400,3600,:'AQTST')) +add_period(TimezonePeriod.new(DateTime.new(1999,10,30,22,0,0),DateTime.new(2000,3,25,22,0,0),14400,0,:'AQTT')) +add_period(TimezonePeriod.new(DateTime.new(2000,3,25,22,0,0),DateTime.new(2000,10,28,22,0,0),14400,3600,:'AQTST')) +add_period(TimezonePeriod.new(DateTime.new(2000,10,28,22,0,0),DateTime.new(2001,3,24,22,0,0),14400,0,:'AQTT')) +add_period(TimezonePeriod.new(DateTime.new(2001,3,24,22,0,0),DateTime.new(2001,10,27,22,0,0),14400,3600,:'AQTST')) +add_period(TimezonePeriod.new(DateTime.new(2001,10,27,22,0,0),DateTime.new(2002,3,30,22,0,0),14400,0,:'AQTT')) +add_period(TimezonePeriod.new(DateTime.new(2002,3,30,22,0,0),DateTime.new(2002,10,26,22,0,0),14400,3600,:'AQTST')) +add_period(TimezonePeriod.new(DateTime.new(2002,10,26,22,0,0),DateTime.new(2003,3,29,22,0,0),14400,0,:'AQTT')) +add_period(TimezonePeriod.new(DateTime.new(2003,3,29,22,0,0),DateTime.new(2003,10,25,22,0,0),14400,3600,:'AQTST')) +add_period(TimezonePeriod.new(DateTime.new(2003,10,25,22,0,0),DateTime.new(2004,3,27,22,0,0),14400,0,:'AQTT')) +add_period(TimezonePeriod.new(DateTime.new(2004,3,27,22,0,0),DateTime.new(2004,10,30,22,0,0),14400,3600,:'AQTST')) +add_period(TimezonePeriod.new(DateTime.new(2004,10,30,22,0,0),DateTime.new(2005,3,14,20,0,0),14400,0,:'AQTT')) +add_period(TimezonePeriod.new(DateTime.new(2005,3,14,20,0,0),nil,18000,0,:'AQTT')) end end end end