TimeZone/A.pm untested

filter: Statementstmt 0.0% 0 / 430 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 434 CC 1 SCAR 6.9
CC
1
Cov
0%
_new_instance
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 ######## GeoData for Geo::Location::TimeZone - Check main library for copyright.
2 ######## Roughly GMT 1
3 package Geo::Location::TimeZone::A;
4 use Class::Singleton;
5 use Geo::Location::TimeZone;
6 @ISA = qw(Class::Singleton Geo::Location::TimeZone);
7 # Coordinates are X,Y, NOT lat,lon
8 # Output of partial data at 1172109537
9 my $data = {
10 # Longitude 7.5 to 22.5
11 "1" => {
12 # Grid 1:-6 ; 2 records
13 "-6" => {
14 "def_z" => "Antartica/South_Pole",
15 "560" => {
16 "z" => "Etc/GMT",
17 "c" => "ESRI",
18 "s" => "36,3",
19 "p" => [[7.53867673873901,-82.5],[7.53868063614542,-82.5],[7.53868103027344,-90],[7.5,-90],[7.5,-82.5],[7.53867673873901,-82.5],],
20 },
21 },
22 # Grid 1:-5 ; 1 records
23 "-5" => {
24 "561" => {
25 "z" => "Etc/GMT",
26 "c" => "ESRI",
27 "s" => "36,3",
28 "p" => [[7.53867673873901,-67.5],[7.53867984788938,-67.5],[7.53868063614542,-82.5],[7.5,-82.5],[7.5,-67.5],[7.53867673873901,-67.5],],
29 },
30 },
31 # Grid 1:-4 ; 1 records
32 "-4" => {
33 "562" => {
34 "z" => "Etc/GMT",
35 "c" => "ESRI",
36 "s" => "36,3",
37 "p" => [[7.53867903319037,-52.5],[7.5386791229248,-53.7043952941895],[7.53867984788938,-67.5],[7.5,-67.5],[7.5,-52.5],[7.5,-52.5],[7.53867903319037,-52.5],],
38 },
39 },
40 # Grid 1:-3 ; 1 records
41 "-3" => {
42 "563" => {
43 "z" => "Etc/GMT",
44 "c" => "ESRI",
45 "s" => "36,3",
46 "p" => [[7.53867791560332,-37.5],[7.53867903319037,-52.5],[7.5,-52.5],[7.5,-37.5],[7.5,-37.5],[7.53867791560332,-37.5],],
47 },
48 },
49 # Grid 1:-2 ; 2 records
50 "-2" => {
51 "def_z" => "Etc/GMT+2",
52 "564" => {
53 "z" => "Etc/GMT",
54 "c" => "ESRI",
55 "s" => "36,3",
56 "p" => [[7.53867673873901,-22.5],[7.53867731778184,-22.5],[7.53867769241333,-34.50439453125],[7.53867791560332,-37.5],[7.5,-37.5],[7.5,-22.5],[7.53867673873901,-22.5],],
57 },
58 },
59 # Grid 1:-1 ; 2 records
60 "-1" => {
61 "def_z" => "Etc/GMT+2",
62 "565" => {
63 "z" => "Etc/GMT",
64 "c" => "ESRI",
65 "s" => "36,3",
66 "p" => [[7.53868103027344,-22.5],[7.5,-22.5],[7.5,-7.5],[7.5386768496639,-7.5],[7.53867731778184,-22.5],[7.53868103027344,-22.5],],
67 },
68 },
69 # Grid 1:0 ; 2 records
70 "0" => {
71 "def_z" => "Etc/GMT+2",
72 "566" => {
73 "z" => "Etc/GMT",
74 "c" => "ESRI",
75 "s" => "36,3",
76 "p" => [[7.5,4.41055488586426],[7.5,4.42949715879803],[7.53867673873901,4.43765830993652],[7.53867673873901,-0.685503125190735],[7.5,-0.685385925802326],[7.5,-3.94561100006104],[7.53867673873901,-3.94561100006104],[7.5386768496639,-7.5],[7.5,-7.5],[7.5,6.43277740478516],[7.5,4.41055488586426],],
77 },
78 },
79 # Grid 1:1 ; 1 records
80 "1" => {
81 "99" => {
82 "z" => "Etc/GMT+2",
83 "c" => "ESRI",
84 "s" => "10,2",
85 "p" => [[11.7211093902588,7.5],[22.5,7.5],[22.5,12.0450503788483],[22.4766654968262,12.0341663360596],[22.5,12.1689239019892],[22.5,12.1815244761004],[22.4327774047852,12.4033317565918],[22.3838882446289,12.4652767181396],[22.4669418334961,12.6216659545898],[22.223331451416,12.747220993042],[22.140552520752,12.6552772521973],[21.9527740478516,12.6438884735107],[21.8277740478516,12.7974987030029],[21.9433326721191,13.0536098480225],[22.0205535888672,13.1377773284912],[22.1597213745117,13.1902770996094],[22.2941665649414,13.3586101531982],[22.2305526733398,13.4788875579834],[22.2247200012207,13.5719432830811],[22.1536102294922,13.6344432830811],[22.1386108398438,13.7280540466309],[22.0844421386719,13.7791652679443],[22.1983299255371,13.9224987030029],[22.2383308410645,13.9683322906494],[22.5,14.0982495843603],[22.5,14.2519301407958],[22.4438858032227,14.2722206115723],[22.4344444274902,14.309720993042],[22.4697189331055,14.3447208404541],[22.4455528259277,14.4797210693359],[22.3813858032227,14.5230541229248],[22.384162902832,14.5541648864746],[22.4699974060059,14.6294441223145],[22.5,14.6374373973686],[22.5,22.5],[22.5,7.5],[13.9702758789062,7.5],[11.7211093902588,7.5],],
86 },
87 },
88 # Grid 1:2 ; 2 records
89 "2" => {
90 "100" => {
91 "z" => "Etc/GMT+2",
92 "c" => "ESRI",
93 "s" => "10,2",
94 "p" => [[11.7211093902588,22.5],[22.5,22.5],[22.5,36.3781215649597],[22.3926010131836,36.4394264221191],[22.3360214233398,36.5181579589844],[22.3523330688477,36.6450271606445],[22.3287715911865,36.7139015197754],[22.2399616241455,36.8498344421387],[22.1203384399414,36.9078330993652],[22.1330261230469,37.0075187683105],[22.0405902862549,37.0129585266113],[21.9590301513672,36.9748954772949],[21.9481563568115,36.8443984985352],[21.9848327636719,36.7730560302734],[21.7994823455811,36.6865577697754],[21.7006301879883,36.7236289978027],[21.5338153839111,37.0263671875],[21.57297706604,37.2114219665527],[21.6726627349854,37.3382949829102],[21.5687095097133,37.5],[22.5,37.5],[22.5,22.5],[13.9702758789062,22.5],[11.7211093902588,22.5],],
95 },
96 "497" => {
97 "z" => "Europe/Malta",
98 "c" => "ESRI",
99 "s" => "34,1",
100 "p" => [[22.5,22.5],[7.5,22.5],[7.5,37.5],[21.5687095097133,37.5],[21.6726627349854,37.3382949829102],[21.57297706604,37.2114219665527],[21.5338153839111,37.0263671875],[21.7006301879883,36.7236289978027],[21.7994823455811,36.6865577697754],[21.9848327636719,36.7730560302734],[21.9481563568115,36.8443984985352],[21.9590301513672,36.9748954772949],[22.0405902862549,37.0129585266113],[22.1330261230469,37.0075187683105],[22.1203384399414,36.9078330993652],[22.2399616241455,36.8498344421387],[22.3287715911865,36.7139015197754],[22.3523330688477,36.6450271606445],[22.3360214233398,36.5181579589844],[22.3926010131836,36.4394264221191],[22.5,36.3781215649597],[22.5,32.0269393920898],[22.5,22.5],],
101 },
102 },
103 # Grid 1:3 ; 2 records
104 "3" => {
105 "def_z8" => "16.3666667,48.2,Europe/Vienna",
106 "def_z1" => "20.4680556,44.8186111,Europe/Belgrade",
107 "def_z0" => "19.0833333,47.5,Europe/Budapest",
108 "def_z7" => "19.8188889,41.3275,Europe/Tirane",
109 "def_z2" => "21.0,52.25,Europe/Warsaw",
110 "def_z3" => "14.4666667,50.0833333,Europe/Prague",
111 "def_z6" => "9.5166667,47.1333333,Europe/Vaduz",
112 "def_z4" => "12.4833333,41.9,Europe/Rome",
113 "def_z5" => "8.55,47.3666667,Europe/Zurich",
114 "101" => {
115 "z" => "Europe/Uzhgorod",
116 "c" => "ESRI",
117 "s" => "10,2",
118 "p" => [[11.7211093902588,37.5],[21.5687095097133,37.5],[21.5421657562256,37.5412902832031],[21.3645439147949,37.646411895752],[21.3083572387695,37.6278343200684],[20.9975204467773,37.6921768188477],[20.809024810791,37.6477699279785],[20.687385559082,37.7245140075684],[20.6178112030029,37.8167839050293],[20.5108757019043,38.0927276611328],[20.4574089050293,38.1489143371582],[20.3785667419434,38.1398544311523],[20.316686630249,38.1878890991211],[20.3921604156494,38.3655052185059],[20.4447212219238,38.3664093017578],[20.4836902618408,38.3283500671387],[20.5163135528564,38.35009765625],[20.5498447418213,38.6863098144531],[20.6317806243896,38.8489685058594],[20.7292766571045,38.8639297485352],[20.7383403778076,38.9083366394043],[20.4972820281982,39.2037658691406],[20.2381019592285,39.1222038269043],[20.1329784393311,39.1951560974121],[20.0722618103027,39.3641700744629],[19.8765163421631,39.4439163208008],[19.8022060394287,39.5834770202637],[19.3699340820312,39.8431091308594],[19.372652053833,39.8712043762207],[19.579273223877,39.9029235839844],[19.9508266448975,39.7869262695312],[19.9825439453125,39.6872406005859],[20.0100288391113,39.6912002563477],[20.1991653442383,39.6447219848633],[20.2644424438477,39.6691665649414],[20.3208312988281,39.7336044311523],[20.2913856506348,39.8066635131836],[20.3813858032227,39.7872161865234],[20.4144439697266,39.8244400024414],[20.3161087036133,39.9933319091797],[20.3941650390625,39.9991607666016],[20.4499969482422,40.0724945068359],[20.6719436645508,40.0980529785156],[20.6786079406738,40.1852722167969],[20.7211074829102,40.2230529785156],[20.7130546569824,40.2783279418945],[20.7897186279297,40.3608322143555],[20.7888870239258,40.4283294677734],[20.8488883972168,40.4791641235352],[20.9455528259277,40.4669418334961],[21.0413856506348,40.5619430541992],[21.0519409179688,40.6766662597656],[20.9619407653809,40.7716598510742],[20.9834899902344,40.8558883666992],[21.3430519104004,40.871940612793],[21.4197196960449,40.9191665649414],[21.5999984741211,40.8727722167969],[21.6944427490234,40.9380493164062],[21.7922210693359,40.9327774047852],[21.8041648864746,40.9777755737305],[21.9119415283203,41.0494384765625],[21.9161109924316,41.0952758789062],[22.0666656494141,41.158332824707],[22.1311073303223,41.1249923706055],[22.256664276123,41.17138671875],[22.3341636657715,41.1272201538086],[22.5,41.1220865252528],[22.5,42.1723498534708],[22.3652763366699,42.3238830566406],[22.4563865661621,42.3402709960938],[22.5,42.3998546937425],[22.5,42.5256042906882],[22.4386100769043,42.5747146606445],[22.461109161377,42.692497253418],[22.5,42.7375574409087],[22.5,42.7411022263749],[22.4422187805176,42.821662902832],[22.5,42.8614121214695],[22.5,43.5611717964218],[22.4955520629883,43.5702743530273],[22.4955520629883,43.6455535888672],[22.4274978637695,43.688606262207],[22.3594436645508,43.8169403076172],[22.4169425964355,44.0069427490234],[22.5,44.0327578254807],[22.5,44.404480264299],[22.457332611084,44.4743576049805],[22.5,44.4806719091841],[22.5,44.6992429845473],[22.4791641235352,44.7102737426758],[22.3136100769043,44.6641616821289],[22.1769409179688,44.4819412231445],[22.1463851928711,44.4791641235352],[22.0844421386719,44.5030517578125],[21.9938888549805,44.6355514526367],[21.6494407653809,44.6577758789062],[21.5883331298828,44.7633285522461],[21.4003982543945,44.7808227539062],[21.3661079406738,44.8644409179688],[21.5586090087891,44.896110534668],[21.5408325195312,44.938606262207],[21.366943359375,45.0083312988281],[21.4472198486328,45.0349960327148],[21.460277557373,45.1027755737305],[21.5127754211426,45.1233291625977],[21.5136108398438,45.1511077880859],[21.4166641235352,45.2147216796875],[21.2674980163574,45.2327728271484],[21.1630554199219,45.3097152709961],[21.048885345459,45.3163833618164],[20.7830543518066,45.4847183227539],[20.8236083984375,45.5324935913086],[20.7666664123535,45.609992980957],[20.798885345459,45.6566619873047],[20.8013877868652,45.76416015625],[20.7133331298828,45.7438888549805],[20.5916633605957,45.8941650390625],[20.3780517578125,45.9780502319336],[20.2610244750977,46.1148529052734],[20.340274810791,46.1594390869141],[20.4780540466309,46.1497192382812],[20.4869499206543,46.1811065673828],[20.6247215270996,46.1302719116211],[20.7205543518066,46.1655502319336],[20.7205543518066,46.1916656494141],[20.763053894043,46.1991653442383],[20.7533302307129,46.238883972168],[20.8202743530273,46.2747192382812],[21.0594444274902,46.2391662597656],[21.1766662597656,46.2955551147461],[21.1972198486328,46.3913879394531],[21.2922210693359,46.4202728271484],[21.260555267334,46.4952774047852],[21.3266639709473,46.6199951171875],[21.4049987792969,46.6211090087891],[21.4419441223145,46.6819381713867],[21.5219421386719,46.712776184082],[21.4880523681641,46.7527770996094],[21.5197219848633,46.8152770996094],[21.6052742004395,46.8572158813477],[21.5997200012207,46.9180526733398],[21.6716651916504,46.9513854980469],[21.6958312988281,47.0008316040039],[21.6511077880859,47.0297164916992],[21.7908325195312,47.1202774047852],[21.9224967956543,47.3544387817383],[22.0097198486328,47.3808288574219],[22.0152740478516,47.5144424438477],[22.1863861083984,47.5986099243164],[22.2769432067871,47.7286071777344],[22.42138671875,47.7438888549805],[22.4544410705566,47.79638671875],[22.5,47.7918108434364],[22.5,48.2474212202417],[22.3786087036133,48.2455444335938],[22.3188858032227,48.3141555786133],[22.3194427490234,48.3616638183594],[22.2602767944336,48.3608245849609],[22.2688865661621,48.4072113037109],[22.1514415740967,48.4119186401367],[22.1588859558105,48.5802764892578],[22.3288841247559,48.6869354248047],[22.3480529785156,48.76416015625],[22.3891639709473,48.7972183227539],[22.3769416809082,48.851936340332],[22.4674949645996,48.9785995483398],[22.5,48.9864990650949],[22.5,52.5],[22.5,37.5],[13.9702758789062,37.5],[11.7211093902588,37.5],],
119 },
120 },
121 # Grid 1:4 ; 3 records
122 "4" => {
123 "def_z1" => "10.45,54.0333333,Europe/Berlin",
124 "def_z0" => "13.75,61.8830556,Europe/Stockholm",
125 "def_z2" => "12.5833333,55.6666667,Europe/Copenhagen",
126 "def_z3" => "13.4,52.5166667,Europe/Berlin",
127 "def_z6" => "13.4166667,56.1333333,Europe/Stockholm",
128 "def_z4" => "10.75,59.9166667,Europe/Oslo",
129 "def_z5" => "18.05,59.3333333,Europe/Stockholm",
130 "102" => {
131 "z" => "Europe/Helsinki",
132 "c" => "ESRI",
133 "s" => "10,2",
134 "p" => [[22.5,57.5356369018555],[22.5,52.5],[22.5,55.0687923292026],[22.1972160339355,55.0616607666016],[22.0619430541992,55.0274887084961],[22.0097198486328,55.0877685546875],[21.8630523681641,55.0919342041016],[21.6402740478516,55.1847152709961],[21.5038871765137,55.1933212280273],[21.3812828063965,55.2870941162109],[21.2639350891113,55.2489852905273],[20.9848136901855,55.2765502929688],[20.9428329467773,55.2872009277344],[21.3083801269531,59.6159286499023],[19.3675174713135,59.6518707275391],[19.3315773010254,60.1909980773926],[20.6973667144775,63.317943572998],[22.5,64.6138310518545],[22.5,67.5],[22.5,65.6911010742188],[22.5,57.5356369018555],],
135 },
136 "541" => {
137 "z" => "Etc/GMT",
138 "c" => "ESRI",
139 "s" => "36,1",
140 "p" => [[7.5,52.5],[7.5,67.5],[7.51663017272949,67.5],[7.51663017272949,63.257266998291],[7.5,63.2501265938743],[7.5,52.5],],
141 },
142 },
143 # Grid 1:5 ; 3 records
144 "5" => {
145 "def_z" => "Artic/Longyearbyen",
146 "103" => {
147 "z" => "Etc/GMT+2",
148 "c" => "ESRI",
149 "s" => "10,2",
150 "p" => [[11.7211093902588,67.5],[22.5,67.5],[22.5,68.4441226643746],[22.3347206115723,68.4727630615234],[22.0505523681641,68.4791564941406],[21.8972206115723,68.5699920654297],[21.7574996948242,68.5769348144531],[21.6230545043945,68.6494293212891],[21.4655532836914,68.6780548095703],[21.406665802002,68.7436065673828],[21.3019409179688,68.7555541992188],[21.0813865661621,68.8666534423828],[20.8952751159668,68.8936004638672],[20.8888854980469,68.9258270263672],[20.9388885498047,68.9583282470703],[20.8666648864746,69.0049896240234],[20.6041641235352,69.0530548095703],[20.5809288024902,69.060302734375],[20.7383308410645,69.0963745117188],[21.0594444274902,69.0344390869141],[21.1130523681641,69.1080474853516],[21.0422210693359,69.1608276367188],[21.0280532836914,69.2080535888672],[21.0549964904785,69.2286071777344],[21.3208312988281,69.3261108398438],[21.681941986084,69.2847137451172],[22.3466644287109,68.8447113037109],[22.3983306884766,68.7111053466797],[22.5,68.7289848664405],[22.5,67.5],[13.9702758789062,67.5],[11.7211093902588,67.5],],
151 },
152 "542" => {
153 "z" => "Etc/GMT",
154 "c" => "ESRI",
155 "s" => "36,1",
156 "p" => [[7.5,82.5],[7.51663017272949,82.5],[7.51663017272949,67.5],[7.5,67.5],[7.5,82.5],],
157 },
158 },
159 # Grid 1:6 ; 1 records
160 "6" => {
161 "543" => {
162 "z" => "Etc/GMT",
163 "c" => "ESRI",
164 "s" => "36,1",
165 "p" => [[7.5,90],[7.51663017272949,90],[7.51663017272949,82.5],[7.5,82.5],[7.5,90],],
166 },
167 },
168 },
169 };
170  
171 # Used by Class::Singleton
172 sub _new_instance
173 {
174 return shift->_init( @_, data => $data );
175 }
176  
177 1;