File Coverage

blib/lib/DateTime/TimeZone/Australia/Darwin.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/australasia. Olson data version 2026a
7             #
8             # Do not edit this file directly.
9             #
10             package DateTime::TimeZone::Australia::Darwin;
11              
12 3     3   1999 use strict;
  3         7  
  3         109  
13 3     3   16 use warnings;
  3         7  
  3         151  
14 3     3   17 use namespace::autoclean;
  3         5  
  3         40  
15              
16             our $VERSION = '2.67';
17              
18 3     3   282 use Class::Singleton 1.03;
  3         68  
  3         89  
19 3     3   14 use DateTime::TimeZone;
  3         7  
  3         104  
20 3     3   13 use DateTime::TimeZone::OlsonDB;
  3         6  
  3         701  
21              
22             @DateTime::TimeZone::Australia::Darwin::ISA = ( 'Class::Singleton', 'DateTime::TimeZone' );
23              
24             my $spans =
25             [
26             [
27             DateTime::TimeZone::NEG_INFINITY, # utc_start
28             59771575000, # utc_end 1895-01-31 15:16:40 (Thu)
29             DateTime::TimeZone::NEG_INFINITY, # local_start
30             59771606400, # local_end 1895-02-01 00:00:00 (Fri)
31             31400,
32             0,
33             'LMT',
34             ],
35             [
36             59771575000, # utc_start 1895-01-31 15:16:40 (Thu)
37             59905494000, # utc_end 1899-04-30 15:00:00 (Sun)
38             59771607400, # local_start 1895-02-01 00:16:40 (Fri)
39             59905526400, # local_end 1899-05-01 00:00:00 (Mon)
40             32400,
41             0,
42             'ACST',
43             ],
44             [
45             59905494000, # utc_start 1899-04-30 15:00:00 (Sun)
46             60463125000, # utc_end 1916-12-31 16:30:00 (Sun)
47             59905528200, # local_start 1899-05-01 00:30:00 (Mon)
48             60463159200, # local_end 1917-01-01 02:00:00 (Mon)
49             34200,
50             0,
51             'ACST',
52             ],
53             [
54             60463125000, # utc_start 1916-12-31 16:30:00 (Sun)
55             60470296200, # utc_end 1917-03-24 16:30:00 (Sat)
56             60463162800, # local_start 1917-01-01 03:00:00 (Mon)
57             60470334000, # local_end 1917-03-25 03:00:00 (Sun)
58             37800,
59             1,
60             'ACDT',
61             ],
62             [
63             60470296200, # utc_start 1917-03-24 16:30:00 (Sat)
64             61252043400, # utc_end 1941-12-31 16:30:00 (Wed)
65             60470330400, # local_start 1917-03-25 02:00:00 (Sun)
66             61252077600, # local_end 1942-01-01 02:00:00 (Thu)
67             34200,
68             0,
69             'ACST',
70             ],
71             [
72             61252043400, # utc_start 1941-12-31 16:30:00 (Wed)
73             61259560200, # utc_end 1942-03-28 16:30:00 (Sat)
74             61252081200, # local_start 1942-01-01 03:00:00 (Thu)
75             61259598000, # local_end 1942-03-29 03:00:00 (Sun)
76             37800,
77             1,
78             'ACDT',
79             ],
80             [
81             61259560200, # utc_start 1942-03-28 16:30:00 (Sat)
82             61275285000, # utc_end 1942-09-26 16:30:00 (Sat)
83             61259594400, # local_start 1942-03-29 02:00:00 (Sun)
84             61275319200, # local_end 1942-09-27 02:00:00 (Sun)
85             34200,
86             0,
87             'ACST',
88             ],
89             [
90             61275285000, # utc_start 1942-09-26 16:30:00 (Sat)
91             61291009800, # utc_end 1943-03-27 16:30:00 (Sat)
92             61275322800, # local_start 1942-09-27 03:00:00 (Sun)
93             61291047600, # local_end 1943-03-28 03:00:00 (Sun)
94             37800,
95             1,
96             'ACDT',
97             ],
98             [
99             61291009800, # utc_start 1943-03-27 16:30:00 (Sat)
100             61307339400, # utc_end 1943-10-02 16:30:00 (Sat)
101             61291044000, # local_start 1943-03-28 02:00:00 (Sun)
102             61307373600, # local_end 1943-10-03 02:00:00 (Sun)
103             34200,
104             0,
105             'ACST',
106             ],
107             [
108             61307339400, # utc_start 1943-10-02 16:30:00 (Sat)
109             61322459400, # utc_end 1944-03-25 16:30:00 (Sat)
110             61307377200, # local_start 1943-10-03 03:00:00 (Sun)
111             61322497200, # local_end 1944-03-26 03:00:00 (Sun)
112             37800,
113             1,
114             'ACDT',
115             ],
116             [
117             61322459400, # utc_start 1944-03-25 16:30:00 (Sat)
118             DateTime::TimeZone::INFINITY, # utc_end
119             61322493600, # local_start 1944-03-26 02:00:00 (Sun)
120             DateTime::TimeZone::INFINITY, # local_end
121             34200,
122             0,
123             'ACST',
124             ],
125             ];
126              
127 4     4 0 11 sub olson_version {'2026a'}
128              
129 0     0 1 0 sub has_dst_changes {4}
130              
131 3     3   22 sub _max_year {2036}
132              
133             sub _new_instance {
134 3     3   47 return shift->_init( @_, spans => $spans );
135             }
136              
137              
138              
139             1;
140