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/HahUrb_roy/asia. Olson data version 2025c
7             #
8             # Do not edit this file directly.
9             #
10             package DateTime::TimeZone::Asia::Yangon;
11              
12 3     3   2494 use strict;
  3         9  
  3         124  
13 3     3   17 use warnings;
  3         7  
  3         587  
14 3     3   22 use namespace::autoclean;
  3         9  
  3         84  
15              
16             our $VERSION = '2.66';
17              
18 3     3   411 use Class::Singleton 1.03;
  3         162  
  3         89  
19 3     3   16 use DateTime::TimeZone;
  3         8  
  3         102  
20 3     3   16 use DateTime::TimeZone::OlsonDB;
  3         8  
  3         719  
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 19 sub olson_version {'2025c'}
74              
75 0     0 1 0 sub has_dst_changes {0}
76              
77 3     3   27 sub _max_year {2035}
78              
79             sub _new_instance {
80 3     3   63 return shift->_init( @_, spans => $spans );
81             }
82              
83              
84              
85             1;
86