TimeZone/O.pm untested

filter: Statementstmt 0.0% 0 / 159 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 163 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 -2
3 package Geo::Location::TimeZone::O;
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 -37.5 to -22.5
11 "-2" => {
12 # Grid -2:-6 ; 2 records
13 "-6" => {
14 "def_z" => "Antartica/South_Pole",
15 "217" => {
16 "z" => "Etc/GMT-1",
17 "c" => "ESRI",
18 "s" => "15,3",
19 "p" => [[-27.5127372741699,-82.5],[-22.5,-82.5],[-22.5,-90],[-22.5138740539551,-90],[-22.5146446228027,-86.1988906860352],[-22.515393882964,-82.5],[-27.5127372741699,-82.5],],
20 },
21 },
22 # Grid -2:-5 ; 1 records
23 "-5" => {
24 "218" => {
25 "z" => "Etc/GMT-1",
26 "c" => "ESRI",
27 "s" => "15,3",
28 "p" => [[-27.5127372741699,-67.5],[-22.5,-67.5],[-22.5,-82.5],[-22.515393882964,-82.5],[-22.5172576904297,-73.2988967895508],[-22.5184320835786,-67.5],[-27.5127372741699,-67.5],],
29 },
30 },
31 # Grid -2:-4 ; 2 records
32 "-4" => {
33 "def_z1" => "-36.5116667,-54.2766667,Atlantic/South_Georgia",
34 "def_z0" => "-36.7161111,-54.1561111,Atlantic/South_Georgia",
35 "219" => {
36 "z" => "Etc/GMT-1",
37 "c" => "ESRI",
38 "s" => "15,3",
39 "p" => [[-27.5127372741699,-52.5],[-22.5,-52.5],[-22.5,-67.5],[-22.5184320835786,-67.5],[-22.521469885056,-52.5],[-27.5127372741699,-52.5],],
40 },
41 },
42 # Grid -2:-3 ; 1 records
43 "-3" => {
44 "220" => {
45 "z" => "Etc/GMT-1",
46 "c" => "ESRI",
47 "s" => "15,3",
48 "p" => [[-27.5127372741699,-37.5],[-22.5,-37.5],[-22.5,-52.5],[-22.521469885056,-52.5],[-22.5245076865334,-37.5],[-27.5127372741699,-37.5],],
49 },
50 },
51 # Grid -2:-2 ; 1 records
52 "-2" => {
53 "221" => {
54 "z" => "Etc/GMT-1",
55 "c" => "ESRI",
56 "s" => "15,3",
57 "p" => [[-27.5127372741699,-22.5],[-22.5,-22.5],[-22.5,-37.5],[-22.5245076865334,-37.5],[-22.524730682373,-36.3988952636719],[-22.5275461761965,-22.5],[-27.5127372741699,-22.5],],
58 },
59 },
60 # Grid -2:-1 ; 2 records
61 "-1" => {
62 "def_z" => "Etc/GMT-3",
63 "222" => {
64 "z" => "Etc/GMT-1",
65 "c" => "ESRI",
66 "s" => "15,3",
67 "p" => [[-22.5275461761965,-22.5],[-22.5280933380127,-19.7988948822021],[-22.5305847205225,-7.5],[-22.5,-7.5],[-22.5,-22.5],[-22.5275461761965,-22.5],],
68 },
69 },
70 # Grid -2:0 ; 2 records
71 "0" => {
72 "def_z" => "Etc/GMT-3",
73 "223" => {
74 "z" => "Etc/GMT-1",
75 "c" => "ESRI",
76 "s" => "15,3",
77 "p" => [[-22.5,-7.5],[-22.5305847205225,-7.5],[-22.5336232648799,7.5],[-22.5,7.5],[-22.5,-7.5],],
78 },
79 },
80 # Grid -2:1 ; 1 records
81 "1" => {
82 "224" => {
83 "z" => "Atlantic/Cape_Verde",
84 "c" => "ESRI",
85 "s" => "15,3",
86 "p" => [[-22.5,14.6485748291016],[-22.5,7.5],[-22.5336232648799,7.5],[-22.534818649292,13.4011039733887],[-27.5127372741699,13.4011039733887],[-27.5127372741699,18.3953227996826],[-22.535831451416,18.3953227996826],[-22.5366630479846,22.5],[-22.5,22.5],[-22.5,22.29638671875],[-22.5,14.6485748291016],],
87 },
88 },
89 # Grid -2:2 ; 1 records
90 "2" => {
91 "225" => {
92 "z" => "Atlantic/Azores",
93 "c" => "ESRI",
94 "s" => "15,3",
95 "p" => [[-22.5,22.5],[-22.5366630479846,22.5],[-22.5394992828369,36.4993705749512],[-31.7469692230225,36.4993705749512],[-31.7469692230225,37.5],[-22.5,37.5],[-22.5,23.9099960327148],[-22.5,22.5],],
96 },
97 },
98 # Grid -2:3 ; 1 records
99 "3" => {
100 "226" => {
101 "z" => "Atlantic/Azores",
102 "c" => "ESRI",
103 "s" => "15,3",
104 "p" => [[-22.5,37.5],[-31.7469692230225,37.5],[-31.7469692230225,40.1907539367676],[-22.540246963501,40.1907539367676],[-22.5412679504168,52.5],[-22.5,52.5],[-22.5,42.8283309936523],[-22.5,37.5],],
105 },
106 },
107 # Grid -2:4 ; 4 records
108 "4" => {
109 "def_z" => "Atlantic/Reykjavik",
110 "213" => {
111 "z" => "Etc/GMT-1",
112 "c" => "ESRI",
113 "s" => "15,1",
114 "p" => [[-22.5,67.5],[-22.5,67.4953642637573],[-22.5138893127441,67.4953994750977],[-22.5138893127441,67.5],[-22.5,67.5],],
115 },
116 "227" => {
117 "z" => "Etc/GMT-1",
118 "c" => "ESRI",
119 "s" => "15,3",
120 "p" => [[-22.5,52.5],[-22.5412679504168,52.5],[-22.5421276092529,62.8642387390137],[-22.5,62.8641466909446],[-22.5,54.3646011352539],[-22.5,52.5],],
121 },
122 "319" => {
123 "z" => "Etc/GMT-3",
124 "c" => "ESRI",
125 "s" => "19,1",
126 "p" => [[-34.7925033569336,52.5],[-37.5,52.5],[-37.5,67.5],[-32.4420540664265,67.5],[-33.657585144043,66.6734390258789],[-35.4578857421875,65.8785018920898],[-37.5,65.1752836169732],[-37.5,52.5],[-34.7925033569336,52.5],],
127 },
128 },
129 # Grid -2:5 ; 2 records
130 "5" => {
131 "def_z" => "Etc/GMT-3",
132 "214" => {
133 "z" => "Etc/GMT-1",
134 "c" => "ESRI",
135 "s" => "15,1",
136 "p" => [[-22.5,82.5],[-22.5,67.5],[-22.5138893127441,67.5],[-22.5138893127441,69.8212051391602],[-22.5,69.8255455702452],[-22.5,82.5],],
137 },
138 },
139 # Grid -2:6 ; 2 records
140 "6" => {
141 "def_z" => "Etc/GMT-3",
142 "215" => {
143 "z" => "Etc/GMT-1",
144 "c" => "ESRI",
145 "s" => "15,1",
146 "p" => [[-22.5,82.5],[-22.5,83.0452842966416],[-22.5697536468506,83.0645294189453],[-22.5294303894043,90],[-22.5,90],[-22.5,82.5],[-22.5138893127441,82.5],[-22.5,82.5],],
147 },
148 },
149 },
150 };
151  
152 # Used by Class::Singleton
153 sub _new_instance
154 {
155 return shift->_init( @_, data => $data );
156 }
157  
158 1;