File Coverage

blib/lib/DateTime/TimeZone/Pacific/Noumea.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::Noumea;
11              
12 1     1   792 use strict;
  1         3  
  1         49  
13 1     1   7 use warnings;
  1         3  
  1         81  
14 1     1   8 use namespace::autoclean;
  1         3  
  1         8  
15              
16             our $VERSION = '2.67';
17              
18 1     1   127 use Class::Singleton 1.03;
  1         22  
  1         69  
19 1     1   10 use DateTime::TimeZone;
  1         2  
  1         26  
20 1     1   6 use DateTime::TimeZone::OlsonDB;
  1         3  
  1         251  
21              
22             @DateTime::TimeZone::Pacific::Noumea::ISA = ( 'Class::Singleton', 'DateTime::TimeZone' );
23              
24             my $spans =
25             [
26             [
27             DateTime::TimeZone::NEG_INFINITY, # utc_start
28             60306296052, # utc_end 1912-01-12 12:54:12 (Fri)
29             DateTime::TimeZone::NEG_INFINITY, # local_start
30             60306336000, # local_end 1912-01-13 00:00:00 (Sat)
31             39948,
32             0,
33             'LMT',
34             ],
35             [
36             60306296052, # utc_start 1912-01-12 12:54:12 (Fri)
37             62385685200, # utc_end 1977-12-03 13:00:00 (Sat)
38             60306335652, # local_start 1912-01-12 23:54:12 (Fri)
39             62385724800, # local_end 1977-12-04 00:00:00 (Sun)
40             39600,
41             0,
42             '+11',
43             ],
44             [
45             62385685200, # utc_start 1977-12-03 13:00:00 (Sat)
46             62393025600, # utc_end 1978-02-26 12:00:00 (Sun)
47             62385728400, # local_start 1977-12-04 01:00:00 (Sun)
48             62393068800, # local_end 1978-02-27 00:00:00 (Mon)
49             43200,
50             1,
51             '+12',
52             ],
53             [
54             62393025600, # utc_start 1978-02-26 12:00:00 (Sun)
55             62417134800, # utc_end 1978-12-02 13:00:00 (Sat)
56             62393065200, # local_start 1978-02-26 23:00:00 (Sun)
57             62417174400, # local_end 1978-12-03 00:00:00 (Sun)
58             39600,
59             0,
60             '+11',
61             ],
62             [
63             62417134800, # utc_start 1978-12-02 13:00:00 (Sat)
64             62424561600, # utc_end 1979-02-26 12:00:00 (Mon)
65             62417178000, # local_start 1978-12-03 01:00:00 (Sun)
66             62424604800, # local_end 1979-02-27 00:00:00 (Tue)
67             43200,
68             1,
69             '+12',
70             ],
71             [
72             62424561600, # utc_start 1979-02-26 12:00:00 (Mon)
73             62985049200, # utc_end 1996-11-30 15:00:00 (Sat)
74             62424601200, # local_start 1979-02-26 23:00:00 (Mon)
75             62985088800, # local_end 1996-12-01 02:00:00 (Sun)
76             39600,
77             0,
78             '+11',
79             ],
80             [
81             62985049200, # utc_start 1996-11-30 15:00:00 (Sat)
82             62992911600, # utc_end 1997-03-01 15:00:00 (Sat)
83             62985092400, # local_start 1996-12-01 03:00:00 (Sun)
84             62992954800, # local_end 1997-03-02 03:00:00 (Sun)
85             43200,
86             1,
87             '+12',
88             ],
89             [
90             62992911600, # utc_start 1997-03-01 15:00:00 (Sat)
91             DateTime::TimeZone::INFINITY, # utc_end
92             62992951200, # local_start 1997-03-02 02:00:00 (Sun)
93             DateTime::TimeZone::INFINITY, # local_end
94             39600,
95             0,
96             '+11',
97             ],
98             ];
99              
100 1     1 0 3 sub olson_version {'2026a'}
101              
102 0     0 1 0 sub has_dst_changes {3}
103              
104 1     1   9 sub _max_year {2036}
105              
106             sub _new_instance {
107 1     1   22 return shift->_init( @_, spans => $spans );
108             }
109              
110              
111              
112             1;
113