File Coverage

blib/lib/DateTime/TimeZone/Asia/Yangon.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::Yangon;
11              
12 3     3   1934 use strict;
  3         7  
  3         111  
13 3     3   16 use warnings;
  3         6  
  3         144  
14 3     3   16 use namespace::autoclean;
  3         6  
  3         20  
15              
16             our $VERSION = '2.67';
17              
18 3     3   304 use Class::Singleton 1.03;
  3         68  
  3         76  
19 3     3   12 use DateTime::TimeZone;
  3         7  
  3         65  
20 3     3   13 use DateTime::TimeZone::OlsonDB;
  3         5  
  3         577  
21              
22             @DateTime::TimeZone::Asia::Yangon::ISA = ( 'Class::Singleton', 'DateTime::TimeZone' );
23              
24             my $spans =
25             [
26             [
27             DateTime::TimeZone::NEG_INFINITY, # utc_start
28             59295519313, # utc_end 1879-12-31 17:35:13 (Wed)
29             DateTime::TimeZone::NEG_INFINITY, # local_start
30             59295542400, # local_end 1880-01-01 00:00:00 (Thu)
31             23087,
32             0,
33             'LMT',
34             ],
35             [
36             59295519313, # utc_start 1879-12-31 17:35:13 (Wed)
37             60557736913, # utc_end 1919-12-31 17:35:13 (Wed)
38             59295542400, # local_start 1880-01-01 00:00:00 (Thu)
39             60557760000, # local_end 1920-01-01 00:00:00 (Thu)
40             23087,
41             0,
42             'RMT',
43             ],
44             [
45             60557736913, # utc_start 1919-12-31 17:35:13 (Wed)
46             61262415000, # utc_end 1942-04-30 17:30:00 (Thu)
47             60557760313, # local_start 1920-01-01 00:05:13 (Thu)
48             61262438400, # local_end 1942-05-01 00:00:00 (Fri)
49             23400,
50             0,
51             '+0630',
52             ],
53             [
54             61262415000, # utc_start 1942-04-30 17:30:00 (Thu)
55             61357273200, # utc_end 1945-05-02 15:00:00 (Wed)
56             61262447400, # local_start 1942-05-01 02:30:00 (Fri)
57             61357305600, # local_end 1945-05-03 00:00:00 (Thu)
58             32400,
59             0,
60             '+09',
61             ],
62             [
63             61357273200, # utc_start 1945-05-02 15:00:00 (Wed)
64             DateTime::TimeZone::INFINITY, # utc_end
65             61357296600, # local_start 1945-05-02 21:30:00 (Wed)
66             DateTime::TimeZone::INFINITY, # local_end
67             23400,
68             0,
69             '+0630',
70             ],
71             ];
72              
73 7     7 0 41 sub olson_version {'2026a'}
74              
75 0     0 1 0 sub has_dst_changes {0}
76              
77 3     3   19 sub _max_year {2036}
78              
79             sub _new_instance {
80 3     3   48 return shift->_init( @_, spans => $spans );
81             }
82              
83              
84              
85             1;
86