File Coverage

blib/lib/DateTime/TimeZone/Pacific/Tongatapu.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/australasia. Olson data version 2026a
7             #
8             # Do not edit this file directly.
9             #
10             package DateTime::TimeZone::Pacific::Tongatapu;
11              
12 1     1   827 use strict;
  1         3  
  1         50  
13 1     1   6 use warnings;
  1         3  
  1         52  
14 1     1   6 use namespace::autoclean;
  1         2  
  1         8  
15              
16             our $VERSION = '2.67';
17              
18 1     1   147 use Class::Singleton 1.03;
  1         19  
  1         44  
19 1     1   7 use DateTime::TimeZone;
  1         2  
  1         25  
20 1     1   5 use DateTime::TimeZone::OlsonDB;
  1         3  
  1         324  
21              
22             @DateTime::TimeZone::Pacific::Tongatapu::ISA = ( 'Class::Singleton', 'DateTime::TimeZone' );
23              
24             my $spans =
25             [
26             [
27             DateTime::TimeZone::NEG_INFINITY, # utc_start
28             61368493248, # utc_end 1945-09-09 11:40:48 (Sun)
29             DateTime::TimeZone::NEG_INFINITY, # local_start
30             61368537600, # local_end 1945-09-10 00:00:00 (Mon)
31             44352,
32             0,
33             'LMT',
34             ],
35             [
36             61368493248, # utc_start 1945-09-09 11:40:48 (Sun)
37             61851642000, # utc_end 1960-12-31 11:40:00 (Sat)
38             61368537648, # local_start 1945-09-10 00:00:48 (Mon)
39             61851686400, # local_end 1961-01-01 00:00:00 (Sun)
40             44400,
41             0,
42             '+1220',
43             ],
44             [
45             61851642000, # utc_start 1960-12-31 11:40:00 (Sat)
46             63074898000, # utc_end 1999-10-06 13:00:00 (Wed)
47             61851688800, # local_start 1961-01-01 00:40:00 (Sun)
48             63074944800, # local_end 1999-10-07 02:00:00 (Thu)
49             46800,
50             0,
51             '+13',
52             ],
53             [
54             63074898000, # utc_start 1999-10-06 13:00:00 (Wed)
55             63089067600, # utc_end 2000-03-18 13:00:00 (Sat)
56             63074948400, # local_start 1999-10-07 03:00:00 (Thu)
57             63089118000, # local_end 2000-03-19 03:00:00 (Sun)
58             50400,
59             1,
60             '+14',
61             ],
62             [
63             63089067600, # utc_start 2000-03-18 13:00:00 (Sat)
64             63109026000, # utc_end 2000-11-04 13:00:00 (Sat)
65             63089114400, # local_start 2000-03-19 02:00:00 (Sun)
66             63109072800, # local_end 2000-11-05 02:00:00 (Sun)
67             46800,
68             0,
69             '+13',
70             ],
71             [
72             63109026000, # utc_start 2000-11-04 13:00:00 (Sat)
73             63116280000, # utc_end 2001-01-27 12:00:00 (Sat)
74             63109076400, # local_start 2000-11-05 03:00:00 (Sun)
75             63116330400, # local_end 2001-01-28 02:00:00 (Sun)
76             50400,
77             1,
78             '+14',
79             ],
80             [
81             63116280000, # utc_start 2001-01-27 12:00:00 (Sat)
82             63140475600, # utc_end 2001-11-03 13:00:00 (Sat)
83             63116326800, # local_start 2001-01-28 01:00:00 (Sun)
84             63140522400, # local_end 2001-11-04 02:00:00 (Sun)
85             46800,
86             0,
87             '+13',
88             ],
89             [
90             63140475600, # utc_start 2001-11-03 13:00:00 (Sat)
91             63147729600, # utc_end 2002-01-26 12:00:00 (Sat)
92             63140526000, # local_start 2001-11-04 03:00:00 (Sun)
93             63147780000, # local_end 2002-01-27 02:00:00 (Sun)
94             50400,
95             1,
96             '+14',
97             ],
98             [
99             63147729600, # utc_start 2002-01-26 12:00:00 (Sat)
100             63614034000, # utc_end 2016-11-05 13:00:00 (Sat)
101             63147776400, # local_start 2002-01-27 01:00:00 (Sun)
102             63614080800, # local_end 2016-11-06 02:00:00 (Sun)
103             46800,
104             0,
105             '+13',
106             ],
107             [
108             63614034000, # utc_start 2016-11-05 13:00:00 (Sat)
109             63620082000, # utc_end 2017-01-14 13:00:00 (Sat)
110             63614084400, # local_start 2016-11-06 03:00:00 (Sun)
111             63620132400, # local_end 2017-01-15 03:00:00 (Sun)
112             50400,
113             1,
114             '+14',
115             ],
116             [
117             63620082000, # utc_start 2017-01-14 13:00:00 (Sat)
118             DateTime::TimeZone::INFINITY, # utc_end
119             63620128800, # local_start 2017-01-15 02:00:00 (Sun)
120             DateTime::TimeZone::INFINITY, # local_end
121             46800,
122             0,
123             '+13',
124             ],
125             ];
126              
127 1     1 0 3 sub olson_version {'2026a'}
128              
129 0     0 1 0 sub has_dst_changes {4}
130              
131 1     1   9 sub _max_year {2036}
132              
133             sub _new_instance {
134 1     1   21 return shift->_init( @_, spans => $spans );
135             }
136              
137              
138              
139             1;
140