File: Lima.pm

package info (click to toggle)
libdatetime-timezone-perl 1%3A1.20-1%2B2010k
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 4,508 kB
  • ctags: 2,667
  • sloc: perl: 2,340; sh: 68; makefile: 5
file content (191 lines) | stat: -rw-r--r-- 2,185 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
# This file is auto-generated by the Perl DateTime Suite time zone
# code generator (0.07) This code generator comes with the
# DateTime::TimeZone module distribution in the tools/ directory

#
# Generated from /tmp/BeQtk28wzo/southamerica.  Olson data version 2010k
#
# Do not edit this file directly.
#
package DateTime::TimeZone::America::Lima;

use strict;

use Class::Singleton;
use DateTime::TimeZone;
use DateTime::TimeZone::OlsonDB;

@DateTime::TimeZone::America::Lima::ISA = ( 'Class::Singleton', 'DateTime::TimeZone' );

my $spans =
[
    [
DateTime::TimeZone::NEG_INFINITY,
59611180092,
DateTime::TimeZone::NEG_INFINITY,
59611161600,
-18492,
0,
'LMT'
    ],
    [
59611180092,
60197144916,
59611161576,
60197126400,
-18516,
0,
'LMT'
    ],
    [
60197144916,
61125858000,
60197126916,
61125840000,
-18000,
0,
'PET'
    ],
    [
61125858000,
61133630400,
61125843600,
61133616000,
-14400,
1,
'PEST'
    ],
    [
61133630400,
61148926800,
61133612400,
61148908800,
-18000,
0,
'PET'
    ],
    [
61148926800,
61164648000,
61148912400,
61164633600,
-14400,
1,
'PEST'
    ],
    [
61164648000,
61180376400,
61164630000,
61180358400,
-18000,
0,
'PET'
    ],
    [
61180376400,
61196097600,
61180362000,
61196083200,
-14400,
1,
'PEST'
    ],
    [
61196097600,
62640622800,
61196079600,
62640604800,
-18000,
0,
'PET'
    ],
    [
62640622800,
62648395200,
62640608400,
62648380800,
-14400,
1,
'PEST'
    ],
    [
62648395200,
62672158800,
62648377200,
62672140800,
-18000,
0,
'PET'
    ],
    [
62672158800,
62679931200,
62672144400,
62679916800,
-14400,
1,
'PEST'
    ],
    [
62679931200,
62766853200,
62679913200,
62766835200,
-18000,
0,
'PET'
    ],
    [
62766853200,
62774625600,
62766838800,
62774611200,
-14400,
1,
'PEST'
    ],
    [
62774625600,
62893083600,
62774607600,
62893065600,
-18000,
0,
'PET'
    ],
    [
62893083600,
62900856000,
62893069200,
62900841600,
-14400,
1,
'PEST'
    ],
    [
62900856000,
DateTime::TimeZone::INFINITY,
62900838000,
DateTime::TimeZone::INFINITY,
-18000,
0,
'PET'
    ],
];

sub olson_version { '2010k' }

sub has_dst_changes { 7 }

sub _max_year { 2020 }

sub _new_instance
{
    return shift->_init( @_, spans => $spans );
}



1;