File Coverage

blib/lib/DateTime/TimeZone/Pacific/Bougainville.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::Bougainville;
11              
12 1     1   1661 use strict;
  1         5  
  1         54  
13 1     1   8 use warnings;
  1         3  
  1         70  
14 1     1   9 use namespace::autoclean;
  1         2  
  1         9  
15              
16             our $VERSION = '2.67';
17              
18 1     1   120 use Class::Singleton 1.03;
  1         23  
  1         51  
19 1     1   7 use DateTime::TimeZone;
  1         4  
  1         30  
20 1     1   5 use DateTime::TimeZone::OlsonDB;
  1         14  
  1         228  
21              
22             @DateTime::TimeZone::Pacific::Bougainville::ISA = ( 'Class::Singleton', 'DateTime::TimeZone' );
23              
24             my $spans =
25             [
26             [
27             DateTime::TimeZone::NEG_INFINITY, # utc_start
28             59295505064, # utc_end 1879-12-31 13:37:44 (Wed)
29             DateTime::TimeZone::NEG_INFINITY, # local_start
30             59295542400, # local_end 1880-01-01 00:00:00 (Thu)
31             37336,
32             0,
33             'LMT',
34             ],
35             [
36             59295505064, # utc_start 1879-12-31 13:37:44 (Wed)
37             59768892688, # utc_end 1894-12-31 14:11:28 (Mon)
38             59295540376, # local_start 1879-12-31 23:26:16 (Wed)
39             59768928000, # local_end 1895-01-01 00:00:00 (Tue)
40             35312,
41             0,
42             'PMMT',
43             ],
44             [
45             59768892688, # utc_start 1894-12-31 14:11:28 (Mon)
46             61267672800, # utc_end 1942-06-30 14:00:00 (Tue)
47             59768928688, # local_start 1895-01-01 00:11:28 (Tue)
48             61267708800, # local_end 1942-07-01 00:00:00 (Wed)
49             36000,
50             0,
51             '+10',
52             ],
53             [
54             61267672800, # utc_start 1942-06-30 14:00:00 (Tue)
55             61366777200, # utc_end 1945-08-20 15:00:00 (Mon)
56             61267705200, # local_start 1942-06-30 23:00:00 (Tue)
57             61366809600, # local_end 1945-08-21 00:00:00 (Tue)
58             32400,
59             0,
60             '+09',
61             ],
62             [
63             61366777200, # utc_start 1945-08-20 15:00:00 (Mon)
64             63555379200, # utc_end 2014-12-27 16:00:00 (Sat)
65             61366813200, # local_start 1945-08-21 01:00:00 (Tue)
66             63555415200, # local_end 2014-12-28 02:00:00 (Sun)
67             36000,
68             0,
69             '+10',
70             ],
71             [
72             63555379200, # utc_start 2014-12-27 16:00:00 (Sat)
73             DateTime::TimeZone::INFINITY, # utc_end
74             63555418800, # local_start 2014-12-28 03:00:00 (Sun)
75             DateTime::TimeZone::INFINITY, # local_end
76             39600,
77             0,
78             '+11',
79             ],
80             ];
81              
82 1     1 0 3 sub olson_version {'2026a'}
83              
84 0     0 1 0 sub has_dst_changes {0}
85              
86 1     1   9 sub _max_year {2036}
87              
88             sub _new_instance {
89 1     1   22 return shift->_init( @_, spans => $spans );
90             }
91              
92              
93              
94             1;
95