File Coverage

blib/lib/DateTime/TimeZone/Asia/Colombo.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/asia. Olson data version 2026a
7             #
8             # Do not edit this file directly.
9             #
10             package DateTime::TimeZone::Asia::Colombo;
11              
12 1     1   631 use strict;
  1         3  
  1         36  
13 1     1   4 use warnings;
  1         2  
  1         44  
14 1     1   6 use namespace::autoclean;
  1         2  
  1         7  
15              
16             our $VERSION = '2.67';
17              
18 1     1   116 use Class::Singleton 1.03;
  1         17  
  1         32  
19 1     1   5 use DateTime::TimeZone;
  1         2  
  1         16  
20 1     1   4 use DateTime::TimeZone::OlsonDB;
  1         2  
  1         189  
21              
22             @DateTime::TimeZone::Asia::Colombo::ISA = ( 'Class::Singleton', 'DateTime::TimeZone' );
23              
24             my $spans =
25             [
26             [
27             DateTime::TimeZone::NEG_INFINITY, # utc_start
28             59295523236, # utc_end 1879-12-31 18:40:36 (Wed)
29             DateTime::TimeZone::NEG_INFINITY, # local_start
30             59295542400, # local_end 1880-01-01 00:00:00 (Thu)
31             19164,
32             0,
33             'LMT',
34             ],
35             [
36             59295523236, # utc_start 1879-12-31 18:40:36 (Wed)
37             60115977628, # utc_end 1905-12-31 18:40:28 (Sun)
38             59295542408, # local_start 1880-01-01 00:00:08 (Thu)
39             60115996800, # local_end 1906-01-01 00:00:00 (Mon)
40             19172,
41             0,
42             'MMT',
43             ],
44             [
45             60115977628, # utc_start 1905-12-31 18:40:28 (Sun)
46             61252396200, # utc_end 1942-01-04 18:30:00 (Sun)
47             60115997428, # local_start 1906-01-01 00:10:28 (Mon)
48             61252416000, # local_end 1942-01-05 00:00:00 (Mon)
49             19800,
50             0,
51             '+0530',
52             ],
53             [
54             61252396200, # utc_start 1942-01-04 18:30:00 (Sun)
55             61273044000, # utc_end 1942-08-31 18:00:00 (Mon)
56             61252417800, # local_start 1942-01-05 00:30:00 (Mon)
57             61273065600, # local_end 1942-09-01 00:00:00 (Tue)
58             21600,
59             1,
60             '+06',
61             ],
62             [
63             61273044000, # utc_start 1942-08-31 18:00:00 (Mon)
64             61371631800, # utc_end 1945-10-15 19:30:00 (Mon)
65             61273067400, # local_start 1942-09-01 00:30:00 (Tue)
66             61371655200, # local_end 1945-10-16 02:00:00 (Tue)
67             23400,
68             1,
69             '+0630',
70             ],
71             [
72             61371631800, # utc_start 1945-10-15 19:30:00 (Mon)
73             62968645800, # utc_end 1996-05-24 18:30:00 (Fri)
74             61371651600, # local_start 1945-10-16 01:00:00 (Tue)
75             62968665600, # local_end 1996-05-25 00:00:00 (Sat)
76             19800,
77             0,
78             '+0530',
79             ],
80             [
81             62968645800, # utc_start 1996-05-24 18:30:00 (Fri)
82             62981949600, # utc_end 1996-10-25 18:00:00 (Fri)
83             62968669200, # local_start 1996-05-25 01:00:00 (Sat)
84             62981973000, # local_end 1996-10-26 00:30:00 (Sat)
85             23400,
86             0,
87             '+0630',
88             ],
89             [
90             62981949600, # utc_start 1996-10-25 18:00:00 (Fri)
91             63280722600, # utc_end 2006-04-14 18:30:00 (Fri)
92             62981971200, # local_start 1996-10-26 00:00:00 (Sat)
93             63280744200, # local_end 2006-04-15 00:30:00 (Sat)
94             21600,
95             0,
96             '+06',
97             ],
98             [
99             63280722600, # utc_start 2006-04-14 18:30:00 (Fri)
100             DateTime::TimeZone::INFINITY, # utc_end
101             63280742400, # local_start 2006-04-15 00:00:00 (Sat)
102             DateTime::TimeZone::INFINITY, # local_end
103             19800,
104             0,
105             '+0530',
106             ],
107             ];
108              
109 1     1 0 3 sub olson_version {'2026a'}
110              
111 0     0 1 0 sub has_dst_changes {2}
112              
113 1     1   6 sub _max_year {2036}
114              
115             sub _new_instance {
116 1     1   15 return shift->_init( @_, spans => $spans );
117             }
118              
119              
120              
121             1;
122