File Coverage

blib/lib/DateTime/TimeZone/Asia/Kolkata.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::Kolkata;
11              
12 3     3   2175 use strict;
  3         9  
  3         117  
13 3     3   14 use warnings;
  3         4  
  3         133  
14 3     3   13 use namespace::autoclean;
  3         5  
  3         19  
15              
16             our $VERSION = '2.67';
17              
18 3     3   281 use Class::Singleton 1.03;
  3         50  
  3         102  
19 3     3   17 use DateTime::TimeZone;
  3         5  
  3         109  
20 3     3   14 use DateTime::TimeZone::OlsonDB;
  3         15  
  3         552  
21              
22             @DateTime::TimeZone::Asia::Kolkata::ISA = ( 'Class::Singleton', 'DateTime::TimeZone' );
23              
24             my $spans =
25             [
26             [
27             DateTime::TimeZone::NEG_INFINITY, # utc_start
28             58490445992, # utc_end 1854-06-27 18:06:32 (Tue)
29             DateTime::TimeZone::NEG_INFINITY, # local_start
30             58490467200, # local_end 1854-06-28 00:00:00 (Wed)
31             21208,
32             0,
33             'LMT',
34             ],
35             [
36             58490445992, # utc_start 1854-06-27 18:06:32 (Tue)
37             58979988400, # utc_end 1869-12-31 18:06:40 (Fri)
38             58490467192, # local_start 1854-06-27 23:59:52 (Tue)
39             58980009600, # local_end 1870-01-01 00:00:00 (Sat)
40             21200,
41             0,
42             'HMT',
43             ],
44             [
45             58979988400, # utc_start 1869-12-31 18:06:40 (Fri)
46             60115977530, # utc_end 1905-12-31 18:38:50 (Sun)
47             58980007670, # local_start 1869-12-31 23:27:50 (Fri)
48             60115996800, # local_end 1906-01-01 00:00:00 (Mon)
49             19270,
50             0,
51             'MMT',
52             ],
53             [
54             60115977530, # utc_start 1905-12-31 18:38:50 (Sun)
55             61244101800, # utc_end 1941-09-30 18:30:00 (Tue)
56             60115997330, # local_start 1906-01-01 00:08:50 (Mon)
57             61244121600, # local_end 1941-10-01 00:00:00 (Wed)
58             19800,
59             0,
60             'IST',
61             ],
62             [
63             61244101800, # utc_start 1941-09-30 18:30:00 (Tue)
64             61263624600, # utc_end 1942-05-14 17:30:00 (Thu)
65             61244125200, # local_start 1941-10-01 01:00:00 (Wed)
66             61263648000, # local_end 1942-05-15 00:00:00 (Fri)
67             23400,
68             1,
69             '+0630',
70             ],
71             [
72             61263624600, # utc_start 1942-05-14 17:30:00 (Thu)
73             61273045800, # utc_end 1942-08-31 18:30:00 (Mon)
74             61263644400, # local_start 1942-05-14 23:00:00 (Thu)
75             61273065600, # local_end 1942-09-01 00:00:00 (Tue)
76             19800,
77             0,
78             'IST',
79             ],
80             [
81             61273045800, # utc_start 1942-08-31 18:30:00 (Mon)
82             61371538200, # utc_end 1945-10-14 17:30:00 (Sun)
83             61273069200, # local_start 1942-09-01 01:00:00 (Tue)
84             61371561600, # local_end 1945-10-15 00:00:00 (Mon)
85             23400,
86             1,
87             '+0630',
88             ],
89             [
90             61371538200, # utc_start 1945-10-14 17:30:00 (Sun)
91             DateTime::TimeZone::INFINITY, # utc_end
92             61371558000, # local_start 1945-10-14 23:00:00 (Sun)
93             DateTime::TimeZone::INFINITY, # local_end
94             19800,
95             0,
96             'IST',
97             ],
98             ];
99              
100 4     4 0 10 sub olson_version {'2026a'}
101              
102 0     0 1 0 sub has_dst_changes {2}
103              
104 3     3   19 sub _max_year {2036}
105              
106             sub _new_instance {
107 3     3   43 return shift->_init( @_, spans => $spans );
108             }
109              
110              
111              
112             1;
113