File Coverage

blib/lib/DateTime/TimeZone/Antarctica/Davis.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/antarctica. Olson data version 2026a
7             #
8             # Do not edit this file directly.
9             #
10             package DateTime::TimeZone::Antarctica::Davis;
11              
12 1     1   1046 use strict;
  1         6  
  1         50  
13 1     1   7 use warnings;
  1         2  
  1         89  
14 1     1   8 use namespace::autoclean;
  1         3  
  1         9  
15              
16             our $VERSION = '2.67';
17              
18 1     1   119 use Class::Singleton 1.03;
  1         26  
  1         33  
19 1     1   6 use DateTime::TimeZone;
  1         2  
  1         44  
20 1     1   7 use DateTime::TimeZone::OlsonDB;
  1         3  
  1         299  
21              
22             @DateTime::TimeZone::Antarctica::Davis::ISA = ( 'Class::Singleton', 'DateTime::TimeZone' );
23              
24             my $spans =
25             [
26             [
27             DateTime::TimeZone::NEG_INFINITY, # utc_start
28             61726492800, # utc_end 1957-01-13 00:00:00 (Sun)
29             DateTime::TimeZone::NEG_INFINITY, # local_start
30             61726492800, # local_end 1957-01-13 00:00:00 (Sun)
31             0,
32             0,
33             '-00',
34             ],
35             [
36             61726492800, # utc_start 1957-01-13 00:00:00 (Sun)
37             61972621200, # utc_end 1964-10-31 17:00:00 (Sat)
38             61726518000, # local_start 1957-01-13 07:00:00 (Sun)
39             61972646400, # local_end 1964-11-01 00:00:00 (Sun)
40             25200,
41             0,
42             '+07',
43             ],
44             [
45             61972621200, # utc_start 1964-10-31 17:00:00 (Sat)
46             62106825600, # utc_end 1969-02-01 00:00:00 (Sat)
47             61972621200, # local_start 1964-10-31 17:00:00 (Sat)
48             62106825600, # local_end 1969-02-01 00:00:00 (Sat)
49             0,
50             0,
51             '-00',
52             ],
53             [
54             62106825600, # utc_start 1969-02-01 00:00:00 (Sat)
55             63391489200, # utc_end 2009-10-17 19:00:00 (Sat)
56             62106850800, # local_start 1969-02-01 07:00:00 (Sat)
57             63391514400, # local_end 2009-10-18 02:00:00 (Sun)
58             25200,
59             0,
60             '+07',
61             ],
62             [
63             63391489200, # utc_start 2009-10-17 19:00:00 (Sat)
64             63403934400, # utc_end 2010-03-10 20:00:00 (Wed)
65             63391507200, # local_start 2009-10-18 00:00:00 (Sun)
66             63403952400, # local_end 2010-03-11 01:00:00 (Thu)
67             18000,
68             0,
69             '+05',
70             ],
71             [
72             63403934400, # utc_start 2010-03-10 20:00:00 (Wed)
73             63455425200, # utc_end 2011-10-27 19:00:00 (Thu)
74             63403959600, # local_start 2010-03-11 03:00:00 (Thu)
75             63455450400, # local_end 2011-10-28 02:00:00 (Fri)
76             25200,
77             0,
78             '+07',
79             ],
80             [
81             63455425200, # utc_start 2011-10-27 19:00:00 (Thu)
82             63465537600, # utc_end 2012-02-21 20:00:00 (Tue)
83             63455443200, # local_start 2011-10-28 00:00:00 (Fri)
84             63465555600, # local_end 2012-02-22 01:00:00 (Wed)
85             18000,
86             0,
87             '+05',
88             ],
89             [
90             63465537600, # utc_start 2012-02-21 20:00:00 (Tue)
91             DateTime::TimeZone::INFINITY, # utc_end
92             63465562800, # local_start 2012-02-22 03:00:00 (Wed)
93             DateTime::TimeZone::INFINITY, # local_end
94             25200,
95             0,
96             '+07',
97             ],
98             ];
99              
100 1     1 0 4 sub olson_version {'2026a'}
101              
102 0     0 1 0 sub has_dst_changes {0}
103              
104 1     1   9 sub _max_year {2036}
105              
106             sub _new_instance {
107 1     1   23 return shift->_init( @_, spans => $spans );
108             }
109              
110              
111              
112             1;
113