File Coverage

blib/lib/DateTime/TimeZone/Asia/Tokyo.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::Tokyo;
11              
12 3     3   2333 use strict;
  3         10  
  3         125  
13 3     3   19 use warnings;
  3         7  
  3         176  
14 3     3   20 use namespace::autoclean;
  3         6  
  3         22  
15              
16             our $VERSION = '2.67';
17              
18 3     3   390 use Class::Singleton 1.03;
  3         64  
  3         139  
19 3     3   19 use DateTime::TimeZone;
  3         6  
  3         69  
20 3     3   21 use DateTime::TimeZone::OlsonDB;
  3         6  
  3         860  
21              
22             @DateTime::TimeZone::Asia::Tokyo::ISA = ( 'Class::Singleton', 'DateTime::TimeZone' );
23              
24             my $spans =
25             [
26             [
27             DateTime::TimeZone::NEG_INFINITY, # utc_start
28             59547970800, # utc_end 1887-12-31 15:00:00 (Sat)
29             DateTime::TimeZone::NEG_INFINITY, # local_start
30             59548004339, # local_end 1888-01-01 00:18:59 (Sun)
31             33539,
32             0,
33             'LMT',
34             ],
35             [
36             59547970800, # utc_start 1887-12-31 15:00:00 (Sat)
37             61451881200, # utc_end 1948-05-01 15:00:00 (Sat)
38             59548003200, # local_start 1888-01-01 00:00:00 (Sun)
39             61451913600, # local_end 1948-05-02 00:00:00 (Sun)
40             32400,
41             0,
42             'JST',
43             ],
44             [
45             61451881200, # utc_start 1948-05-01 15:00:00 (Sat)
46             61463372400, # utc_end 1948-09-11 15:00:00 (Sat)
47             61451917200, # local_start 1948-05-02 01:00:00 (Sun)
48             61463408400, # local_end 1948-09-12 01:00:00 (Sun)
49             36000,
50             1,
51             'JDT',
52             ],
53             [
54             61463372400, # utc_start 1948-09-11 15:00:00 (Sat)
55             61480911600, # utc_end 1949-04-02 15:00:00 (Sat)
56             61463404800, # local_start 1948-09-12 00:00:00 (Sun)
57             61480944000, # local_end 1949-04-03 00:00:00 (Sun)
58             32400,
59             0,
60             'JST',
61             ],
62             [
63             61480911600, # utc_start 1949-04-02 15:00:00 (Sat)
64             61494822000, # utc_end 1949-09-10 15:00:00 (Sat)
65             61480947600, # local_start 1949-04-03 01:00:00 (Sun)
66             61494858000, # local_end 1949-09-11 01:00:00 (Sun)
67             36000,
68             1,
69             'JDT',
70             ],
71             [
72             61494822000, # utc_start 1949-09-10 15:00:00 (Sat)
73             61515385200, # utc_end 1950-05-06 15:00:00 (Sat)
74             61494854400, # local_start 1949-09-11 00:00:00 (Sun)
75             61515417600, # local_end 1950-05-07 00:00:00 (Sun)
76             32400,
77             0,
78             'JST',
79             ],
80             [
81             61515385200, # utc_start 1950-05-06 15:00:00 (Sat)
82             61526271600, # utc_end 1950-09-09 15:00:00 (Sat)
83             61515421200, # local_start 1950-05-07 01:00:00 (Sun)
84             61526307600, # local_end 1950-09-10 01:00:00 (Sun)
85             36000,
86             1,
87             'JDT',
88             ],
89             [
90             61526271600, # utc_start 1950-09-09 15:00:00 (Sat)
91             61546834800, # utc_end 1951-05-05 15:00:00 (Sat)
92             61526304000, # local_start 1950-09-10 00:00:00 (Sun)
93             61546867200, # local_end 1951-05-06 00:00:00 (Sun)
94             32400,
95             0,
96             'JST',
97             ],
98             [
99             61546834800, # utc_start 1951-05-05 15:00:00 (Sat)
100             61557721200, # utc_end 1951-09-08 15:00:00 (Sat)
101             61546870800, # local_start 1951-05-06 01:00:00 (Sun)
102             61557757200, # local_end 1951-09-09 01:00:00 (Sun)
103             36000,
104             1,
105             'JDT',
106             ],
107             [
108             61557721200, # utc_start 1951-09-08 15:00:00 (Sat)
109             DateTime::TimeZone::INFINITY, # utc_end
110             61557753600, # local_start 1951-09-09 00:00:00 (Sun)
111             DateTime::TimeZone::INFINITY, # local_end
112             32400,
113             0,
114             'JST',
115             ],
116             ];
117              
118 8     8 0 38 sub olson_version {'2026a'}
119              
120 0     0 1 0 sub has_dst_changes {4}
121              
122 3     3   25 sub _max_year {2036}
123              
124             sub _new_instance {
125 3     3   54 return shift->_init( @_, spans => $spans );
126             }
127              
128              
129              
130             1;
131