File Coverage

blib/lib/DateTime/TimeZone/Africa/Ndjamena.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/africa. Olson data version 2026a
7             #
8             # Do not edit this file directly.
9             #
10             package DateTime::TimeZone::Africa::Ndjamena;
11              
12 1     1   2228 use strict;
  1         3  
  1         140  
13 1     1   9 use warnings;
  1         3  
  1         101  
14 1     1   40 use namespace::autoclean;
  1         3  
  1         25  
15              
16             our $VERSION = '2.67';
17              
18 1     1   200 use Class::Singleton 1.03;
  1         31  
  1         33  
19 1     1   10 use DateTime::TimeZone;
  1         3  
  1         38  
20 1     1   7 use DateTime::TimeZone::OlsonDB;
  1         2  
  1         252  
21              
22             @DateTime::TimeZone::Africa::Ndjamena::ISA = ( 'Class::Singleton', 'DateTime::TimeZone' );
23              
24             my $spans =
25             [
26             [
27             DateTime::TimeZone::NEG_INFINITY, # utc_start
28             60305295588, # utc_end 1911-12-31 22:59:48 (Sun)
29             DateTime::TimeZone::NEG_INFINITY, # local_start
30             60305299200, # local_end 1912-01-01 00:00:00 (Mon)
31             3612,
32             0,
33             'LMT',
34             ],
35             [
36             60305295588, # utc_start 1911-12-31 22:59:48 (Sun)
37             62444386800, # utc_end 1979-10-13 23:00:00 (Sat)
38             60305299188, # local_start 1911-12-31 23:59:48 (Sun)
39             62444390400, # local_end 1979-10-14 00:00:00 (Sun)
40             3600,
41             0,
42             'WAT',
43             ],
44             [
45             62444386800, # utc_start 1979-10-13 23:00:00 (Sat)
46             62456997600, # utc_end 1980-03-07 22:00:00 (Fri)
47             62444394000, # local_start 1979-10-14 01:00:00 (Sun)
48             62457004800, # local_end 1980-03-08 00:00:00 (Sat)
49             7200,
50             1,
51             'WAST',
52             ],
53             [
54             62456997600, # utc_start 1980-03-07 22:00:00 (Fri)
55             DateTime::TimeZone::INFINITY, # utc_end
56             62457001200, # local_start 1980-03-07 23:00:00 (Fri)
57             DateTime::TimeZone::INFINITY, # local_end
58             3600,
59             0,
60             'WAT',
61             ],
62             ];
63              
64 1     1 0 3 sub olson_version {'2026a'}
65              
66 0     0 1 0 sub has_dst_changes {1}
67              
68 1     1   10 sub _max_year {2036}
69              
70             sub _new_instance {
71 1     1   27 return shift->_init( @_, spans => $spans );
72             }
73              
74              
75              
76             1;
77