File Coverage

blib/lib/DateTime/TimeZone/America/Costa_Rica.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::Costa_Rica;
11              
12 1     1   840 use strict;
  1         3  
  1         43  
13 1     1   8 use warnings;
  1         2  
  1         76  
14 1     1   9 use namespace::autoclean;
  1         2  
  1         7  
15              
16             our $VERSION = '2.67';
17              
18 1     1   128 use Class::Singleton 1.03;
  1         21  
  1         29  
19 1     1   7 use DateTime::TimeZone;
  1         2  
  1         54  
20 1     1   6 use DateTime::TimeZone::OlsonDB;
  1         2  
  1         348  
21              
22             @DateTime::TimeZone::America::Costa_Rica::ISA = ( 'Class::Singleton', 'DateTime::TimeZone' );
23              
24             my $spans =
25             [
26             [
27             DateTime::TimeZone::NEG_INFINITY, # utc_start
28             59611181773, # utc_end 1890-01-01 05:36:13 (Wed)
29             DateTime::TimeZone::NEG_INFINITY, # local_start
30             59611161600, # local_end 1890-01-01 00:00:00 (Wed)
31             -20173,
32             0,
33             'LMT',
34             ],
35             [
36             59611181773, # utc_start 1890-01-01 05:36:13 (Wed)
37             60590612173, # utc_end 1921-01-15 05:36:13 (Sat)
38             59611161600, # local_start 1890-01-01 00:00:00 (Wed)
39             60590592000, # local_end 1921-01-15 00:00:00 (Sat)
40             -20173,
41             0,
42             'SJMT',
43             ],
44             [
45             60590612173, # utc_start 1921-01-15 05:36:13 (Sat)
46             62424453600, # utc_end 1979-02-25 06:00:00 (Sun)
47             60590590573, # local_start 1921-01-14 23:36:13 (Fri)
48             62424432000, # local_end 1979-02-25 00:00:00 (Sun)
49             -21600,
50             0,
51             'CST',
52             ],
53             [
54             62424453600, # utc_start 1979-02-25 06:00:00 (Sun)
55             62432917200, # utc_end 1979-06-03 05:00:00 (Sun)
56             62424435600, # local_start 1979-02-25 01:00:00 (Sun)
57             62432899200, # local_end 1979-06-03 00:00:00 (Sun)
58             -18000,
59             1,
60             'CDT',
61             ],
62             [
63             62432917200, # utc_start 1979-06-03 05:00:00 (Sun)
64             62455903200, # utc_end 1980-02-24 06:00:00 (Sun)
65             62432895600, # local_start 1979-06-02 23:00:00 (Sat)
66             62455881600, # local_end 1980-02-24 00:00:00 (Sun)
67             -21600,
68             0,
69             'CST',
70             ],
71             [
72             62455903200, # utc_start 1980-02-24 06:00:00 (Sun)
73             62464366800, # utc_end 1980-06-01 05:00:00 (Sun)
74             62455885200, # local_start 1980-02-24 01:00:00 (Sun)
75             62464348800, # local_end 1980-06-01 00:00:00 (Sun)
76             -18000,
77             1,
78             'CDT',
79             ],
80             [
81             62464366800, # utc_start 1980-06-01 05:00:00 (Sun)
82             62799948000, # utc_end 1991-01-19 06:00:00 (Sat)
83             62464345200, # local_start 1980-05-31 23:00:00 (Sat)
84             62799926400, # local_end 1991-01-19 00:00:00 (Sat)
85             -21600,
86             0,
87             'CST',
88             ],
89             [
90             62799948000, # utc_start 1991-01-19 06:00:00 (Sat)
91             62814027600, # utc_end 1991-07-01 05:00:00 (Mon)
92             62799930000, # local_start 1991-01-19 01:00:00 (Sat)
93             62814009600, # local_end 1991-07-01 00:00:00 (Mon)
94             -18000,
95             1,
96             'CDT',
97             ],
98             [
99             62814027600, # utc_start 1991-07-01 05:00:00 (Mon)
100             62831397600, # utc_end 1992-01-18 06:00:00 (Sat)
101             62814006000, # local_start 1991-06-30 23:00:00 (Sun)
102             62831376000, # local_end 1992-01-18 00:00:00 (Sat)
103             -21600,
104             0,
105             'CST',
106             ],
107             [
108             62831397600, # utc_start 1992-01-18 06:00:00 (Sat)
109             62836318800, # utc_end 1992-03-15 05:00:00 (Sun)
110             62831379600, # local_start 1992-01-18 01:00:00 (Sat)
111             62836300800, # local_end 1992-03-15 00:00:00 (Sun)
112             -18000,
113             1,
114             'CDT',
115             ],
116             [
117             62836318800, # utc_start 1992-03-15 05:00:00 (Sun)
118             DateTime::TimeZone::INFINITY, # utc_end
119             62836297200, # local_start 1992-03-14 23:00:00 (Sat)
120             DateTime::TimeZone::INFINITY, # local_end
121             -21600,
122             0,
123             'CST',
124             ],
125             ];
126              
127 1     1 0 3 sub olson_version {'2026a'}
128              
129 0     0 1 0 sub has_dst_changes {4}
130              
131 1     1   8 sub _max_year {2036}
132              
133             sub _new_instance {
134 1     1   19 return shift->_init( @_, spans => $spans );
135             }
136              
137              
138              
139             1;
140