File Coverage

blib/lib/DateTime/TimeZone/Asia/Singapore.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::Singapore;
11              
12 3     3   1600 use strict;
  3         9  
  3         128  
13 3     3   15 use warnings;
  3         7  
  3         150  
14 3     3   30 use namespace::autoclean;
  3         5  
  3         35  
15              
16             our $VERSION = '2.67';
17              
18 3     3   245 use Class::Singleton 1.03;
  3         50  
  3         51  
19 3     3   10 use DateTime::TimeZone;
  3         5  
  3         49  
20 3     3   9 use DateTime::TimeZone::OlsonDB;
  3         17  
  3         518  
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 7     7 0 19 sub olson_version {'2026a'}
110              
111 0     0 1 0 sub has_dst_changes {1}
112              
113 3     3   19 sub _max_year {2036}
114              
115             sub _new_instance {
116 3     3   37 return shift->_init( @_, spans => $spans );
117             }
118              
119              
120              
121             1;
122