time_crisis 0.1.8 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +2 -2
- data/lib/time_crisis.rb +5 -12
- data/lib/time_crisis/ext.rb +60 -0
- data/lib/time_crisis/support/conversions.rb +4 -0
- data/lib/time_crisis/tzinfo.rb +3 -0
- data/lib/time_crisis/tzinfo/LICENSE +21 -0
- data/lib/time_crisis/tzinfo/data_timezone.rb +27 -0
- data/lib/time_crisis/tzinfo/data_timezone_info.rb +208 -0
- data/lib/time_crisis/tzinfo/definitions/Africa/Algiers.rb +55 -0
- data/lib/time_crisis/tzinfo/definitions/Africa/Cairo.rb +219 -0
- data/lib/time_crisis/tzinfo/definitions/Africa/Casablanca.rb +42 -0
- data/lib/time_crisis/tzinfo/definitions/Africa/Harare.rb +18 -0
- data/lib/time_crisis/tzinfo/definitions/Africa/Johannesburg.rb +25 -0
- data/lib/time_crisis/tzinfo/definitions/Africa/Monrovia.rb +22 -0
- data/lib/time_crisis/tzinfo/definitions/Africa/Nairobi.rb +23 -0
- data/lib/time_crisis/tzinfo/definitions/America/Argentina/Buenos_Aires.rb +84 -0
- data/lib/time_crisis/tzinfo/definitions/America/Argentina/San_Juan.rb +86 -0
- data/lib/time_crisis/tzinfo/definitions/America/Bogota.rb +23 -0
- data/lib/time_crisis/tzinfo/definitions/America/Caracas.rb +23 -0
- data/lib/time_crisis/tzinfo/definitions/America/Chicago.rb +283 -0
- data/lib/time_crisis/tzinfo/definitions/America/Chihuahua.rb +136 -0
- data/lib/time_crisis/tzinfo/definitions/America/Denver.rb +204 -0
- data/lib/time_crisis/tzinfo/definitions/America/Godthab.rb +161 -0
- data/lib/time_crisis/tzinfo/definitions/America/Guatemala.rb +27 -0
- data/lib/time_crisis/tzinfo/definitions/America/Halifax.rb +274 -0
- data/lib/time_crisis/tzinfo/definitions/America/Indiana/Indianapolis.rb +149 -0
- data/lib/time_crisis/tzinfo/definitions/America/Juneau.rb +194 -0
- data/lib/time_crisis/tzinfo/definitions/America/La_Paz.rb +22 -0
- data/lib/time_crisis/tzinfo/definitions/America/Lima.rb +35 -0
- data/lib/time_crisis/tzinfo/definitions/America/Los_Angeles.rb +232 -0
- data/lib/time_crisis/tzinfo/definitions/America/Mazatlan.rb +139 -0
- data/lib/time_crisis/tzinfo/definitions/America/Mexico_City.rb +144 -0
- data/lib/time_crisis/tzinfo/definitions/America/Monterrey.rb +131 -0
- data/lib/time_crisis/tzinfo/definitions/America/New_York.rb +282 -0
- data/lib/time_crisis/tzinfo/definitions/America/Phoenix.rb +30 -0
- data/lib/time_crisis/tzinfo/definitions/America/Regina.rb +74 -0
- data/lib/time_crisis/tzinfo/definitions/America/Santiago.rb +205 -0
- data/lib/time_crisis/tzinfo/definitions/America/Sao_Paulo.rb +171 -0
- data/lib/time_crisis/tzinfo/definitions/America/St_Johns.rb +288 -0
- data/lib/time_crisis/tzinfo/definitions/America/Tijuana.rb +196 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Almaty.rb +67 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Baghdad.rb +73 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Baku.rb +161 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Bangkok.rb +20 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Chongqing.rb +33 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Colombo.rb +30 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Dhaka.rb +29 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Hong_Kong.rb +87 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Irkutsk.rb +165 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Jakarta.rb +30 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Jerusalem.rb +163 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Kabul.rb +20 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Kamchatka.rb +163 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Karachi.rb +114 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Kathmandu.rb +20 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Kolkata.rb +25 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Krasnoyarsk.rb +163 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Kuala_Lumpur.rb +31 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Kuwait.rb +18 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Magadan.rb +163 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Muscat.rb +18 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Novosibirsk.rb +164 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Rangoon.rb +24 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Riyadh.rb +18 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Seoul.rb +34 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Shanghai.rb +35 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Singapore.rb +33 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Taipei.rb +59 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Tashkent.rb +47 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Tbilisi.rb +78 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Tehran.rb +121 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Tokyo.rb +30 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Ulaanbaatar.rb +65 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Urumqi.rb +33 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Vladivostok.rb +164 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Yakutsk.rb +163 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Yekaterinburg.rb +165 -0
- data/lib/time_crisis/tzinfo/definitions/Asia/Yerevan.rb +165 -0
- data/lib/time_crisis/tzinfo/definitions/Atlantic/Azores.rb +270 -0
- data/lib/time_crisis/tzinfo/definitions/Atlantic/Cape_Verde.rb +23 -0
- data/lib/time_crisis/tzinfo/definitions/Atlantic/South_Georgia.rb +18 -0
- data/lib/time_crisis/tzinfo/definitions/Australia/Adelaide.rb +187 -0
- data/lib/time_crisis/tzinfo/definitions/Australia/Brisbane.rb +35 -0
- data/lib/time_crisis/tzinfo/definitions/Australia/Darwin.rb +29 -0
- data/lib/time_crisis/tzinfo/definitions/Australia/Hobart.rb +193 -0
- data/lib/time_crisis/tzinfo/definitions/Australia/Melbourne.rb +185 -0
- data/lib/time_crisis/tzinfo/definitions/Australia/Perth.rb +37 -0
- data/lib/time_crisis/tzinfo/definitions/Australia/Sydney.rb +185 -0
- data/lib/time_crisis/tzinfo/definitions/Etc/UTC.rb +16 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Amsterdam.rb +228 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Athens.rb +185 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Belgrade.rb +163 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Berlin.rb +188 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Bratislava.rb +13 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Brussels.rb +232 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Bucharest.rb +181 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Budapest.rb +197 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Copenhagen.rb +179 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Dublin.rb +276 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Helsinki.rb +163 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Istanbul.rb +218 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Kiev.rb +168 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Lisbon.rb +268 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Ljubljana.rb +13 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/London.rb +288 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Madrid.rb +211 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Minsk.rb +170 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Moscow.rb +181 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Paris.rb +232 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Prague.rb +187 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Riga.rb +176 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Rome.rb +215 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Sarajevo.rb +13 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Skopje.rb +13 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Sofia.rb +173 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Stockholm.rb +165 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Tallinn.rb +172 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Vienna.rb +183 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Vilnius.rb +170 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Warsaw.rb +212 -0
- data/lib/time_crisis/tzinfo/definitions/Europe/Zagreb.rb +13 -0
- data/lib/time_crisis/tzinfo/definitions/Pacific/Auckland.rb +202 -0
- data/lib/time_crisis/tzinfo/definitions/Pacific/Fiji.rb +23 -0
- data/lib/time_crisis/tzinfo/definitions/Pacific/Guam.rb +22 -0
- data/lib/time_crisis/tzinfo/definitions/Pacific/Honolulu.rb +28 -0
- data/lib/time_crisis/tzinfo/definitions/Pacific/Majuro.rb +20 -0
- data/lib/time_crisis/tzinfo/definitions/Pacific/Midway.rb +25 -0
- data/lib/time_crisis/tzinfo/definitions/Pacific/Noumea.rb +25 -0
- data/lib/time_crisis/tzinfo/definitions/Pacific/Pago_Pago.rb +26 -0
- data/lib/time_crisis/tzinfo/definitions/Pacific/Port_Moresby.rb +20 -0
- data/lib/time_crisis/tzinfo/definitions/Pacific/Tongatapu.rb +27 -0
- data/lib/time_crisis/tzinfo/info_timezone.rb +32 -0
- data/lib/time_crisis/tzinfo/linked_timezone.rb +32 -0
- data/lib/time_crisis/tzinfo/linked_timezone_info.rb +24 -0
- data/lib/time_crisis/tzinfo/offset_rationals.rb +79 -0
- data/lib/time_crisis/tzinfo/ruby_core_support.rb +33 -0
- data/lib/time_crisis/tzinfo/time_or_datetime.rb +309 -0
- data/lib/time_crisis/tzinfo/timezone.rb +486 -0
- data/lib/time_crisis/tzinfo/timezone_definition.rb +36 -0
- data/lib/time_crisis/tzinfo/timezone_info.rb +20 -0
- data/lib/time_crisis/tzinfo/timezone_offset_info.rb +75 -0
- data/lib/time_crisis/tzinfo/timezone_period.rb +179 -0
- data/lib/time_crisis/tzinfo/timezone_transition_info.rb +109 -0
- data/time_crisis.gemspec +142 -2
- metadata +142 -2
@@ -0,0 +1,67 @@
|
|
1
|
+
require 'time_crisis/tzinfo/timezone_definition'
|
2
|
+
|
3
|
+
module TimeCrisis::TZInfo
|
4
|
+
module Definitions
|
5
|
+
module Asia
|
6
|
+
module Almaty
|
7
|
+
include TimezoneDefinition
|
8
|
+
|
9
|
+
timezone 'Asia/Almaty' do |tz|
|
10
|
+
tz.offset :o0, 18468, 0, :LMT
|
11
|
+
tz.offset :o1, 18000, 0, :ALMT
|
12
|
+
tz.offset :o2, 21600, 0, :ALMT
|
13
|
+
tz.offset :o3, 21600, 3600, :ALMST
|
14
|
+
|
15
|
+
tz.transition 1924, 5, :o1, 1939125829, 800
|
16
|
+
tz.transition 1930, 6, :o2, 58227559, 24
|
17
|
+
tz.transition 1981, 3, :o3, 354909600
|
18
|
+
tz.transition 1981, 9, :o2, 370717200
|
19
|
+
tz.transition 1982, 3, :o3, 386445600
|
20
|
+
tz.transition 1982, 9, :o2, 402253200
|
21
|
+
tz.transition 1983, 3, :o3, 417981600
|
22
|
+
tz.transition 1983, 9, :o2, 433789200
|
23
|
+
tz.transition 1984, 3, :o3, 449604000
|
24
|
+
tz.transition 1984, 9, :o2, 465336000
|
25
|
+
tz.transition 1985, 3, :o3, 481060800
|
26
|
+
tz.transition 1985, 9, :o2, 496785600
|
27
|
+
tz.transition 1986, 3, :o3, 512510400
|
28
|
+
tz.transition 1986, 9, :o2, 528235200
|
29
|
+
tz.transition 1987, 3, :o3, 543960000
|
30
|
+
tz.transition 1987, 9, :o2, 559684800
|
31
|
+
tz.transition 1988, 3, :o3, 575409600
|
32
|
+
tz.transition 1988, 9, :o2, 591134400
|
33
|
+
tz.transition 1989, 3, :o3, 606859200
|
34
|
+
tz.transition 1989, 9, :o2, 622584000
|
35
|
+
tz.transition 1990, 3, :o3, 638308800
|
36
|
+
tz.transition 1990, 9, :o2, 654638400
|
37
|
+
tz.transition 1992, 3, :o3, 701802000
|
38
|
+
tz.transition 1992, 9, :o2, 717523200
|
39
|
+
tz.transition 1993, 3, :o3, 733262400
|
40
|
+
tz.transition 1993, 9, :o2, 748987200
|
41
|
+
tz.transition 1994, 3, :o3, 764712000
|
42
|
+
tz.transition 1994, 9, :o2, 780436800
|
43
|
+
tz.transition 1995, 3, :o3, 796161600
|
44
|
+
tz.transition 1995, 9, :o2, 811886400
|
45
|
+
tz.transition 1996, 3, :o3, 828216000
|
46
|
+
tz.transition 1996, 10, :o2, 846360000
|
47
|
+
tz.transition 1997, 3, :o3, 859665600
|
48
|
+
tz.transition 1997, 10, :o2, 877809600
|
49
|
+
tz.transition 1998, 3, :o3, 891115200
|
50
|
+
tz.transition 1998, 10, :o2, 909259200
|
51
|
+
tz.transition 1999, 3, :o3, 922564800
|
52
|
+
tz.transition 1999, 10, :o2, 941313600
|
53
|
+
tz.transition 2000, 3, :o3, 954014400
|
54
|
+
tz.transition 2000, 10, :o2, 972763200
|
55
|
+
tz.transition 2001, 3, :o3, 985464000
|
56
|
+
tz.transition 2001, 10, :o2, 1004212800
|
57
|
+
tz.transition 2002, 3, :o3, 1017518400
|
58
|
+
tz.transition 2002, 10, :o2, 1035662400
|
59
|
+
tz.transition 2003, 3, :o3, 1048968000
|
60
|
+
tz.transition 2003, 10, :o2, 1067112000
|
61
|
+
tz.transition 2004, 3, :o3, 1080417600
|
62
|
+
tz.transition 2004, 10, :o2, 1099166400
|
63
|
+
end
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
@@ -0,0 +1,73 @@
|
|
1
|
+
require 'time_crisis/tzinfo/timezone_definition'
|
2
|
+
|
3
|
+
module TimeCrisis::TZInfo
|
4
|
+
module Definitions
|
5
|
+
module Asia
|
6
|
+
module Baghdad
|
7
|
+
include TimezoneDefinition
|
8
|
+
|
9
|
+
timezone 'Asia/Baghdad' do |tz|
|
10
|
+
tz.offset :o0, 10660, 0, :LMT
|
11
|
+
tz.offset :o1, 10656, 0, :BMT
|
12
|
+
tz.offset :o2, 10800, 0, :AST
|
13
|
+
tz.offset :o3, 10800, 3600, :ADT
|
14
|
+
|
15
|
+
tz.transition 1889, 12, :o1, 10417111387, 4320
|
16
|
+
tz.transition 1917, 12, :o2, 726478313, 300
|
17
|
+
tz.transition 1982, 4, :o3, 389048400
|
18
|
+
tz.transition 1982, 9, :o2, 402264000
|
19
|
+
tz.transition 1983, 3, :o3, 417906000
|
20
|
+
tz.transition 1983, 9, :o2, 433800000
|
21
|
+
tz.transition 1984, 3, :o3, 449614800
|
22
|
+
tz.transition 1984, 9, :o2, 465422400
|
23
|
+
tz.transition 1985, 3, :o3, 481150800
|
24
|
+
tz.transition 1985, 9, :o2, 496792800
|
25
|
+
tz.transition 1986, 3, :o3, 512517600
|
26
|
+
tz.transition 1986, 9, :o2, 528242400
|
27
|
+
tz.transition 1987, 3, :o3, 543967200
|
28
|
+
tz.transition 1987, 9, :o2, 559692000
|
29
|
+
tz.transition 1988, 3, :o3, 575416800
|
30
|
+
tz.transition 1988, 9, :o2, 591141600
|
31
|
+
tz.transition 1989, 3, :o3, 606866400
|
32
|
+
tz.transition 1989, 9, :o2, 622591200
|
33
|
+
tz.transition 1990, 3, :o3, 638316000
|
34
|
+
tz.transition 1990, 9, :o2, 654645600
|
35
|
+
tz.transition 1991, 4, :o3, 670464000
|
36
|
+
tz.transition 1991, 10, :o2, 686275200
|
37
|
+
tz.transition 1992, 4, :o3, 702086400
|
38
|
+
tz.transition 1992, 10, :o2, 717897600
|
39
|
+
tz.transition 1993, 4, :o3, 733622400
|
40
|
+
tz.transition 1993, 10, :o2, 749433600
|
41
|
+
tz.transition 1994, 4, :o3, 765158400
|
42
|
+
tz.transition 1994, 10, :o2, 780969600
|
43
|
+
tz.transition 1995, 4, :o3, 796694400
|
44
|
+
tz.transition 1995, 10, :o2, 812505600
|
45
|
+
tz.transition 1996, 4, :o3, 828316800
|
46
|
+
tz.transition 1996, 10, :o2, 844128000
|
47
|
+
tz.transition 1997, 4, :o3, 859852800
|
48
|
+
tz.transition 1997, 10, :o2, 875664000
|
49
|
+
tz.transition 1998, 4, :o3, 891388800
|
50
|
+
tz.transition 1998, 10, :o2, 907200000
|
51
|
+
tz.transition 1999, 4, :o3, 922924800
|
52
|
+
tz.transition 1999, 10, :o2, 938736000
|
53
|
+
tz.transition 2000, 4, :o3, 954547200
|
54
|
+
tz.transition 2000, 10, :o2, 970358400
|
55
|
+
tz.transition 2001, 4, :o3, 986083200
|
56
|
+
tz.transition 2001, 10, :o2, 1001894400
|
57
|
+
tz.transition 2002, 4, :o3, 1017619200
|
58
|
+
tz.transition 2002, 10, :o2, 1033430400
|
59
|
+
tz.transition 2003, 4, :o3, 1049155200
|
60
|
+
tz.transition 2003, 10, :o2, 1064966400
|
61
|
+
tz.transition 2004, 4, :o3, 1080777600
|
62
|
+
tz.transition 2004, 10, :o2, 1096588800
|
63
|
+
tz.transition 2005, 4, :o3, 1112313600
|
64
|
+
tz.transition 2005, 10, :o2, 1128124800
|
65
|
+
tz.transition 2006, 4, :o3, 1143849600
|
66
|
+
tz.transition 2006, 10, :o2, 1159660800
|
67
|
+
tz.transition 2007, 4, :o3, 1175385600
|
68
|
+
tz.transition 2007, 10, :o2, 1191196800
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
@@ -0,0 +1,161 @@
|
|
1
|
+
require 'time_crisis/tzinfo/timezone_definition'
|
2
|
+
|
3
|
+
module TimeCrisis::TZInfo
|
4
|
+
module Definitions
|
5
|
+
module Asia
|
6
|
+
module Baku
|
7
|
+
include TimezoneDefinition
|
8
|
+
|
9
|
+
timezone 'Asia/Baku' do |tz|
|
10
|
+
tz.offset :o0, 11964, 0, :LMT
|
11
|
+
tz.offset :o1, 10800, 0, :BAKT
|
12
|
+
tz.offset :o2, 14400, 0, :BAKT
|
13
|
+
tz.offset :o3, 14400, 3600, :BAKST
|
14
|
+
tz.offset :o4, 10800, 3600, :BAKST
|
15
|
+
tz.offset :o5, 10800, 3600, :AZST
|
16
|
+
tz.offset :o6, 10800, 0, :AZT
|
17
|
+
tz.offset :o7, 14400, 0, :AZT
|
18
|
+
tz.offset :o8, 14400, 3600, :AZST
|
19
|
+
|
20
|
+
tz.transition 1924, 5, :o1, 17452133003, 7200
|
21
|
+
tz.transition 1957, 2, :o2, 19487187, 8
|
22
|
+
tz.transition 1981, 3, :o3, 354916800
|
23
|
+
tz.transition 1981, 9, :o2, 370724400
|
24
|
+
tz.transition 1982, 3, :o3, 386452800
|
25
|
+
tz.transition 1982, 9, :o2, 402260400
|
26
|
+
tz.transition 1983, 3, :o3, 417988800
|
27
|
+
tz.transition 1983, 9, :o2, 433796400
|
28
|
+
tz.transition 1984, 3, :o3, 449611200
|
29
|
+
tz.transition 1984, 9, :o2, 465343200
|
30
|
+
tz.transition 1985, 3, :o3, 481068000
|
31
|
+
tz.transition 1985, 9, :o2, 496792800
|
32
|
+
tz.transition 1986, 3, :o3, 512517600
|
33
|
+
tz.transition 1986, 9, :o2, 528242400
|
34
|
+
tz.transition 1987, 3, :o3, 543967200
|
35
|
+
tz.transition 1987, 9, :o2, 559692000
|
36
|
+
tz.transition 1988, 3, :o3, 575416800
|
37
|
+
tz.transition 1988, 9, :o2, 591141600
|
38
|
+
tz.transition 1989, 3, :o3, 606866400
|
39
|
+
tz.transition 1989, 9, :o2, 622591200
|
40
|
+
tz.transition 1990, 3, :o3, 638316000
|
41
|
+
tz.transition 1990, 9, :o2, 654645600
|
42
|
+
tz.transition 1991, 3, :o4, 670370400
|
43
|
+
tz.transition 1991, 8, :o5, 683496000
|
44
|
+
tz.transition 1991, 9, :o6, 686098800
|
45
|
+
tz.transition 1992, 3, :o5, 701812800
|
46
|
+
tz.transition 1992, 9, :o7, 717534000
|
47
|
+
tz.transition 1996, 3, :o8, 828234000
|
48
|
+
tz.transition 1996, 10, :o7, 846378000
|
49
|
+
tz.transition 1997, 3, :o8, 859680000
|
50
|
+
tz.transition 1997, 10, :o7, 877824000
|
51
|
+
tz.transition 1998, 3, :o8, 891129600
|
52
|
+
tz.transition 1998, 10, :o7, 909273600
|
53
|
+
tz.transition 1999, 3, :o8, 922579200
|
54
|
+
tz.transition 1999, 10, :o7, 941328000
|
55
|
+
tz.transition 2000, 3, :o8, 954028800
|
56
|
+
tz.transition 2000, 10, :o7, 972777600
|
57
|
+
tz.transition 2001, 3, :o8, 985478400
|
58
|
+
tz.transition 2001, 10, :o7, 1004227200
|
59
|
+
tz.transition 2002, 3, :o8, 1017532800
|
60
|
+
tz.transition 2002, 10, :o7, 1035676800
|
61
|
+
tz.transition 2003, 3, :o8, 1048982400
|
62
|
+
tz.transition 2003, 10, :o7, 1067126400
|
63
|
+
tz.transition 2004, 3, :o8, 1080432000
|
64
|
+
tz.transition 2004, 10, :o7, 1099180800
|
65
|
+
tz.transition 2005, 3, :o8, 1111881600
|
66
|
+
tz.transition 2005, 10, :o7, 1130630400
|
67
|
+
tz.transition 2006, 3, :o8, 1143331200
|
68
|
+
tz.transition 2006, 10, :o7, 1162080000
|
69
|
+
tz.transition 2007, 3, :o8, 1174780800
|
70
|
+
tz.transition 2007, 10, :o7, 1193529600
|
71
|
+
tz.transition 2008, 3, :o8, 1206835200
|
72
|
+
tz.transition 2008, 10, :o7, 1224979200
|
73
|
+
tz.transition 2009, 3, :o8, 1238284800
|
74
|
+
tz.transition 2009, 10, :o7, 1256428800
|
75
|
+
tz.transition 2010, 3, :o8, 1269734400
|
76
|
+
tz.transition 2010, 10, :o7, 1288483200
|
77
|
+
tz.transition 2011, 3, :o8, 1301184000
|
78
|
+
tz.transition 2011, 10, :o7, 1319932800
|
79
|
+
tz.transition 2012, 3, :o8, 1332633600
|
80
|
+
tz.transition 2012, 10, :o7, 1351382400
|
81
|
+
tz.transition 2013, 3, :o8, 1364688000
|
82
|
+
tz.transition 2013, 10, :o7, 1382832000
|
83
|
+
tz.transition 2014, 3, :o8, 1396137600
|
84
|
+
tz.transition 2014, 10, :o7, 1414281600
|
85
|
+
tz.transition 2015, 3, :o8, 1427587200
|
86
|
+
tz.transition 2015, 10, :o7, 1445731200
|
87
|
+
tz.transition 2016, 3, :o8, 1459036800
|
88
|
+
tz.transition 2016, 10, :o7, 1477785600
|
89
|
+
tz.transition 2017, 3, :o8, 1490486400
|
90
|
+
tz.transition 2017, 10, :o7, 1509235200
|
91
|
+
tz.transition 2018, 3, :o8, 1521936000
|
92
|
+
tz.transition 2018, 10, :o7, 1540684800
|
93
|
+
tz.transition 2019, 3, :o8, 1553990400
|
94
|
+
tz.transition 2019, 10, :o7, 1572134400
|
95
|
+
tz.transition 2020, 3, :o8, 1585440000
|
96
|
+
tz.transition 2020, 10, :o7, 1603584000
|
97
|
+
tz.transition 2021, 3, :o8, 1616889600
|
98
|
+
tz.transition 2021, 10, :o7, 1635638400
|
99
|
+
tz.transition 2022, 3, :o8, 1648339200
|
100
|
+
tz.transition 2022, 10, :o7, 1667088000
|
101
|
+
tz.transition 2023, 3, :o8, 1679788800
|
102
|
+
tz.transition 2023, 10, :o7, 1698537600
|
103
|
+
tz.transition 2024, 3, :o8, 1711843200
|
104
|
+
tz.transition 2024, 10, :o7, 1729987200
|
105
|
+
tz.transition 2025, 3, :o8, 1743292800
|
106
|
+
tz.transition 2025, 10, :o7, 1761436800
|
107
|
+
tz.transition 2026, 3, :o8, 1774742400
|
108
|
+
tz.transition 2026, 10, :o7, 1792886400
|
109
|
+
tz.transition 2027, 3, :o8, 1806192000
|
110
|
+
tz.transition 2027, 10, :o7, 1824940800
|
111
|
+
tz.transition 2028, 3, :o8, 1837641600
|
112
|
+
tz.transition 2028, 10, :o7, 1856390400
|
113
|
+
tz.transition 2029, 3, :o8, 1869091200
|
114
|
+
tz.transition 2029, 10, :o7, 1887840000
|
115
|
+
tz.transition 2030, 3, :o8, 1901145600
|
116
|
+
tz.transition 2030, 10, :o7, 1919289600
|
117
|
+
tz.transition 2031, 3, :o8, 1932595200
|
118
|
+
tz.transition 2031, 10, :o7, 1950739200
|
119
|
+
tz.transition 2032, 3, :o8, 1964044800
|
120
|
+
tz.transition 2032, 10, :o7, 1982793600
|
121
|
+
tz.transition 2033, 3, :o8, 1995494400
|
122
|
+
tz.transition 2033, 10, :o7, 2014243200
|
123
|
+
tz.transition 2034, 3, :o8, 2026944000
|
124
|
+
tz.transition 2034, 10, :o7, 2045692800
|
125
|
+
tz.transition 2035, 3, :o8, 2058393600
|
126
|
+
tz.transition 2035, 10, :o7, 2077142400
|
127
|
+
tz.transition 2036, 3, :o8, 2090448000
|
128
|
+
tz.transition 2036, 10, :o7, 2108592000
|
129
|
+
tz.transition 2037, 3, :o8, 2121897600
|
130
|
+
tz.transition 2037, 10, :o7, 2140041600
|
131
|
+
tz.transition 2038, 3, :o8, 4931021, 2
|
132
|
+
tz.transition 2038, 10, :o7, 4931455, 2
|
133
|
+
tz.transition 2039, 3, :o8, 4931749, 2
|
134
|
+
tz.transition 2039, 10, :o7, 4932183, 2
|
135
|
+
tz.transition 2040, 3, :o8, 4932477, 2
|
136
|
+
tz.transition 2040, 10, :o7, 4932911, 2
|
137
|
+
tz.transition 2041, 3, :o8, 4933219, 2
|
138
|
+
tz.transition 2041, 10, :o7, 4933639, 2
|
139
|
+
tz.transition 2042, 3, :o8, 4933947, 2
|
140
|
+
tz.transition 2042, 10, :o7, 4934367, 2
|
141
|
+
tz.transition 2043, 3, :o8, 4934675, 2
|
142
|
+
tz.transition 2043, 10, :o7, 4935095, 2
|
143
|
+
tz.transition 2044, 3, :o8, 4935403, 2
|
144
|
+
tz.transition 2044, 10, :o7, 4935837, 2
|
145
|
+
tz.transition 2045, 3, :o8, 4936131, 2
|
146
|
+
tz.transition 2045, 10, :o7, 4936565, 2
|
147
|
+
tz.transition 2046, 3, :o8, 4936859, 2
|
148
|
+
tz.transition 2046, 10, :o7, 4937293, 2
|
149
|
+
tz.transition 2047, 3, :o8, 4937601, 2
|
150
|
+
tz.transition 2047, 10, :o7, 4938021, 2
|
151
|
+
tz.transition 2048, 3, :o8, 4938329, 2
|
152
|
+
tz.transition 2048, 10, :o7, 4938749, 2
|
153
|
+
tz.transition 2049, 3, :o8, 4939057, 2
|
154
|
+
tz.transition 2049, 10, :o7, 4939491, 2
|
155
|
+
tz.transition 2050, 3, :o8, 4939785, 2
|
156
|
+
tz.transition 2050, 10, :o7, 4940219, 2
|
157
|
+
end
|
158
|
+
end
|
159
|
+
end
|
160
|
+
end
|
161
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
require 'time_crisis/tzinfo/timezone_definition'
|
2
|
+
|
3
|
+
module TimeCrisis::TZInfo
|
4
|
+
module Definitions
|
5
|
+
module Asia
|
6
|
+
module Bangkok
|
7
|
+
include TimezoneDefinition
|
8
|
+
|
9
|
+
timezone 'Asia/Bangkok' do |tz|
|
10
|
+
tz.offset :o0, 24124, 0, :LMT
|
11
|
+
tz.offset :o1, 24124, 0, :BMT
|
12
|
+
tz.offset :o2, 25200, 0, :ICT
|
13
|
+
|
14
|
+
tz.transition 1879, 12, :o1, 52006648769, 21600
|
15
|
+
tz.transition 1920, 3, :o2, 52324168769, 21600
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
require 'time_crisis/tzinfo/timezone_definition'
|
2
|
+
|
3
|
+
module TimeCrisis::TZInfo
|
4
|
+
module Definitions
|
5
|
+
module Asia
|
6
|
+
module Chongqing
|
7
|
+
include TimezoneDefinition
|
8
|
+
|
9
|
+
timezone 'Asia/Chongqing' do |tz|
|
10
|
+
tz.offset :o0, 25580, 0, :LMT
|
11
|
+
tz.offset :o1, 25200, 0, :LONT
|
12
|
+
tz.offset :o2, 28800, 0, :CST
|
13
|
+
tz.offset :o3, 28800, 3600, :CDT
|
14
|
+
|
15
|
+
tz.transition 1927, 12, :o1, 10477063601, 4320
|
16
|
+
tz.transition 1980, 4, :o2, 325962000
|
17
|
+
tz.transition 1986, 5, :o3, 515520000
|
18
|
+
tz.transition 1986, 9, :o2, 527007600
|
19
|
+
tz.transition 1987, 4, :o3, 545155200
|
20
|
+
tz.transition 1987, 9, :o2, 558457200
|
21
|
+
tz.transition 1988, 4, :o3, 576604800
|
22
|
+
tz.transition 1988, 9, :o2, 589906800
|
23
|
+
tz.transition 1989, 4, :o3, 608659200
|
24
|
+
tz.transition 1989, 9, :o2, 621961200
|
25
|
+
tz.transition 1990, 4, :o3, 640108800
|
26
|
+
tz.transition 1990, 9, :o2, 653410800
|
27
|
+
tz.transition 1991, 4, :o3, 671558400
|
28
|
+
tz.transition 1991, 9, :o2, 684860400
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
require 'time_crisis/tzinfo/timezone_definition'
|
2
|
+
|
3
|
+
module TimeCrisis::TZInfo
|
4
|
+
module Definitions
|
5
|
+
module Asia
|
6
|
+
module Colombo
|
7
|
+
include TimezoneDefinition
|
8
|
+
|
9
|
+
timezone 'Asia/Colombo' do |tz|
|
10
|
+
tz.offset :o0, 19164, 0, :LMT
|
11
|
+
tz.offset :o1, 19172, 0, :MMT
|
12
|
+
tz.offset :o2, 19800, 0, :IST
|
13
|
+
tz.offset :o3, 19800, 1800, :IHST
|
14
|
+
tz.offset :o4, 19800, 3600, :IST
|
15
|
+
tz.offset :o5, 23400, 0, :LKT
|
16
|
+
tz.offset :o6, 21600, 0, :LKT
|
17
|
+
|
18
|
+
tz.transition 1879, 12, :o1, 17335550003, 7200
|
19
|
+
tz.transition 1905, 12, :o2, 52211763607, 21600
|
20
|
+
tz.transition 1942, 1, :o3, 116657485, 48
|
21
|
+
tz.transition 1942, 8, :o4, 9722413, 4
|
22
|
+
tz.transition 1945, 10, :o2, 38907909, 16
|
23
|
+
tz.transition 1996, 5, :o5, 832962600
|
24
|
+
tz.transition 1996, 10, :o6, 846266400
|
25
|
+
tz.transition 2006, 4, :o2, 1145039400
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
require 'time_crisis/tzinfo/timezone_definition'
|
2
|
+
|
3
|
+
module TimeCrisis::TZInfo
|
4
|
+
module Definitions
|
5
|
+
module Asia
|
6
|
+
module Dhaka
|
7
|
+
include TimezoneDefinition
|
8
|
+
|
9
|
+
timezone 'Asia/Dhaka' do |tz|
|
10
|
+
tz.offset :o0, 21700, 0, :LMT
|
11
|
+
tz.offset :o1, 21200, 0, :HMT
|
12
|
+
tz.offset :o2, 23400, 0, :BURT
|
13
|
+
tz.offset :o3, 19800, 0, :IST
|
14
|
+
tz.offset :o4, 21600, 0, :DACT
|
15
|
+
tz.offset :o5, 21600, 0, :BDT
|
16
|
+
tz.offset :o6, 21600, 3600, :BDST
|
17
|
+
|
18
|
+
tz.transition 1889, 12, :o1, 2083422167, 864
|
19
|
+
tz.transition 1941, 9, :o2, 524937943, 216
|
20
|
+
tz.transition 1942, 5, :o3, 116663723, 48
|
21
|
+
tz.transition 1942, 8, :o2, 116668957, 48
|
22
|
+
tz.transition 1951, 9, :o4, 116828123, 48
|
23
|
+
tz.transition 1971, 3, :o5, 38772000
|
24
|
+
tz.transition 2009, 6, :o6, 1245430800
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,87 @@
|
|
1
|
+
require 'time_crisis/tzinfo/timezone_definition'
|
2
|
+
|
3
|
+
module TimeCrisis::TZInfo
|
4
|
+
module Definitions
|
5
|
+
module Asia
|
6
|
+
module Hong_Kong
|
7
|
+
include TimezoneDefinition
|
8
|
+
|
9
|
+
timezone 'Asia/Hong_Kong' do |tz|
|
10
|
+
tz.offset :o0, 27396, 0, :LMT
|
11
|
+
tz.offset :o1, 28800, 0, :HKT
|
12
|
+
tz.offset :o2, 28800, 3600, :HKST
|
13
|
+
|
14
|
+
tz.transition 1904, 10, :o1, 5800279639, 2400
|
15
|
+
tz.transition 1946, 4, :o2, 38910885, 16
|
16
|
+
tz.transition 1946, 11, :o1, 116743453, 48
|
17
|
+
tz.transition 1947, 4, :o2, 38916613, 16
|
18
|
+
tz.transition 1947, 12, :o1, 116762365, 48
|
19
|
+
tz.transition 1948, 5, :o2, 38922773, 16
|
20
|
+
tz.transition 1948, 10, :o1, 116777053, 48
|
21
|
+
tz.transition 1949, 4, :o2, 38928149, 16
|
22
|
+
tz.transition 1949, 10, :o1, 116794525, 48
|
23
|
+
tz.transition 1950, 4, :o2, 38933973, 16
|
24
|
+
tz.transition 1950, 10, :o1, 116811997, 48
|
25
|
+
tz.transition 1951, 3, :o2, 38939797, 16
|
26
|
+
tz.transition 1951, 10, :o1, 116829469, 48
|
27
|
+
tz.transition 1952, 4, :o2, 38945733, 16
|
28
|
+
tz.transition 1952, 10, :o1, 116846941, 48
|
29
|
+
tz.transition 1953, 4, :o2, 38951557, 16
|
30
|
+
tz.transition 1953, 10, :o1, 116864749, 48
|
31
|
+
tz.transition 1954, 3, :o2, 38957157, 16
|
32
|
+
tz.transition 1954, 10, :o1, 116882221, 48
|
33
|
+
tz.transition 1955, 3, :o2, 38962981, 16
|
34
|
+
tz.transition 1955, 11, :o1, 116900029, 48
|
35
|
+
tz.transition 1956, 3, :o2, 38968805, 16
|
36
|
+
tz.transition 1956, 11, :o1, 116917501, 48
|
37
|
+
tz.transition 1957, 3, :o2, 38974741, 16
|
38
|
+
tz.transition 1957, 11, :o1, 116934973, 48
|
39
|
+
tz.transition 1958, 3, :o2, 38980565, 16
|
40
|
+
tz.transition 1958, 11, :o1, 116952445, 48
|
41
|
+
tz.transition 1959, 3, :o2, 38986389, 16
|
42
|
+
tz.transition 1959, 10, :o1, 116969917, 48
|
43
|
+
tz.transition 1960, 3, :o2, 38992213, 16
|
44
|
+
tz.transition 1960, 11, :o1, 116987725, 48
|
45
|
+
tz.transition 1961, 3, :o2, 38998037, 16
|
46
|
+
tz.transition 1961, 11, :o1, 117005197, 48
|
47
|
+
tz.transition 1962, 3, :o2, 39003861, 16
|
48
|
+
tz.transition 1962, 11, :o1, 117022669, 48
|
49
|
+
tz.transition 1963, 3, :o2, 39009797, 16
|
50
|
+
tz.transition 1963, 11, :o1, 117040141, 48
|
51
|
+
tz.transition 1964, 3, :o2, 39015621, 16
|
52
|
+
tz.transition 1964, 10, :o1, 117057613, 48
|
53
|
+
tz.transition 1965, 4, :o2, 39021893, 16
|
54
|
+
tz.transition 1965, 10, :o1, 117074413, 48
|
55
|
+
tz.transition 1966, 4, :o2, 39027717, 16
|
56
|
+
tz.transition 1966, 10, :o1, 117091885, 48
|
57
|
+
tz.transition 1967, 4, :o2, 39033541, 16
|
58
|
+
tz.transition 1967, 10, :o1, 117109693, 48
|
59
|
+
tz.transition 1968, 4, :o2, 39039477, 16
|
60
|
+
tz.transition 1968, 10, :o1, 117127165, 48
|
61
|
+
tz.transition 1969, 4, :o2, 39045301, 16
|
62
|
+
tz.transition 1969, 10, :o1, 117144637, 48
|
63
|
+
tz.transition 1970, 4, :o2, 9315000
|
64
|
+
tz.transition 1970, 10, :o1, 25036200
|
65
|
+
tz.transition 1971, 4, :o2, 40764600
|
66
|
+
tz.transition 1971, 10, :o1, 56485800
|
67
|
+
tz.transition 1972, 4, :o2, 72214200
|
68
|
+
tz.transition 1972, 10, :o1, 88540200
|
69
|
+
tz.transition 1973, 4, :o2, 104268600
|
70
|
+
tz.transition 1973, 10, :o1, 119989800
|
71
|
+
tz.transition 1974, 4, :o2, 135718200
|
72
|
+
tz.transition 1974, 10, :o1, 151439400
|
73
|
+
tz.transition 1975, 4, :o2, 167167800
|
74
|
+
tz.transition 1975, 10, :o1, 182889000
|
75
|
+
tz.transition 1976, 4, :o2, 198617400
|
76
|
+
tz.transition 1976, 10, :o1, 214338600
|
77
|
+
tz.transition 1977, 4, :o2, 230067000
|
78
|
+
tz.transition 1977, 10, :o1, 245788200
|
79
|
+
tz.transition 1979, 5, :o2, 295385400
|
80
|
+
tz.transition 1979, 10, :o1, 309292200
|
81
|
+
tz.transition 1980, 5, :o2, 326835000
|
82
|
+
tz.transition 1980, 10, :o1, 340741800
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|