File Coverage

blib/lib/DateTime/TimeZone/Indian/Mauritius.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/africa. Olson data version 2026a
7             #
8             # Do not edit this file directly.
9             #
10             package DateTime::TimeZone::Indian::Mauritius;
11              
12 1     1   848 use strict;
  1         3  
  1         75  
13 1     1   9 use warnings;
  1         3  
  1         76  
14 1     1   9 use namespace::autoclean;
  1         2  
  1         11  
15              
16             our $VERSION = '2.67';
17              
18 1     1   133 use Class::Singleton 1.03;
  1         21  
  1         30  
19 1     1   5 use DateTime::TimeZone;
  1         3  
  1         36  
20 1     1   13 use DateTime::TimeZone::OlsonDB;
  1         2  
  1         224  
21              
22             @DateTime::TimeZone::Indian::Mauritius::ISA = ( 'Class::Singleton', 'DateTime::TimeZone' );
23              
24             my $spans =
25             [
26             [
27             DateTime::TimeZone::NEG_INFINITY, # utc_start
28             60147519000, # utc_end 1906-12-31 20:10:00 (Mon)
29             DateTime::TimeZone::NEG_INFINITY, # local_start
30             60147532800, # local_end 1907-01-01 00:00:00 (Tue)
31             13800,
32             0,
33             'LMT',
34             ],
35             [
36             60147519000, # utc_start 1906-12-31 20:10:00 (Mon)
37             62538724800, # utc_end 1982-10-09 20:00:00 (Sat)
38             60147533400, # local_start 1907-01-01 00:10:00 (Tue)
39             62538739200, # local_end 1982-10-10 00:00:00 (Sun)
40             14400,
41             0,
42             '+04',
43             ],
44             [
45             62538724800, # utc_start 1982-10-09 20:00:00 (Sat)
46             62552718000, # utc_end 1983-03-20 19:00:00 (Sun)
47             62538742800, # local_start 1982-10-10 01:00:00 (Sun)
48             62552736000, # local_end 1983-03-21 00:00:00 (Mon)
49             18000,
50             1,
51             '+05',
52             ],
53             [
54             62552718000, # utc_start 1983-03-20 19:00:00 (Sun)
55             63360655200, # utc_end 2008-10-25 22:00:00 (Sat)
56             62552732400, # local_start 1983-03-20 23:00:00 (Sun)
57             63360669600, # local_end 2008-10-26 02:00:00 (Sun)
58             14400,
59             0,
60             '+04',
61             ],
62             [
63             63360655200, # utc_start 2008-10-25 22:00:00 (Sat)
64             63373957200, # utc_end 2009-03-28 21:00:00 (Sat)
65             63360673200, # local_start 2008-10-26 03:00:00 (Sun)
66             63373975200, # local_end 2009-03-29 02:00:00 (Sun)
67             18000,
68             1,
69             '+05',
70             ],
71             [
72             63373957200, # utc_start 2009-03-28 21:00:00 (Sat)
73             DateTime::TimeZone::INFINITY, # utc_end
74             63373971600, # local_start 2009-03-29 01:00:00 (Sun)
75             DateTime::TimeZone::INFINITY, # local_end
76             14400,
77             0,
78             '+04',
79             ],
80             ];
81              
82 1     1 0 3 sub olson_version {'2026a'}
83              
84 0     0 1 0 sub has_dst_changes {2}
85              
86 1     1   9 sub _max_year {2036}
87              
88             sub _new_instance {
89 1     1   21 return shift->_init( @_, spans => $spans );
90             }
91              
92              
93              
94             1;
95