TimeZone/Asia/Singapore.pm untested

filter: Statementstmt 0.0% 0 / 33 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 10 Podpod 0.0% 0 / 4 totaltotal 0.0% 0 / 47 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/asia. Olson data version 2026f
7 #
8 # Do not edit this file directly.
9 #
10 package DateTime::TimeZone::Asia::Singapore;
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::Asia::Singapore::ISA = ( 'Class::Singleton', 'DateTime::TimeZone' );
23  
24 my $spans =
25 [
26 [
27 DateTime::TimeZone::NEG_INFINITY, # utc_start
28 59958205475, # utc_end 1900-12-31 17:04:35 (Mon)
29 DateTime::TimeZone::NEG_INFINITY, # local_start
30 59958230400, # local_end 1901-01-01 00:00:00 (Tue)
31 24925,
32 0,
33 'LMT',
34 ],
35 [
36 59958205475, # utc_start 1900-12-31 17:04:35 (Mon)
37 60097482275, # utc_end 1905-05-31 17:04:35 (Wed)
38 59958230400, # local_start 1901-01-01 00:00:00 (Tue)
39 60097507200, # local_end 1905-06-01 00:00:00 (Thu)
40 24925,
41 0,
42 'SMT',
43 ],
44 [
45 60097482275, # utc_start 1905-05-31 17:04:35 (Wed)
46 60968048400, # utc_end 1932-12-31 17:00:00 (Sat)
47 60097507475, # local_start 1905-06-01 00:04:35 (Thu)
48 60968073600, # local_end 1933-01-01 00:00:00 (Sun)
49 25200,
50 0,
51 '+07',
52 ],
53 [
54 60968048400, # utc_start 1932-12-31 17:00:00 (Sat)
55 61062655200, # utc_end 1935-12-31 16:40:00 (Tue)
56 60968074800, # local_start 1933-01-01 00:20:00 (Sun)
57 61062681600, # local_end 1936-01-01 00:00:00 (Wed)
58 26400,
59 1,
60 '+0720',
61 ],
62 [
63 61062655200, # utc_start 1935-12-31 16:40:00 (Tue)
64 61241503200, # utc_end 1941-08-31 16:40:00 (Sun)
65 61062681600, # local_start 1936-01-01 00:00:00 (Wed)
66 61241529600, # local_end 1941-09-01 00:00:00 (Mon)
67 26400,
68 0,
69 '+0720',
70 ],
71 [
72 61241503200, # utc_start 1941-08-31 16:40:00 (Sun)
73 61256017800, # utc_end 1942-02-15 16:30:00 (Sun)
74 61241530200, # local_start 1941-09-01 00:10:00 (Mon)
75 61256044800, # local_end 1942-02-16 00:00:00 (Mon)
76 27000,
77 0,
78 '+0730',
79 ],
80 [
81 61256017800, # utc_start 1942-02-15 16:30:00 (Sun)
82 61368678000, # utc_end 1945-09-11 15:00:00 (Tue)
83 61256050200, # local_start 1942-02-16 01:30:00 (Mon)
84 61368710400, # local_end 1945-09-12 00:00:00 (Wed)
85 32400,
86 0,
87 '+09',
88 ],
89 [
90 61368678000, # utc_start 1945-09-11 15:00:00 (Tue)
91 62514345600, # utc_end 1981-12-31 16:00:00 (Thu)
92 61368705000, # local_start 1945-09-11 22:30:00 (Tue)
93 62514372600, # local_end 1981-12-31 23:30:00 (Thu)
94 27000,
95 0,
96 '+0730',
97 ],
98 [
99 62514345600, # utc_start 1981-12-31 16:00:00 (Thu)
100 DateTime::TimeZone::INFINITY, # utc_end
101 62514374400, # local_start 1982-01-01 00:00:00 (Fri)
102 DateTime::TimeZone::INFINITY, # local_end
103 28800,
104 0,
105 '+08',
106 ],
107 ];
108  
109 sub olson_version {'2026f'}
110  
111 sub has_dst_changes {1}
112  
113 sub _max_year {2036}
114  
115 sub _new_instance {
116 return shift->_init( @_, spans => $spans );
117 }
118  
119  
120  
121 1;
122