TimeZone/Asia/Kolkata.pm untested

filter: Statementstmt 0.0% 0 / 32 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 10 Podpod 0.0% 0 / 4 totaltotal 0.0% 0 / 46 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/asia. Olson data version 2026f
7 #
8 # Do not edit this file directly.
9 #
10 package DateTime::TimeZone::Asia::Kolkata;
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::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 sub olson_version {'2026f'}
101  
102 sub has_dst_changes {2}
103  
104 sub _max_year {2036}
105  
106 sub _new_instance {
107 return shift->_init( @_, spans => $spans );
108 }
109  
110  
111  
112 1;
113