TimeZone/America/Puerto_Rico.pm untested

filter: Statementstmt 0.0% 0 / 29 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 10 Podpod 0.0% 0 / 4 totaltotal 0.0% 0 / 43 CC 1 SCAR 6.9
CC
1
Cov
0%
olson_version
2.0
has_dst_changes
2.0
_max_year
2.0
CRAP 2.0
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/HS0i8XpYTu/northamerica. Olson data version 2026f
7 #
8 # Do not edit this file directly.
9 #
10 package DateTime::TimeZone::America::Puerto_Rico;
11  
12 use strict;
13 use warnings;
14 use namespace::autoclean;
15  
16 our $VERSION = '2.72';
17  
18 use Class::Singleton 1.03;
19 use DateTime::TimeZone;
20 use DateTime::TimeZone::OlsonDB;
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 sub olson_version {'2026f'}
74  
75 sub has_dst_changes {2}
76  
77 sub _max_year {2036}
78  
79 sub _new_instance {
80 return shift->_init( @_, spans => $spans );
81 }
82  
83  
84  
85 1;
86