File Coverage

blib/lib/DateTime/TimeZone/America/El_Salvador.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/northamerica. Olson data version 2026a
7             #
8             # Do not edit this file directly.
9             #
10             package DateTime::TimeZone::America::El_Salvador;
11              
12 1     1   804 use strict;
  1         4  
  1         45  
13 1     1   7 use warnings;
  1         2  
  1         56  
14 1     1   8 use namespace::autoclean;
  1         24  
  1         10  
15              
16             our $VERSION = '2.67';
17              
18 1     1   147 use Class::Singleton 1.03;
  1         23  
  1         33  
19 1     1   8 use DateTime::TimeZone;
  1         2  
  1         81  
20 1     1   9 use DateTime::TimeZone::OlsonDB;
  1         3  
  1         266  
21              
22             @DateTime::TimeZone::America::El_Salvador::ISA = ( 'Class::Singleton', 'DateTime::TimeZone' );
23              
24             my $spans =
25             [
26             [
27             DateTime::TimeZone::NEG_INFINITY, # utc_start
28             60589403808, # utc_end 1921-01-01 05:56:48 (Sat)
29             DateTime::TimeZone::NEG_INFINITY, # local_start
30             60589382400, # local_end 1921-01-01 00:00:00 (Sat)
31             -21408,
32             0,
33             'LMT',
34             ],
35             [
36             60589403808, # utc_start 1921-01-01 05:56:48 (Sat)
37             62682703200, # utc_end 1987-05-03 06:00:00 (Sun)
38             60589382208, # local_start 1920-12-31 23:56:48 (Fri)
39             62682681600, # local_end 1987-05-03 00:00:00 (Sun)
40             -21600,
41             0,
42             'CST',
43             ],
44             [
45             62682703200, # utc_start 1987-05-03 06:00:00 (Sun)
46             62695400400, # utc_end 1987-09-27 05:00:00 (Sun)
47             62682685200, # local_start 1987-05-03 01:00:00 (Sun)
48             62695382400, # local_end 1987-09-27 00:00:00 (Sun)
49             -18000,
50             1,
51             'CDT',
52             ],
53             [
54             62695400400, # utc_start 1987-09-27 05:00:00 (Sun)
55             62714152800, # utc_end 1988-05-01 06:00:00 (Sun)
56             62695378800, # local_start 1987-09-26 23:00:00 (Sat)
57             62714131200, # local_end 1988-05-01 00:00:00 (Sun)
58             -21600,
59             0,
60             'CST',
61             ],
62             [
63             62714152800, # utc_start 1988-05-01 06:00:00 (Sun)
64             62726850000, # utc_end 1988-09-25 05:00:00 (Sun)
65             62714134800, # local_start 1988-05-01 01:00:00 (Sun)
66             62726832000, # local_end 1988-09-25 00:00:00 (Sun)
67             -18000,
68             1,
69             'CDT',
70             ],
71             [
72             62726850000, # utc_start 1988-09-25 05:00:00 (Sun)
73             DateTime::TimeZone::INFINITY, # utc_end
74             62726828400, # local_start 1988-09-24 23:00:00 (Sat)
75             DateTime::TimeZone::INFINITY, # local_end
76             -21600,
77             0,
78             'CST',
79             ],
80             ];
81              
82 1     1 0 4 sub olson_version {'2026a'}
83              
84 0     0 1 0 sub has_dst_changes {2}
85              
86 1     1   8 sub _max_year {2036}
87              
88             sub _new_instance {
89 1     1   21 return shift->_init( @_, spans => $spans );
90             }
91              
92              
93              
94             1;
95