File Coverage

blib/lib/DateTime/TimeZone/Pacific/Nauru.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::Nauru;
11              
12 1     1   827 use strict;
  1         4  
  1         45  
13 1     1   6 use warnings;
  1         2  
  1         53  
14 1     1   6 use namespace::autoclean;
  1         2  
  1         7  
15              
16             our $VERSION = '2.67';
17              
18 1     1   131 use Class::Singleton 1.03;
  1         21  
  1         28  
19 1     1   5 use DateTime::TimeZone;
  1         2  
  1         40  
20 1     1   6 use DateTime::TimeZone::OlsonDB;
  1         4  
  1         245  
21              
22             @DateTime::TimeZone::Pacific::Nauru::ISA = ( 'Class::Singleton', 'DateTime::TimeZone' );
23              
24             my $spans =
25             [
26             [
27             DateTime::TimeZone::NEG_INFINITY, # utc_start
28             60590551940, # utc_end 1921-01-14 12:52:20 (Fri)
29             DateTime::TimeZone::NEG_INFINITY, # local_start
30             60590592000, # local_end 1921-01-15 00:00:00 (Sat)
31             40060,
32             0,
33             'LMT',
34             ],
35             [
36             60590551940, # utc_start 1921-01-14 12:52:20 (Fri)
37             61272765000, # utc_end 1942-08-28 12:30:00 (Fri)
38             60590593340, # local_start 1921-01-15 00:22:20 (Sat)
39             61272806400, # local_end 1942-08-29 00:00:00 (Sat)
40             41400,
41             0,
42             '+1130',
43             ],
44             [
45             61272765000, # utc_start 1942-08-28 12:30:00 (Fri)
46             61368332400, # utc_end 1945-09-07 15:00:00 (Fri)
47             61272797400, # local_start 1942-08-28 21:30:00 (Fri)
48             61368364800, # local_end 1945-09-08 00:00:00 (Sat)
49             32400,
50             0,
51             '+09',
52             ],
53             [
54             61368332400, # utc_start 1945-09-07 15:00:00 (Fri)
55             62423101800, # utc_end 1979-02-09 14:30:00 (Fri)
56             61368373800, # local_start 1945-09-08 02:30:00 (Sat)
57             62423143200, # local_end 1979-02-10 02:00:00 (Sat)
58             41400,
59             0,
60             '+1130',
61             ],
62             [
63             62423101800, # utc_start 1979-02-09 14:30:00 (Fri)
64             DateTime::TimeZone::INFINITY, # utc_end
65             62423145000, # local_start 1979-02-10 02:30:00 (Sat)
66             DateTime::TimeZone::INFINITY, # local_end
67             43200,
68             0,
69             '+12',
70             ],
71             ];
72              
73 1     1 0 3 sub olson_version {'2026a'}
74              
75 0     0 1 0 sub has_dst_changes {0}
76              
77 1     1   5 sub _max_year {2036}
78              
79             sub _new_instance {
80 1     1   14 return shift->_init( @_, spans => $spans );
81             }
82              
83              
84              
85             1;
86