File Coverage

blib/lib/DateTime/TimeZone/America/Puerto_Rico.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::Puerto_Rico;
11              
12 3     3   2497 use strict;
  3         7  
  3         181  
13 3     3   24 use warnings;
  3         9  
  3         178  
14 3     3   21 use namespace::autoclean;
  3         6  
  3         23  
15              
16             our $VERSION = '2.67';
17              
18 3     3   385 use Class::Singleton 1.03;
  3         71  
  3         109  
19 3     3   19 use DateTime::TimeZone;
  3         8  
  3         88  
20 3     3   60 use DateTime::TimeZone::OlsonDB;
  3         6  
  3         791  
21              
22             @DateTime::TimeZone::America::Puerto_Rico::ISA = ( 'Class::Singleton', 'DateTime::TimeZone' );
23              
24             my $spans =
25             [
26             [
27             DateTime::TimeZone::NEG_INFINITY, # utc_start
28             59902647865, # utc_end 1899-03-28 16:24:25 (Tue)
29             DateTime::TimeZone::NEG_INFINITY, # local_start
30             59902632000, # local_end 1899-03-28 12:00:00 (Tue)
31             -15865,
32             0,
33             'LMT',
34             ],
35             [
36             59902647865, # utc_start 1899-03-28 16:24:25 (Tue)
37             61262625600, # utc_end 1942-05-03 04:00:00 (Sun)
38             59902633465, # local_start 1899-03-28 12:24:25 (Tue)
39             61262611200, # local_end 1942-05-03 00:00:00 (Sun)
40             -14400,
41             0,
42             'AST',
43             ],
44             [
45             61262625600, # utc_start 1942-05-03 04:00:00 (Sun)
46             61366287600, # utc_end 1945-08-14 23:00:00 (Tue)
47             61262614800, # local_start 1942-05-03 01:00:00 (Sun)
48             61366276800, # local_end 1945-08-14 20:00:00 (Tue)
49             -10800,
50             1,
51             'AWT',
52             ],
53             [
54             61366287600, # utc_start 1945-08-14 23:00:00 (Tue)
55             61370283600, # utc_end 1945-09-30 05:00:00 (Sun)
56             61366276800, # local_start 1945-08-14 20:00:00 (Tue)
57             61370272800, # local_end 1945-09-30 02:00:00 (Sun)
58             -10800,
59             1,
60             'APT',
61             ],
62             [
63             61370283600, # utc_start 1945-09-30 05:00:00 (Sun)
64             DateTime::TimeZone::INFINITY, # utc_end
65             61370269200, # local_start 1945-09-30 01:00:00 (Sun)
66             DateTime::TimeZone::INFINITY, # local_end
67             -14400,
68             0,
69             'AST',
70             ],
71             ];
72              
73 61     61 0 157 sub olson_version {'2026a'}
74              
75 0     0 1 0 sub has_dst_changes {2}
76              
77 3     3   25 sub _max_year {2036}
78              
79             sub _new_instance {
80 3     3   74 return shift->_init( @_, spans => $spans );
81             }
82              
83              
84              
85             1;
86