File Coverage

blib/lib/DateTime/TimeZone/Africa/Lagos.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::Lagos;
11              
12 3     3   2160 use strict;
  3         7  
  3         123  
13 3     3   48 use warnings;
  3         7  
  3         183  
14 3     3   19 use namespace::autoclean;
  3         5  
  3         23  
15              
16             our $VERSION = '2.67';
17              
18 3     3   286 use Class::Singleton 1.03;
  3         57  
  3         110  
19 3     3   16 use DateTime::TimeZone;
  3         5  
  3         104  
20 3     3   15 use DateTime::TimeZone::OlsonDB;
  3         7  
  3         688  
21              
22             @DateTime::TimeZone::Africa::Lagos::ISA = ( 'Class::Singleton', 'DateTime::TimeZone' );
23              
24             my $spans =
25             [
26             [
27             DateTime::TimeZone::NEG_INFINITY, # utc_start
28             60100098385, # utc_end 1905-06-30 23:46:25 (Fri)
29             DateTime::TimeZone::NEG_INFINITY, # local_start
30             60100099200, # local_end 1905-07-01 00:00:00 (Sat)
31             815,
32             0,
33             'LMT',
34             ],
35             [
36             60100098385, # utc_start 1905-06-30 23:46:25 (Fri)
37             60194793600, # utc_end 1908-07-01 00:00:00 (Wed)
38             60100098385, # local_start 1905-06-30 23:46:25 (Fri)
39             60194793600, # local_end 1908-07-01 00:00:00 (Wed)
40             0,
41             0,
42             'GMT',
43             ],
44             [
45             60194793600, # utc_start 1908-07-01 00:00:00 (Wed)
46             60368456785, # utc_end 1913-12-31 23:46:25 (Wed)
47             60194794415, # local_start 1908-07-01 00:13:35 (Wed)
48             60368457600, # local_end 1914-01-01 00:00:00 (Thu)
49             815,
50             0,
51             'LMT',
52             ],
53             [
54             60368456785, # utc_start 1913-12-31 23:46:25 (Wed)
55             60547217400, # utc_end 1919-08-31 23:30:00 (Sun)
56             60368458585, # local_start 1914-01-01 00:16:25 (Thu)
57             60547219200, # local_end 1919-09-01 00:00:00 (Mon)
58             1800,
59             0,
60             '+0030',
61             ],
62             [
63             60547217400, # utc_start 1919-08-31 23:30:00 (Sun)
64             DateTime::TimeZone::INFINITY, # utc_end
65             60547221000, # local_start 1919-09-01 00:30:00 (Mon)
66             DateTime::TimeZone::INFINITY, # local_end
67             3600,
68             0,
69             'WAT',
70             ],
71             ];
72              
73 29     29 0 83 sub olson_version {'2026a'}
74              
75 0     0 1 0 sub has_dst_changes {0}
76              
77 3     3   22 sub _max_year {2036}
78              
79             sub _new_instance {
80 3     3   50 return shift->_init( @_, spans => $spans );
81             }
82              
83              
84              
85             1;
86