File Coverage

blib/lib/DateTime/TimeZone/America/Phoenix.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/northamerica. Olson data version 2026a
7             #
8             # Do not edit this file directly.
9             #
10             package DateTime::TimeZone::America::Phoenix;
11              
12 4     4   3303 use strict;
  4         54  
  4         276  
13 4     4   32 use warnings;
  4         11  
  4         267  
14 4     4   30 use namespace::autoclean;
  4         8  
  4         34  
15              
16             our $VERSION = '2.67';
17              
18 4     4   492 use Class::Singleton 1.03;
  4         91  
  4         191  
19 4     4   29 use DateTime::TimeZone;
  4         8  
  4         104  
20 4     4   21 use DateTime::TimeZone::OlsonDB;
  4         8  
  4         1435  
21              
22             @DateTime::TimeZone::America::Phoenix::ISA = ( 'Class::Singleton', 'DateTime::TimeZone' );
23              
24             my $spans =
25             [
26             [
27             DateTime::TimeZone::NEG_INFINITY, # utc_start
28             59418039600, # utc_end 1883-11-18 19:00:00 (Sun)
29             DateTime::TimeZone::NEG_INFINITY, # local_start
30             59418012702, # local_end 1883-11-18 11:31:42 (Sun)
31             -26898,
32             0,
33             'LMT',
34             ],
35             [
36             59418039600, # utc_start 1883-11-18 19:00:00 (Sun)
37             60502410000, # utc_end 1918-03-31 09:00:00 (Sun)
38             59418014400, # local_start 1883-11-18 12:00:00 (Sun)
39             60502384800, # local_end 1918-03-31 02:00:00 (Sun)
40             -25200,
41             0,
42             'MST',
43             ],
44             [
45             60502410000, # utc_start 1918-03-31 09:00:00 (Sun)
46             60520550400, # utc_end 1918-10-27 08:00:00 (Sun)
47             60502388400, # local_start 1918-03-31 03:00:00 (Sun)
48             60520528800, # local_end 1918-10-27 02:00:00 (Sun)
49             -21600,
50             1,
51             'MDT',
52             ],
53             [
54             60520550400, # utc_start 1918-10-27 08:00:00 (Sun)
55             60533859600, # utc_end 1919-03-30 09:00:00 (Sun)
56             60520525200, # local_start 1918-10-27 01:00:00 (Sun)
57             60533834400, # local_end 1919-03-30 02:00:00 (Sun)
58             -25200,
59             0,
60             'MST',
61             ],
62             [
63             60533859600, # utc_start 1919-03-30 09:00:00 (Sun)
64             60552000000, # utc_end 1919-10-26 08:00:00 (Sun)
65             60533838000, # local_start 1919-03-30 03:00:00 (Sun)
66             60551978400, # local_end 1919-10-26 02:00:00 (Sun)
67             -21600,
68             1,
69             'MDT',
70             ],
71             [
72             60552000000, # utc_start 1919-10-26 08:00:00 (Sun)
73             61255472400, # utc_end 1942-02-09 09:00:00 (Mon)
74             60551974800, # local_start 1919-10-26 01:00:00 (Sun)
75             61255447200, # local_end 1942-02-09 02:00:00 (Mon)
76             -25200,
77             0,
78             'MST',
79             ],
80             [
81             61255472400, # utc_start 1942-02-09 09:00:00 (Mon)
82             61315164060, # utc_end 1944-01-01 06:01:00 (Sat)
83             61255450800, # local_start 1942-02-09 03:00:00 (Mon)
84             61315142460, # local_end 1944-01-01 00:01:00 (Sat)
85             -21600,
86             1,
87             'MWT',
88             ],
89             [
90             61315164060, # utc_start 1944-01-01 06:01:00 (Sat)
91             61323030060, # utc_end 1944-04-01 07:01:00 (Sat)
92             61315138860, # local_start 1943-12-31 23:01:00 (Fri)
93             61323004860, # local_end 1944-04-01 00:01:00 (Sat)
94             -25200,
95             0,
96             'MST',
97             ],
98             [
99             61323030060, # utc_start 1944-04-01 07:01:00 (Sat)
100             61338837660, # utc_end 1944-10-01 06:01:00 (Sun)
101             61323008460, # local_start 1944-04-01 01:01:00 (Sat)
102             61338816060, # local_end 1944-10-01 00:01:00 (Sun)
103             -21600,
104             1,
105             'MWT',
106             ],
107             [
108             61338837660, # utc_start 1944-10-01 06:01:00 (Sun)
109             62051302800, # utc_end 1967-04-30 09:00:00 (Sun)
110             61338812460, # local_start 1944-09-30 23:01:00 (Sat)
111             62051277600, # local_end 1967-04-30 02:00:00 (Sun)
112             -25200,
113             0,
114             'MST',
115             ],
116             [
117             62051302800, # utc_start 1967-04-30 09:00:00 (Sun)
118             62067024000, # utc_end 1967-10-29 08:00:00 (Sun)
119             62051281200, # local_start 1967-04-30 03:00:00 (Sun)
120             62067002400, # local_end 1967-10-29 02:00:00 (Sun)
121             -21600,
122             1,
123             'MDT',
124             ],
125             [
126             62067024000, # utc_start 1967-10-29 08:00:00 (Sun)
127             DateTime::TimeZone::INFINITY, # utc_end
128             62066998800, # local_start 1967-10-29 01:00:00 (Sun)
129             DateTime::TimeZone::INFINITY, # local_end
130             -25200,
131             0,
132             'MST',
133             ],
134             ];
135              
136 11     11 0 32 sub olson_version {'2026a'}
137              
138 0     0 1 0 sub has_dst_changes {5}
139              
140 4     4   34 sub _max_year {2036}
141              
142             sub _new_instance {
143 4     4   102 return shift->_init( @_, spans => $spans );
144             }
145              
146              
147              
148             1;
149