File Coverage

blib/lib/DateTime/TimeZone/Africa/Sao_Tome.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::Sao_Tome;
11              
12 1     1   1110 use strict;
  1         3  
  1         52  
13 1     1   10 use warnings;
  1         3  
  1         112  
14 1     1   11 use namespace::autoclean;
  1         4  
  1         32  
15              
16             our $VERSION = '2.67';
17              
18 1     1   158 use Class::Singleton 1.03;
  1         31  
  1         90  
19 1     1   9 use DateTime::TimeZone;
  1         3  
  1         26  
20 1     1   5 use DateTime::TimeZone::OlsonDB;
  1         15  
  1         255  
21              
22             @DateTime::TimeZone::Africa::Sao_Tome::ISA = ( 'Class::Singleton', 'DateTime::TimeZone' );
23              
24             my $spans =
25             [
26             [
27             DateTime::TimeZone::NEG_INFINITY, # utc_start
28             59421771184, # utc_end 1883-12-31 23:33:04 (Mon)
29             DateTime::TimeZone::NEG_INFINITY, # local_start
30             59421772800, # local_end 1884-01-01 00:00:00 (Tue)
31             1616,
32             0,
33             'LMT',
34             ],
35             [
36             59421771184, # utc_start 1883-12-31 23:33:04 (Mon)
37             60305299200, # utc_end 1912-01-01 00:00:00 (Mon)
38             59421768979, # local_start 1883-12-31 22:56:19 (Mon)
39             60305296995, # local_end 1911-12-31 23:23:15 (Sun)
40             -2205,
41             0,
42             'LMT',
43             ],
44             [
45             60305299200, # utc_start 1912-01-01 00:00:00 (Mon)
46             63650451600, # utc_end 2018-01-01 01:00:00 (Mon)
47             60305299200, # local_start 1912-01-01 00:00:00 (Mon)
48             63650451600, # local_end 2018-01-01 01:00:00 (Mon)
49             0,
50             0,
51             'GMT',
52             ],
53             [
54             63650451600, # utc_start 2018-01-01 01:00:00 (Mon)
55             63681987600, # utc_end 2019-01-01 01:00:00 (Tue)
56             63650455200, # local_start 2018-01-01 02:00:00 (Mon)
57             63681991200, # local_end 2019-01-01 02:00:00 (Tue)
58             3600,
59             0,
60             'WAT',
61             ],
62             [
63             63681987600, # utc_start 2019-01-01 01:00:00 (Tue)
64             DateTime::TimeZone::INFINITY, # utc_end
65             63681987600, # local_start 2019-01-01 01:00:00 (Tue)
66             DateTime::TimeZone::INFINITY, # local_end
67             0,
68             0,
69             'GMT',
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   9 sub _max_year {2036}
78              
79             sub _new_instance {
80 1     1   22 return shift->_init( @_, spans => $spans );
81             }
82              
83              
84              
85             1;
86