TimeZone/Indian/Mauritius.pm untested

filter: Statementstmt 0.0% 0 / 30 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 10 Podpod 0.0% 0 / 4 totaltotal 0.0% 0 / 44 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/africa. Olson data version 2026f
7 #
8 # Do not edit this file directly.
9 #
10 package DateTime::TimeZone::Indian::Mauritius;
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::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 sub olson_version {'2026f'}
83  
84 sub has_dst_changes {2}
85  
86 sub _max_year {2036}
87  
88 sub _new_instance {
89 return shift->_init( @_, spans => $spans );
90 }
91  
92  
93  
94 1;
95