File Coverage

blib/lib/DateTime/TimeZone/Asia/Dhaka.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::Dhaka;
11              
12 4     4   2520 use strict;
  4         11  
  4         143  
13 4     4   20 use warnings;
  4         10  
  4         232  
14 4     4   22 use namespace::autoclean;
  4         9  
  4         28  
15              
16             our $VERSION = '2.67';
17              
18 4     4   396 use Class::Singleton 1.03;
  4         75  
  4         98  
19 4     4   16 use DateTime::TimeZone;
  4         9  
  4         168  
20 4     4   17 use DateTime::TimeZone::OlsonDB;
  4         8  
  4         860  
21              
22             @DateTime::TimeZone::Asia::Dhaka::ISA = ( 'Class::Singleton', 'DateTime::TimeZone' );
23              
24             my $spans =
25             [
26             [
27             DateTime::TimeZone::NEG_INFINITY, # utc_start
28             59611139900, # utc_end 1889-12-31 17:58:20 (Tue)
29             DateTime::TimeZone::NEG_INFINITY, # local_start
30             59611161600, # local_end 1890-01-01 00:00:00 (Wed)
31             21700,
32             0,
33             'LMT',
34             ],
35             [
36             59611139900, # utc_start 1889-12-31 17:58:20 (Tue)
37             61244100400, # utc_end 1941-09-30 18:06:40 (Tue)
38             59611161100, # local_start 1889-12-31 23:51:40 (Tue)
39             61244121600, # local_end 1941-10-01 00:00:00 (Wed)
40             21200,
41             0,
42             'HMT',
43             ],
44             [
45             61244100400, # utc_start 1941-09-30 18:06:40 (Tue)
46             61263624600, # utc_end 1942-05-14 17:30:00 (Thu)
47             61244123800, # local_start 1941-10-01 00:36:40 (Wed)
48             61263648000, # local_end 1942-05-15 00:00:00 (Fri)
49             23400,
50             0,
51             '+0630',
52             ],
53             [
54             61263624600, # utc_start 1942-05-14 17:30:00 (Thu)
55             61273045800, # utc_end 1942-08-31 18:30:00 (Mon)
56             61263644400, # local_start 1942-05-14 23:00:00 (Thu)
57             61273065600, # local_end 1942-09-01 00:00:00 (Tue)
58             19800,
59             0,
60             '+0530',
61             ],
62             [
63             61273045800, # utc_start 1942-08-31 18:30:00 (Mon)
64             61559544600, # utc_end 1951-09-29 17:30:00 (Sat)
65             61273069200, # local_start 1942-09-01 01:00:00 (Tue)
66             61559568000, # local_end 1951-09-30 00:00:00 (Sun)
67             23400,
68             0,
69             '+0630',
70             ],
71             [
72             61559544600, # utc_start 1951-09-29 17:30:00 (Sat)
73             63381114000, # utc_end 2009-06-19 17:00:00 (Fri)
74             61559566200, # local_start 1951-09-29 23:30:00 (Sat)
75             63381135600, # local_end 2009-06-19 23:00:00 (Fri)
76             21600,
77             0,
78             '+06',
79             ],
80             [
81             63381114000, # utc_start 2009-06-19 17:00:00 (Fri)
82             63397962000, # utc_end 2009-12-31 17:00:00 (Thu)
83             63381139200, # local_start 2009-06-20 00:00:00 (Sat)
84             63397987200, # local_end 2010-01-01 00:00:00 (Fri)
85             25200,
86             1,
87             '+07',
88             ],
89             [
90             63397962000, # utc_start 2009-12-31 17:00:00 (Thu)
91             DateTime::TimeZone::INFINITY, # utc_end
92             63397983600, # local_start 2009-12-31 23:00:00 (Thu)
93             DateTime::TimeZone::INFINITY, # local_end
94             21600,
95             0,
96             '+06',
97             ],
98             ];
99              
100 5     5 0 15 sub olson_version {'2026a'}
101              
102 0     0 1 0 sub has_dst_changes {1}
103              
104 4     4   26 sub _max_year {2036}
105              
106             sub _new_instance {
107 4     4   96 return shift->_init( @_, spans => $spans );
108             }
109              
110              
111              
112             1;
113