File Coverage

blib/lib/DateTime/TimeZone/Pacific/Fakaofo.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::Fakaofo;
11              
12 1     1   4858 use strict;
  1         4  
  1         63  
13 1     1   8 use warnings;
  1         4  
  1         71  
14 1     1   8 use namespace::autoclean;
  1         4  
  1         29  
15              
16             our $VERSION = '2.67';
17              
18 1     1   139 use Class::Singleton 1.03;
  1         24  
  1         32  
19 1     1   33 use DateTime::TimeZone;
  1         4  
  1         54  
20 1     1   8 use DateTime::TimeZone::OlsonDB;
  1         2  
  1         224  
21              
22             @DateTime::TimeZone::Pacific::Fakaofo::ISA = ( 'Class::Singleton', 'DateTime::TimeZone' );
23              
24             my $spans =
25             [
26             [
27             DateTime::TimeZone::NEG_INFINITY, # utc_start
28             59958271496, # utc_end 1901-01-01 11:24:56 (Tue)
29             DateTime::TimeZone::NEG_INFINITY, # local_start
30             59958230400, # local_end 1901-01-01 00:00:00 (Tue)
31             -41096,
32             0,
33             'LMT',
34             ],
35             [
36             59958271496, # utc_start 1901-01-01 11:24:56 (Tue)
37             63460926000, # utc_end 2011-12-30 11:00:00 (Fri)
38             59958231896, # local_start 1901-01-01 00:24:56 (Tue)
39             63460886400, # local_end 2011-12-30 00:00:00 (Fri)
40             -39600,
41             0,
42             '-11',
43             ],
44             [
45             63460926000, # utc_start 2011-12-30 11:00:00 (Fri)
46             DateTime::TimeZone::INFINITY, # utc_end
47             63460972800, # local_start 2011-12-31 00:00:00 (Sat)
48             DateTime::TimeZone::INFINITY, # local_end
49             46800,
50             0,
51             '+13',
52             ],
53             ];
54              
55 1     1 0 6 sub olson_version {'2026a'}
56              
57 0     0 1 0 sub has_dst_changes {0}
58              
59 1     1   10 sub _max_year {2036}
60              
61             sub _new_instance {
62 1     1   24 return shift->_init( @_, spans => $spans );
63             }
64              
65              
66              
67             1;
68