File Coverage

blib/lib/DateTime/TimeZone/Africa/Nairobi.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::Nairobi;
11              
12 3     3   2188 use strict;
  3         7  
  3         123  
13 3     3   16 use warnings;
  3         6  
  3         209  
14 3     3   22 use namespace::autoclean;
  3         6  
  3         22  
15              
16             our $VERSION = '2.67';
17              
18 3     3   342 use Class::Singleton 1.03;
  3         60  
  3         76  
19 3     3   17 use DateTime::TimeZone;
  3         7  
  3         118  
20 3     3   16 use DateTime::TimeZone::OlsonDB;
  3         6  
  3         673  
21              
22             @DateTime::TimeZone::Africa::Nairobi::ISA = ( 'Class::Singleton', 'DateTime::TimeZone' );
23              
24             my $spans =
25             [
26             [
27             DateTime::TimeZone::NEG_INFINITY, # utc_start
28             60189514364, # utc_end 1908-04-30 21:32:44 (Thu)
29             DateTime::TimeZone::NEG_INFINITY, # local_start
30             60189523200, # local_end 1908-05-01 00:00:00 (Fri)
31             8836,
32             0,
33             'LMT',
34             ],
35             [
36             60189514364, # utc_start 1908-04-30 21:32:44 (Thu)
37             60825936600, # utc_end 1928-06-30 21:30:00 (Sat)
38             60189523364, # local_start 1908-05-01 00:02:44 (Fri)
39             60825945600, # local_end 1928-07-01 00:00:00 (Sun)
40             9000,
41             0,
42             '+0230',
43             ],
44             [
45             60825936600, # utc_start 1928-06-30 21:30:00 (Sat)
46             60873714000, # utc_end 1930-01-04 21:00:00 (Sat)
47             60825947400, # local_start 1928-07-01 00:30:00 (Sun)
48             60873724800, # local_end 1930-01-05 00:00:00 (Sun)
49             10800,
50             0,
51             'EAT',
52             ],
53             [
54             60873714000, # utc_start 1930-01-04 21:00:00 (Sat)
55             61094295000, # utc_end 1936-12-31 21:30:00 (Thu)
56             60873723000, # local_start 1930-01-04 23:30:00 (Sat)
57             61094304000, # local_end 1937-01-01 00:00:00 (Fri)
58             9000,
59             0,
60             '+0230',
61             ],
62             [
63             61094295000, # utc_start 1936-12-31 21:30:00 (Thu)
64             61270377300, # utc_end 1942-07-31 21:15:00 (Fri)
65             61094304900, # local_start 1937-01-01 00:15:00 (Fri)
66             61270387200, # local_end 1942-08-01 00:00:00 (Sat)
67             9900,
68             0,
69             '+0245',
70             ],
71             [
72             61270377300, # utc_start 1942-07-31 21:15:00 (Fri)
73             DateTime::TimeZone::INFINITY, # utc_end
74             61270388100, # local_start 1942-08-01 00:15:00 (Sat)
75             DateTime::TimeZone::INFINITY, # local_end
76             10800,
77             0,
78             'EAT',
79             ],
80             ];
81              
82 31     31 0 74 sub olson_version {'2026a'}
83              
84 0     0 1 0 sub has_dst_changes {0}
85              
86 3     3   23 sub _max_year {2036}
87              
88             sub _new_instance {
89 3     3   50 return shift->_init( @_, spans => $spans );
90             }
91              
92              
93              
94             1;
95