File Coverage

blib/lib/DateTime/TimeZone/America/Lima.pm
Criterion Covered Total %
statement 21 22 95.4
branch n/a
condition n/a
subroutine 9 10 90.0
pod 1 2 50.0
total 31 34 91.1


line stmt bran cond sub pod time code
1             # This file is auto-generated by the Perl DateTime Suite time zone
2             # code generator (0.08) This code generator comes with the
3             # DateTime::TimeZone module distribution in the tools/ directory
4              
5             #
6             # Generated from /tmp/IIA7keyKs7/southamerica. Olson data version 2026a
7             #
8             # Do not edit this file directly.
9             #
10             package DateTime::TimeZone::America::Lima;
11              
12 1     1   876 use strict;
  1         3  
  1         47  
13 1     1   7 use warnings;
  1         2  
  1         58  
14 1     1   8 use namespace::autoclean;
  1         2  
  1         8  
15              
16             our $VERSION = '2.67';
17              
18 1     1   106 use Class::Singleton 1.03;
  1         20  
  1         47  
19 1     1   9 use DateTime::TimeZone;
  1         2  
  1         27  
20 1     1   563 use DateTime::TimeZone::OlsonDB;
  1         5  
  1         329  
21              
22             @DateTime::TimeZone::America::Lima::ISA = ( 'Class::Singleton', 'DateTime::TimeZone' );
23              
24             my $spans =
25             [
26             [
27             DateTime::TimeZone::NEG_INFINITY, # utc_start
28             59611180092, # utc_end 1890-01-01 05:08:12 (Wed)
29             DateTime::TimeZone::NEG_INFINITY, # local_start
30             59611161600, # local_end 1890-01-01 00:00:00 (Wed)
31             -18492,
32             0,
33             'LMT',
34             ],
35             [
36             59611180092, # utc_start 1890-01-01 05:08:12 (Wed)
37             60197144916, # utc_end 1908-07-28 05:08:36 (Tue)
38             59611161576, # local_start 1889-12-31 23:59:36 (Tue)
39             60197126400, # local_end 1908-07-28 00:00:00 (Tue)
40             -18516,
41             0,
42             'LMT',
43             ],
44             [
45             60197144916, # utc_start 1908-07-28 05:08:36 (Tue)
46             61125858000, # utc_end 1938-01-01 05:00:00 (Sat)
47             60197126916, # local_start 1908-07-28 00:08:36 (Tue)
48             61125840000, # local_end 1938-01-01 00:00:00 (Sat)
49             -18000,
50             0,
51             '-05',
52             ],
53             [
54             61125858000, # utc_start 1938-01-01 05:00:00 (Sat)
55             61133630400, # utc_end 1938-04-01 04:00:00 (Fri)
56             61125843600, # local_start 1938-01-01 01:00:00 (Sat)
57             61133616000, # local_end 1938-04-01 00:00:00 (Fri)
58             -14400,
59             1,
60             '-04',
61             ],
62             [
63             61133630400, # utc_start 1938-04-01 04:00:00 (Fri)
64             61148926800, # utc_end 1938-09-25 05:00:00 (Sun)
65             61133612400, # local_start 1938-03-31 23:00:00 (Thu)
66             61148908800, # local_end 1938-09-25 00:00:00 (Sun)
67             -18000,
68             0,
69             '-05',
70             ],
71             [
72             61148926800, # utc_start 1938-09-25 05:00:00 (Sun)
73             61164648000, # utc_end 1939-03-26 04:00:00 (Sun)
74             61148912400, # local_start 1938-09-25 01:00:00 (Sun)
75             61164633600, # local_end 1939-03-26 00:00:00 (Sun)
76             -14400,
77             1,
78             '-04',
79             ],
80             [
81             61164648000, # utc_start 1939-03-26 04:00:00 (Sun)
82             61180376400, # utc_end 1939-09-24 05:00:00 (Sun)
83             61164630000, # local_start 1939-03-25 23:00:00 (Sat)
84             61180358400, # local_end 1939-09-24 00:00:00 (Sun)
85             -18000,
86             0,
87             '-05',
88             ],
89             [
90             61180376400, # utc_start 1939-09-24 05:00:00 (Sun)
91             61196097600, # utc_end 1940-03-24 04:00:00 (Sun)
92             61180362000, # local_start 1939-09-24 01:00:00 (Sun)
93             61196083200, # local_end 1940-03-24 00:00:00 (Sun)
94             -14400,
95             1,
96             '-04',
97             ],
98             [
99             61196097600, # utc_start 1940-03-24 04:00:00 (Sun)
100             62640622800, # utc_end 1986-01-01 05:00:00 (Wed)
101             61196079600, # local_start 1940-03-23 23:00:00 (Sat)
102             62640604800, # local_end 1986-01-01 00:00:00 (Wed)
103             -18000,
104             0,
105             '-05',
106             ],
107             [
108             62640622800, # utc_start 1986-01-01 05:00:00 (Wed)
109             62648395200, # utc_end 1986-04-01 04:00:00 (Tue)
110             62640608400, # local_start 1986-01-01 01:00:00 (Wed)
111             62648380800, # local_end 1986-04-01 00:00:00 (Tue)
112             -14400,
113             1,
114             '-04',
115             ],
116             [
117             62648395200, # utc_start 1986-04-01 04:00:00 (Tue)
118             62672158800, # utc_end 1987-01-01 05:00:00 (Thu)
119             62648377200, # local_start 1986-03-31 23:00:00 (Mon)
120             62672140800, # local_end 1987-01-01 00:00:00 (Thu)
121             -18000,
122             0,
123             '-05',
124             ],
125             [
126             62672158800, # utc_start 1987-01-01 05:00:00 (Thu)
127             62679931200, # utc_end 1987-04-01 04:00:00 (Wed)
128             62672144400, # local_start 1987-01-01 01:00:00 (Thu)
129             62679916800, # local_end 1987-04-01 00:00:00 (Wed)
130             -14400,
131             1,
132             '-04',
133             ],
134             [
135             62679931200, # utc_start 1987-04-01 04:00:00 (Wed)
136             62766853200, # utc_end 1990-01-01 05:00:00 (Mon)
137             62679913200, # local_start 1987-03-31 23:00:00 (Tue)
138             62766835200, # local_end 1990-01-01 00:00:00 (Mon)
139             -18000,
140             0,
141             '-05',
142             ],
143             [
144             62766853200, # utc_start 1990-01-01 05:00:00 (Mon)
145             62774625600, # utc_end 1990-04-01 04:00:00 (Sun)
146             62766838800, # local_start 1990-01-01 01:00:00 (Mon)
147             62774611200, # local_end 1990-04-01 00:00:00 (Sun)
148             -14400,
149             1,
150             '-04',
151             ],
152             [
153             62774625600, # utc_start 1990-04-01 04:00:00 (Sun)
154             62893083600, # utc_end 1994-01-01 05:00:00 (Sat)
155             62774607600, # local_start 1990-03-31 23:00:00 (Sat)
156             62893065600, # local_end 1994-01-01 00:00:00 (Sat)
157             -18000,
158             0,
159             '-05',
160             ],
161             [
162             62893083600, # utc_start 1994-01-01 05:00:00 (Sat)
163             62900856000, # utc_end 1994-04-01 04:00:00 (Fri)
164             62893069200, # local_start 1994-01-01 01:00:00 (Sat)
165             62900841600, # local_end 1994-04-01 00:00:00 (Fri)
166             -14400,
167             1,
168             '-04',
169             ],
170             [
171             62900856000, # utc_start 1994-04-01 04:00:00 (Fri)
172             DateTime::TimeZone::INFINITY, # utc_end
173             62900838000, # local_start 1994-03-31 23:00:00 (Thu)
174             DateTime::TimeZone::INFINITY, # local_end
175             -18000,
176             0,
177             '-05',
178             ],
179             ];
180              
181 1     1 0 4 sub olson_version {'2026a'}
182              
183 0     0 1 0 sub has_dst_changes {7}
184              
185 1     1   10 sub _max_year {2036}
186              
187             sub _new_instance {
188 1     1   20 return shift->_init( @_, spans => $spans );
189             }
190              
191              
192              
193             1;
194