line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
=encoding utf8 |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=head1 |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
Locale::CLDR::Locales::En::Any::001 - Package for language English |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=cut |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
package Locale::CLDR::Locales::En::Any::001; |
10
|
|
|
|
|
|
|
# This file auto generated from Data\common\main\en_001.xml |
11
|
|
|
|
|
|
|
# on Sun 16 Dec 4:13:02 pm GMT |
12
|
|
|
|
|
|
|
|
13
|
17
|
|
|
17
|
|
10849
|
use strict; |
|
17
|
|
|
|
|
37
|
|
|
17
|
|
|
|
|
461
|
|
14
|
17
|
|
|
17
|
|
80
|
use warnings; |
|
17
|
|
|
|
|
32
|
|
|
17
|
|
|
|
|
498
|
|
15
|
17
|
|
|
17
|
|
90
|
use version; |
|
17
|
|
|
|
|
28
|
|
|
17
|
|
|
|
|
103
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
our $VERSION = version->declare('v0.34.0'); |
18
|
|
|
|
|
|
|
|
19
|
17
|
|
|
17
|
|
1488
|
use v5.10.1; |
|
17
|
|
|
|
|
52
|
|
20
|
17
|
|
|
17
|
|
82
|
use mro 'c3'; |
|
17
|
|
|
|
|
46
|
|
|
17
|
|
|
|
|
105
|
|
21
|
17
|
|
|
17
|
|
414
|
use utf8; |
|
17
|
|
|
|
|
31
|
|
|
17
|
|
|
|
|
93
|
|
22
|
17
|
|
|
17
|
|
589
|
use if $^V ge v5.12.0, feature => 'unicode_strings'; |
|
17
|
|
|
|
|
29
|
|
|
17
|
|
|
|
|
226
|
|
23
|
17
|
|
|
17
|
|
1720
|
use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef ); |
|
17
|
|
|
|
|
44
|
|
|
17
|
|
|
|
|
140
|
|
24
|
17
|
|
|
17
|
|
15903
|
use Moo; |
|
17
|
|
|
|
|
32
|
|
|
17
|
|
|
|
|
104
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
extends('Locale::CLDR::Locales::En::Any'); |
27
|
|
|
|
|
|
|
has 'algorithmic_number_format_data' => ( |
28
|
|
|
|
|
|
|
is => 'ro', |
29
|
|
|
|
|
|
|
isa => HashRef, |
30
|
|
|
|
|
|
|
init_arg => undef, |
31
|
|
|
|
|
|
|
default => sub { |
32
|
17
|
|
|
17
|
|
6209
|
use bignum; |
|
17
|
|
|
|
|
45
|
|
|
17
|
|
|
|
|
162
|
|
33
|
|
|
|
|
|
|
return { |
34
|
|
|
|
|
|
|
} }, |
35
|
|
|
|
|
|
|
); |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
has 'display_name_key' => ( |
38
|
|
|
|
|
|
|
is => 'ro', |
39
|
|
|
|
|
|
|
isa => HashRef[Str], |
40
|
|
|
|
|
|
|
init_arg => undef, |
41
|
|
|
|
|
|
|
default => sub { |
42
|
|
|
|
|
|
|
{ |
43
|
|
|
|
|
|
|
'colcaselevel' => 'Case-Sensitive Sorting', |
44
|
|
|
|
|
|
|
'colnormalization' => 'Normalised Sorting', |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
} |
47
|
|
|
|
|
|
|
}, |
48
|
|
|
|
|
|
|
); |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
has 'display_name_type' => ( |
51
|
|
|
|
|
|
|
is => 'ro', |
52
|
|
|
|
|
|
|
isa => HashRef[HashRef[Str]], |
53
|
|
|
|
|
|
|
init_arg => undef, |
54
|
|
|
|
|
|
|
default => sub { |
55
|
|
|
|
|
|
|
{ |
56
|
|
|
|
|
|
|
'colnormalization' => { |
57
|
|
|
|
|
|
|
'no' => q{Sort Without Normalisation}, |
58
|
|
|
|
|
|
|
'yes' => q{Sort Unicode Normalised}, |
59
|
|
|
|
|
|
|
}, |
60
|
|
|
|
|
|
|
'hc' => { |
61
|
|
|
|
|
|
|
'h11' => q{12-Hour System (0â11)}, |
62
|
|
|
|
|
|
|
'h12' => q{12-Hour System (1â12)}, |
63
|
|
|
|
|
|
|
'h23' => q{24-Hour System (0â23)}, |
64
|
|
|
|
|
|
|
'h24' => q{24-Hour System (1â24)}, |
65
|
|
|
|
|
|
|
}, |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
} |
68
|
|
|
|
|
|
|
}, |
69
|
|
|
|
|
|
|
); |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
has 'units' => ( |
72
|
|
|
|
|
|
|
is => 'ro', |
73
|
|
|
|
|
|
|
isa => HashRef[HashRef[HashRef[Str]]], |
74
|
|
|
|
|
|
|
init_arg => undef, |
75
|
|
|
|
|
|
|
default => sub { { |
76
|
|
|
|
|
|
|
'long' => { |
77
|
|
|
|
|
|
|
'centiliter' => { |
78
|
|
|
|
|
|
|
'name' => q(centilitres), |
79
|
|
|
|
|
|
|
'one' => q({0} centilitre), |
80
|
|
|
|
|
|
|
'other' => q({0} centilitres), |
81
|
|
|
|
|
|
|
}, |
82
|
|
|
|
|
|
|
'centimeter' => { |
83
|
|
|
|
|
|
|
'name' => q(centimetres), |
84
|
|
|
|
|
|
|
'one' => q({0} centimetre), |
85
|
|
|
|
|
|
|
'other' => q({0} centimetres), |
86
|
|
|
|
|
|
|
'per' => q({0} per centimetre), |
87
|
|
|
|
|
|
|
}, |
88
|
|
|
|
|
|
|
'cubic-centimeter' => { |
89
|
|
|
|
|
|
|
'name' => q(cubic centimetres), |
90
|
|
|
|
|
|
|
'one' => q({0} cubic centimetre), |
91
|
|
|
|
|
|
|
'other' => q({0} cubic centimetres), |
92
|
|
|
|
|
|
|
'per' => q({0} per cubic centimetre), |
93
|
|
|
|
|
|
|
}, |
94
|
|
|
|
|
|
|
'cubic-kilometer' => { |
95
|
|
|
|
|
|
|
'name' => q(cubic kilometres), |
96
|
|
|
|
|
|
|
'one' => q({0} cubic kilometre), |
97
|
|
|
|
|
|
|
'other' => q({0} cubic kilometres), |
98
|
|
|
|
|
|
|
}, |
99
|
|
|
|
|
|
|
'cubic-meter' => { |
100
|
|
|
|
|
|
|
'name' => q(cubic metres), |
101
|
|
|
|
|
|
|
'one' => q({0} cubic metre), |
102
|
|
|
|
|
|
|
'other' => q({0} cubic metres), |
103
|
|
|
|
|
|
|
'per' => q({0} per cubic metre), |
104
|
|
|
|
|
|
|
}, |
105
|
|
|
|
|
|
|
'deciliter' => { |
106
|
|
|
|
|
|
|
'name' => q(decilitres), |
107
|
|
|
|
|
|
|
'one' => q({0} decilitre), |
108
|
|
|
|
|
|
|
'other' => q({0} decilitres), |
109
|
|
|
|
|
|
|
}, |
110
|
|
|
|
|
|
|
'decimeter' => { |
111
|
|
|
|
|
|
|
'name' => q(decimetre), |
112
|
|
|
|
|
|
|
'one' => q({0} decimetre), |
113
|
|
|
|
|
|
|
'other' => q({0} decimetres), |
114
|
|
|
|
|
|
|
}, |
115
|
|
|
|
|
|
|
'gallon' => { |
116
|
|
|
|
|
|
|
'name' => q(US gallons), |
117
|
|
|
|
|
|
|
'one' => q({0} US gallon), |
118
|
|
|
|
|
|
|
'other' => q({0} US gallons), |
119
|
|
|
|
|
|
|
'per' => q({0} per US gallon), |
120
|
|
|
|
|
|
|
}, |
121
|
|
|
|
|
|
|
'gallon-imperial' => { |
122
|
|
|
|
|
|
|
'name' => q(gallons), |
123
|
|
|
|
|
|
|
'one' => q({0} gallon), |
124
|
|
|
|
|
|
|
'other' => q({0} gallons), |
125
|
|
|
|
|
|
|
'per' => q({0} per gallon), |
126
|
|
|
|
|
|
|
}, |
127
|
|
|
|
|
|
|
'hectoliter' => { |
128
|
|
|
|
|
|
|
'name' => q(hectolitres), |
129
|
|
|
|
|
|
|
'one' => q({0} hectolitre), |
130
|
|
|
|
|
|
|
'other' => q({0} hectolitres), |
131
|
|
|
|
|
|
|
}, |
132
|
|
|
|
|
|
|
'karat' => { |
133
|
|
|
|
|
|
|
'name' => q(carat), |
134
|
|
|
|
|
|
|
'one' => q({0} carat), |
135
|
|
|
|
|
|
|
'other' => q({0} carats), |
136
|
|
|
|
|
|
|
}, |
137
|
|
|
|
|
|
|
'kelvin' => { |
138
|
|
|
|
|
|
|
'name' => q(kelvin), |
139
|
|
|
|
|
|
|
'one' => q({0} kelvin), |
140
|
|
|
|
|
|
|
'other' => q({0} kelvin), |
141
|
|
|
|
|
|
|
}, |
142
|
|
|
|
|
|
|
'kilometer' => { |
143
|
|
|
|
|
|
|
'name' => q(kilometres), |
144
|
|
|
|
|
|
|
'one' => q({0} kilometre), |
145
|
|
|
|
|
|
|
'other' => q({0} kilometres), |
146
|
|
|
|
|
|
|
'per' => q({0} per kilometre), |
147
|
|
|
|
|
|
|
}, |
148
|
|
|
|
|
|
|
'kilometer-per-hour' => { |
149
|
|
|
|
|
|
|
'name' => q(kilometres per hour), |
150
|
|
|
|
|
|
|
'one' => q({0} kilometre per hour), |
151
|
|
|
|
|
|
|
'other' => q({0} kilometres per hour), |
152
|
|
|
|
|
|
|
}, |
153
|
|
|
|
|
|
|
'liter' => { |
154
|
|
|
|
|
|
|
'name' => q(litres), |
155
|
|
|
|
|
|
|
'one' => q({0} litre), |
156
|
|
|
|
|
|
|
'other' => q({0} litres), |
157
|
|
|
|
|
|
|
'per' => q({0} per litre), |
158
|
|
|
|
|
|
|
}, |
159
|
|
|
|
|
|
|
'liter-per-100kilometers' => { |
160
|
|
|
|
|
|
|
'name' => q(litres per 100 kilometres), |
161
|
|
|
|
|
|
|
'one' => q({0} litre per 100 kilometres), |
162
|
|
|
|
|
|
|
'other' => q({0} litres per 100 kilometres), |
163
|
|
|
|
|
|
|
}, |
164
|
|
|
|
|
|
|
'liter-per-kilometer' => { |
165
|
|
|
|
|
|
|
'name' => q(litres per kilometre), |
166
|
|
|
|
|
|
|
'one' => q({0} litre per kilometre), |
167
|
|
|
|
|
|
|
'other' => q({0} litres per kilometre), |
168
|
|
|
|
|
|
|
}, |
169
|
|
|
|
|
|
|
'megaliter' => { |
170
|
|
|
|
|
|
|
'name' => q(megalitres), |
171
|
|
|
|
|
|
|
'one' => q({0} megalitre), |
172
|
|
|
|
|
|
|
'other' => q({0} megalitres), |
173
|
|
|
|
|
|
|
}, |
174
|
|
|
|
|
|
|
'meter' => { |
175
|
|
|
|
|
|
|
'name' => q(metres), |
176
|
|
|
|
|
|
|
'one' => q({0} metre), |
177
|
|
|
|
|
|
|
'other' => q({0} metres), |
178
|
|
|
|
|
|
|
'per' => q({0} per metre), |
179
|
|
|
|
|
|
|
}, |
180
|
|
|
|
|
|
|
'meter-per-second' => { |
181
|
|
|
|
|
|
|
'name' => q(metres per second), |
182
|
|
|
|
|
|
|
'one' => q({0} metre per second), |
183
|
|
|
|
|
|
|
'other' => q({0} metres per second), |
184
|
|
|
|
|
|
|
}, |
185
|
|
|
|
|
|
|
'meter-per-second-squared' => { |
186
|
|
|
|
|
|
|
'name' => q(metres per second squared), |
187
|
|
|
|
|
|
|
'one' => q({0} metre per second squared), |
188
|
|
|
|
|
|
|
'other' => q({0} metres per second squared), |
189
|
|
|
|
|
|
|
}, |
190
|
|
|
|
|
|
|
'metric-ton' => { |
191
|
|
|
|
|
|
|
'name' => q(tonne), |
192
|
|
|
|
|
|
|
'one' => q({0} tonne), |
193
|
|
|
|
|
|
|
'other' => q({0} tonnes), |
194
|
|
|
|
|
|
|
}, |
195
|
|
|
|
|
|
|
'micrometer' => { |
196
|
|
|
|
|
|
|
'name' => q(micrometre), |
197
|
|
|
|
|
|
|
'one' => q({0} micrometre), |
198
|
|
|
|
|
|
|
'other' => q({0} micrometres), |
199
|
|
|
|
|
|
|
}, |
200
|
|
|
|
|
|
|
'mile-per-gallon' => { |
201
|
|
|
|
|
|
|
'name' => q(miles per US gallon), |
202
|
|
|
|
|
|
|
'one' => q({0} mile per US gallon), |
203
|
|
|
|
|
|
|
'other' => q({0} miles per US gallon), |
204
|
|
|
|
|
|
|
}, |
205
|
|
|
|
|
|
|
'mile-per-gallon-imperial' => { |
206
|
|
|
|
|
|
|
'name' => q(miles per gallon), |
207
|
|
|
|
|
|
|
'one' => q({0} mile per gallon), |
208
|
|
|
|
|
|
|
'other' => q({0} miles per gallon), |
209
|
|
|
|
|
|
|
}, |
210
|
|
|
|
|
|
|
'milligram-per-deciliter' => { |
211
|
|
|
|
|
|
|
'name' => q(milligrams per decilitre), |
212
|
|
|
|
|
|
|
'one' => q({0} milligram per decilitre), |
213
|
|
|
|
|
|
|
'other' => q({0} milligrams per decilitre), |
214
|
|
|
|
|
|
|
}, |
215
|
|
|
|
|
|
|
'milliliter' => { |
216
|
|
|
|
|
|
|
'name' => q(millilitres), |
217
|
|
|
|
|
|
|
'one' => q({0} millilitre), |
218
|
|
|
|
|
|
|
'other' => q({0} millilitres), |
219
|
|
|
|
|
|
|
}, |
220
|
|
|
|
|
|
|
'millimeter' => { |
221
|
|
|
|
|
|
|
'name' => q(millimetres), |
222
|
|
|
|
|
|
|
'one' => q({0} millimetre), |
223
|
|
|
|
|
|
|
'other' => q({0} millimetres), |
224
|
|
|
|
|
|
|
}, |
225
|
|
|
|
|
|
|
'millimeter-of-mercury' => { |
226
|
|
|
|
|
|
|
'name' => q(millimetres of mercury), |
227
|
|
|
|
|
|
|
'one' => q({0} millimetre of mercury), |
228
|
|
|
|
|
|
|
'other' => q({0} millimetres of mercury), |
229
|
|
|
|
|
|
|
}, |
230
|
|
|
|
|
|
|
'millimole-per-liter' => { |
231
|
|
|
|
|
|
|
'name' => q(millimoles per litre), |
232
|
|
|
|
|
|
|
'one' => q({0} millimole per litre), |
233
|
|
|
|
|
|
|
'other' => q({0} millimoles per litre), |
234
|
|
|
|
|
|
|
}, |
235
|
|
|
|
|
|
|
'nanometer' => { |
236
|
|
|
|
|
|
|
'name' => q(nanometres), |
237
|
|
|
|
|
|
|
'one' => q({0} nanometre), |
238
|
|
|
|
|
|
|
'other' => q({0} nanometres), |
239
|
|
|
|
|
|
|
}, |
240
|
|
|
|
|
|
|
'picometer' => { |
241
|
|
|
|
|
|
|
'name' => q(picometres), |
242
|
|
|
|
|
|
|
'one' => q({0} picometre), |
243
|
|
|
|
|
|
|
'other' => q({0} picometres), |
244
|
|
|
|
|
|
|
}, |
245
|
|
|
|
|
|
|
'square-centimeter' => { |
246
|
|
|
|
|
|
|
'name' => q(square centimetres), |
247
|
|
|
|
|
|
|
'one' => q({0} square centimetre), |
248
|
|
|
|
|
|
|
'other' => q({0} square centimetres), |
249
|
|
|
|
|
|
|
'per' => q({0} per square centimetre), |
250
|
|
|
|
|
|
|
}, |
251
|
|
|
|
|
|
|
'square-kilometer' => { |
252
|
|
|
|
|
|
|
'name' => q(square kilometres), |
253
|
|
|
|
|
|
|
'one' => q({0} square kilometre), |
254
|
|
|
|
|
|
|
'other' => q({0} square kilometres), |
255
|
|
|
|
|
|
|
'per' => q({0} per square kilometre), |
256
|
|
|
|
|
|
|
}, |
257
|
|
|
|
|
|
|
'square-meter' => { |
258
|
|
|
|
|
|
|
'name' => q(square metres), |
259
|
|
|
|
|
|
|
'one' => q({0} square metre), |
260
|
|
|
|
|
|
|
'other' => q({0} square metres), |
261
|
|
|
|
|
|
|
'per' => q({0} per square metre), |
262
|
|
|
|
|
|
|
}, |
263
|
|
|
|
|
|
|
'stone' => { |
264
|
|
|
|
|
|
|
'name' => q(stone), |
265
|
|
|
|
|
|
|
'one' => q({0} stone), |
266
|
|
|
|
|
|
|
'other' => q({0} stone), |
267
|
|
|
|
|
|
|
}, |
268
|
|
|
|
|
|
|
}, |
269
|
|
|
|
|
|
|
'narrow' => { |
270
|
|
|
|
|
|
|
'celsius' => { |
271
|
|
|
|
|
|
|
'one' => q({0}°), |
272
|
|
|
|
|
|
|
'other' => q({0}°), |
273
|
|
|
|
|
|
|
}, |
274
|
|
|
|
|
|
|
'centiliter' => { |
275
|
|
|
|
|
|
|
'name' => q(cl), |
276
|
|
|
|
|
|
|
'one' => q({0}cl), |
277
|
|
|
|
|
|
|
'other' => q({0}cl), |
278
|
|
|
|
|
|
|
}, |
279
|
|
|
|
|
|
|
'deciliter' => { |
280
|
|
|
|
|
|
|
'name' => q(dl), |
281
|
|
|
|
|
|
|
'one' => q({0}dl), |
282
|
|
|
|
|
|
|
'other' => q({0}dl), |
283
|
|
|
|
|
|
|
}, |
284
|
|
|
|
|
|
|
'fahrenheit' => { |
285
|
|
|
|
|
|
|
'one' => q({0}°F), |
286
|
|
|
|
|
|
|
'other' => q({0}°F), |
287
|
|
|
|
|
|
|
}, |
288
|
|
|
|
|
|
|
'gallon' => { |
289
|
|
|
|
|
|
|
'name' => q(US gal), |
290
|
|
|
|
|
|
|
'one' => q({0}galUS), |
291
|
|
|
|
|
|
|
'other' => q({0}galUS), |
292
|
|
|
|
|
|
|
'per' => q({0}/galUS), |
293
|
|
|
|
|
|
|
}, |
294
|
|
|
|
|
|
|
'gallon-imperial' => { |
295
|
|
|
|
|
|
|
'name' => q(gal), |
296
|
|
|
|
|
|
|
'one' => q({0}gal), |
297
|
|
|
|
|
|
|
'other' => q({0}gal), |
298
|
|
|
|
|
|
|
'per' => q({0}/gal), |
299
|
|
|
|
|
|
|
}, |
300
|
|
|
|
|
|
|
'hectoliter' => { |
301
|
|
|
|
|
|
|
'name' => q(hl), |
302
|
|
|
|
|
|
|
'one' => q({0}hl), |
303
|
|
|
|
|
|
|
'other' => q({0}hl), |
304
|
|
|
|
|
|
|
}, |
305
|
|
|
|
|
|
|
'kilometer-per-hour' => { |
306
|
|
|
|
|
|
|
'name' => q(km/h), |
307
|
|
|
|
|
|
|
}, |
308
|
|
|
|
|
|
|
'liter' => { |
309
|
|
|
|
|
|
|
'name' => q(litre), |
310
|
|
|
|
|
|
|
'one' => q({0}l), |
311
|
|
|
|
|
|
|
'other' => q({0}l), |
312
|
|
|
|
|
|
|
'per' => q({0}/l), |
313
|
|
|
|
|
|
|
}, |
314
|
|
|
|
|
|
|
'liter-per-100kilometers' => { |
315
|
|
|
|
|
|
|
'name' => q(l/100km), |
316
|
|
|
|
|
|
|
'one' => q({0}l/100km), |
317
|
|
|
|
|
|
|
'other' => q({0}l/100km), |
318
|
|
|
|
|
|
|
}, |
319
|
|
|
|
|
|
|
'liter-per-kilometer' => { |
320
|
|
|
|
|
|
|
'name' => q(l/km), |
321
|
|
|
|
|
|
|
'one' => q({0}l/km), |
322
|
|
|
|
|
|
|
'other' => q({0}l/km), |
323
|
|
|
|
|
|
|
}, |
324
|
|
|
|
|
|
|
'megaliter' => { |
325
|
|
|
|
|
|
|
'name' => q(Ml), |
326
|
|
|
|
|
|
|
'one' => q({0}Ml), |
327
|
|
|
|
|
|
|
'other' => q({0}Ml), |
328
|
|
|
|
|
|
|
}, |
329
|
|
|
|
|
|
|
'meter' => { |
330
|
|
|
|
|
|
|
'name' => q(metre), |
331
|
|
|
|
|
|
|
}, |
332
|
|
|
|
|
|
|
'mile-per-gallon' => { |
333
|
|
|
|
|
|
|
'name' => q(mpg US), |
334
|
|
|
|
|
|
|
'one' => q({0}mpgUS), |
335
|
|
|
|
|
|
|
'other' => q({0}mpgUS), |
336
|
|
|
|
|
|
|
}, |
337
|
|
|
|
|
|
|
'mile-per-gallon-imperial' => { |
338
|
|
|
|
|
|
|
'name' => q(mpg), |
339
|
|
|
|
|
|
|
'one' => q({0}mpg), |
340
|
|
|
|
|
|
|
'other' => q({0}mpg), |
341
|
|
|
|
|
|
|
}, |
342
|
|
|
|
|
|
|
'milligram-per-deciliter' => { |
343
|
|
|
|
|
|
|
'name' => q(mg/dl), |
344
|
|
|
|
|
|
|
'one' => q({0}mg/dl), |
345
|
|
|
|
|
|
|
'other' => q({0}mg/dl), |
346
|
|
|
|
|
|
|
}, |
347
|
|
|
|
|
|
|
'milliliter' => { |
348
|
|
|
|
|
|
|
'name' => q(ml), |
349
|
|
|
|
|
|
|
'one' => q({0}ml), |
350
|
|
|
|
|
|
|
'other' => q({0}ml), |
351
|
|
|
|
|
|
|
}, |
352
|
|
|
|
|
|
|
'millimole-per-liter' => { |
353
|
|
|
|
|
|
|
'name' => q(mmol/l), |
354
|
|
|
|
|
|
|
'one' => q({0}mmol/l), |
355
|
|
|
|
|
|
|
'other' => q({0}mmol/l), |
356
|
|
|
|
|
|
|
}, |
357
|
|
|
|
|
|
|
'pound' => { |
358
|
|
|
|
|
|
|
'one' => q({0}lb), |
359
|
|
|
|
|
|
|
'other' => q({0}lb), |
360
|
|
|
|
|
|
|
}, |
361
|
|
|
|
|
|
|
'square-meter' => { |
362
|
|
|
|
|
|
|
'name' => q(metres²), |
363
|
|
|
|
|
|
|
}, |
364
|
|
|
|
|
|
|
}, |
365
|
|
|
|
|
|
|
'short' => { |
366
|
|
|
|
|
|
|
'centiliter' => { |
367
|
|
|
|
|
|
|
'name' => q(cl), |
368
|
|
|
|
|
|
|
'one' => q({0} cl), |
369
|
|
|
|
|
|
|
'other' => q({0} cl), |
370
|
|
|
|
|
|
|
}, |
371
|
|
|
|
|
|
|
'deciliter' => { |
372
|
|
|
|
|
|
|
'name' => q(dl), |
373
|
|
|
|
|
|
|
'one' => q({0} dl), |
374
|
|
|
|
|
|
|
'other' => q({0} dl), |
375
|
|
|
|
|
|
|
}, |
376
|
|
|
|
|
|
|
'gallon' => { |
377
|
|
|
|
|
|
|
'name' => q(US gal), |
378
|
|
|
|
|
|
|
'one' => q({0} gal US), |
379
|
|
|
|
|
|
|
'other' => q({0} gal US), |
380
|
|
|
|
|
|
|
}, |
381
|
|
|
|
|
|
|
'gallon-imperial' => { |
382
|
|
|
|
|
|
|
'name' => q(gal), |
383
|
|
|
|
|
|
|
'one' => q({0} gal), |
384
|
|
|
|
|
|
|
'other' => q({0} gal), |
385
|
|
|
|
|
|
|
'per' => q({0}/gal), |
386
|
|
|
|
|
|
|
}, |
387
|
|
|
|
|
|
|
'hectoliter' => { |
388
|
|
|
|
|
|
|
'name' => q(hl), |
389
|
|
|
|
|
|
|
'one' => q({0} hl), |
390
|
|
|
|
|
|
|
'other' => q({0} hl), |
391
|
|
|
|
|
|
|
}, |
392
|
|
|
|
|
|
|
'hour' => { |
393
|
|
|
|
|
|
|
'one' => q({0} hr), |
394
|
|
|
|
|
|
|
'other' => q({0} hrs), |
395
|
|
|
|
|
|
|
'per' => q({0}ph), |
396
|
|
|
|
|
|
|
}, |
397
|
|
|
|
|
|
|
'inch-hg' => { |
398
|
|
|
|
|
|
|
'name' => q(in Hg), |
399
|
|
|
|
|
|
|
}, |
400
|
|
|
|
|
|
|
'karat' => { |
401
|
|
|
|
|
|
|
'name' => q(carats), |
402
|
|
|
|
|
|
|
'one' => q({0} ct), |
403
|
|
|
|
|
|
|
'other' => q({0} ct), |
404
|
|
|
|
|
|
|
}, |
405
|
|
|
|
|
|
|
'liter' => { |
406
|
|
|
|
|
|
|
'name' => q(litres), |
407
|
|
|
|
|
|
|
'one' => q({0} l), |
408
|
|
|
|
|
|
|
'other' => q({0} l), |
409
|
|
|
|
|
|
|
'per' => q({0}/l), |
410
|
|
|
|
|
|
|
}, |
411
|
|
|
|
|
|
|
'liter-per-100kilometers' => { |
412
|
|
|
|
|
|
|
'name' => q(l/100 km), |
413
|
|
|
|
|
|
|
'one' => q({0} l/100 km), |
414
|
|
|
|
|
|
|
'other' => q({0} l/100 km), |
415
|
|
|
|
|
|
|
}, |
416
|
|
|
|
|
|
|
'liter-per-kilometer' => { |
417
|
|
|
|
|
|
|
'name' => q(litres/km), |
418
|
|
|
|
|
|
|
'one' => q({0} l/km), |
419
|
|
|
|
|
|
|
'other' => q({0} l/km), |
420
|
|
|
|
|
|
|
}, |
421
|
|
|
|
|
|
|
'megaliter' => { |
422
|
|
|
|
|
|
|
'name' => q(Ml), |
423
|
|
|
|
|
|
|
'one' => q({0} Ml), |
424
|
|
|
|
|
|
|
'other' => q({0} Ml), |
425
|
|
|
|
|
|
|
}, |
426
|
|
|
|
|
|
|
'meter' => { |
427
|
|
|
|
|
|
|
'name' => q(metres), |
428
|
|
|
|
|
|
|
}, |
429
|
|
|
|
|
|
|
'meter-per-second' => { |
430
|
|
|
|
|
|
|
'name' => q(metres/sec), |
431
|
|
|
|
|
|
|
}, |
432
|
|
|
|
|
|
|
'meter-per-second-squared' => { |
433
|
|
|
|
|
|
|
'name' => q(metres/sec²), |
434
|
|
|
|
|
|
|
}, |
435
|
|
|
|
|
|
|
'micrometer' => { |
436
|
|
|
|
|
|
|
'name' => q(µmetres), |
437
|
|
|
|
|
|
|
}, |
438
|
|
|
|
|
|
|
'mile-per-gallon' => { |
439
|
|
|
|
|
|
|
'name' => q(miles/gal US), |
440
|
|
|
|
|
|
|
'one' => q({0} mpg US), |
441
|
|
|
|
|
|
|
'other' => q({0} mpg US), |
442
|
|
|
|
|
|
|
}, |
443
|
|
|
|
|
|
|
'mile-per-gallon-imperial' => { |
444
|
|
|
|
|
|
|
'name' => q(miles/gal), |
445
|
|
|
|
|
|
|
'one' => q({0} mpg), |
446
|
|
|
|
|
|
|
'other' => q({0} mpg), |
447
|
|
|
|
|
|
|
}, |
448
|
|
|
|
|
|
|
'milligram-per-deciliter' => { |
449
|
|
|
|
|
|
|
'name' => q(mg/dl), |
450
|
|
|
|
|
|
|
'one' => q({0} mg/dl), |
451
|
|
|
|
|
|
|
'other' => q({0} mg/dl), |
452
|
|
|
|
|
|
|
}, |
453
|
|
|
|
|
|
|
'milliliter' => { |
454
|
|
|
|
|
|
|
'name' => q(ml), |
455
|
|
|
|
|
|
|
'one' => q({0} ml), |
456
|
|
|
|
|
|
|
'other' => q({0} ml), |
457
|
|
|
|
|
|
|
}, |
458
|
|
|
|
|
|
|
'millimeter-of-mercury' => { |
459
|
|
|
|
|
|
|
'name' => q(mm Hg), |
460
|
|
|
|
|
|
|
'one' => q({0} mm Hg), |
461
|
|
|
|
|
|
|
'other' => q({0} mm Hg), |
462
|
|
|
|
|
|
|
}, |
463
|
|
|
|
|
|
|
'millimole-per-liter' => { |
464
|
|
|
|
|
|
|
'name' => q(millimol/litre), |
465
|
|
|
|
|
|
|
'one' => q({0} mmol/l), |
466
|
|
|
|
|
|
|
'other' => q({0} mmol/l), |
467
|
|
|
|
|
|
|
}, |
468
|
|
|
|
|
|
|
'minute' => { |
469
|
|
|
|
|
|
|
'one' => q({0} min), |
470
|
|
|
|
|
|
|
'other' => q({0} mins), |
471
|
|
|
|
|
|
|
}, |
472
|
|
|
|
|
|
|
'second' => { |
473
|
|
|
|
|
|
|
'one' => q({0} sec), |
474
|
|
|
|
|
|
|
'other' => q({0} secs), |
475
|
|
|
|
|
|
|
'per' => q({0}ps), |
476
|
|
|
|
|
|
|
}, |
477
|
|
|
|
|
|
|
'square-meter' => { |
478
|
|
|
|
|
|
|
'name' => q(metres²), |
479
|
|
|
|
|
|
|
}, |
480
|
|
|
|
|
|
|
'stone' => { |
481
|
|
|
|
|
|
|
'name' => q(stone), |
482
|
|
|
|
|
|
|
}, |
483
|
|
|
|
|
|
|
}, |
484
|
|
|
|
|
|
|
} } |
485
|
|
|
|
|
|
|
); |
486
|
|
|
|
|
|
|
|
487
|
|
|
|
|
|
|
has 'currencies' => ( |
488
|
|
|
|
|
|
|
is => 'ro', |
489
|
|
|
|
|
|
|
isa => HashRef, |
490
|
|
|
|
|
|
|
init_arg => undef, |
491
|
|
|
|
|
|
|
default => sub { { |
492
|
|
|
|
|
|
|
'BYB' => { |
493
|
|
|
|
|
|
|
display_name => { |
494
|
|
|
|
|
|
|
'currency' => q(Belarusian New Rouble \(1994â1999\)), |
495
|
|
|
|
|
|
|
'one' => q(Belarusian new rouble \(1994â1999\)), |
496
|
|
|
|
|
|
|
'other' => q(Belarusian new roubles \(1994â1999\)), |
497
|
|
|
|
|
|
|
}, |
498
|
|
|
|
|
|
|
}, |
499
|
|
|
|
|
|
|
'BYN' => { |
500
|
|
|
|
|
|
|
display_name => { |
501
|
|
|
|
|
|
|
'currency' => q(Belarusian Rouble), |
502
|
|
|
|
|
|
|
'one' => q(Belarusian rouble), |
503
|
|
|
|
|
|
|
'other' => q(Belarusian roubles), |
504
|
|
|
|
|
|
|
}, |
505
|
|
|
|
|
|
|
}, |
506
|
|
|
|
|
|
|
'BYR' => { |
507
|
|
|
|
|
|
|
display_name => { |
508
|
|
|
|
|
|
|
'currency' => q(Belarusian Rouble \(2000â2016\)), |
509
|
|
|
|
|
|
|
'one' => q(Belarusian rouble \(2000â2016\)), |
510
|
|
|
|
|
|
|
'other' => q(Belarusian roubles \(2000â2016\)), |
511
|
|
|
|
|
|
|
}, |
512
|
|
|
|
|
|
|
}, |
513
|
|
|
|
|
|
|
'JPY' => { |
514
|
|
|
|
|
|
|
symbol => 'JPÂ¥', |
515
|
|
|
|
|
|
|
}, |
516
|
|
|
|
|
|
|
'LVR' => { |
517
|
|
|
|
|
|
|
display_name => { |
518
|
|
|
|
|
|
|
'currency' => q(Latvian Rouble), |
519
|
|
|
|
|
|
|
'one' => q(Latvian rouble), |
520
|
|
|
|
|
|
|
'other' => q(Latvian roubles), |
521
|
|
|
|
|
|
|
}, |
522
|
|
|
|
|
|
|
}, |
523
|
|
|
|
|
|
|
'RUB' => { |
524
|
|
|
|
|
|
|
display_name => { |
525
|
|
|
|
|
|
|
'currency' => q(Russian Rouble), |
526
|
|
|
|
|
|
|
'one' => q(Russian rouble), |
527
|
|
|
|
|
|
|
'other' => q(Russian roubles), |
528
|
|
|
|
|
|
|
}, |
529
|
|
|
|
|
|
|
}, |
530
|
|
|
|
|
|
|
'RUR' => { |
531
|
|
|
|
|
|
|
display_name => { |
532
|
|
|
|
|
|
|
'currency' => q(Russian Rouble \(1991â1998\)), |
533
|
|
|
|
|
|
|
'one' => q(Russian rouble \(1991â1998\)), |
534
|
|
|
|
|
|
|
'other' => q(Russian roubles \(1991â1998\)), |
535
|
|
|
|
|
|
|
}, |
536
|
|
|
|
|
|
|
}, |
537
|
|
|
|
|
|
|
'TJR' => { |
538
|
|
|
|
|
|
|
display_name => { |
539
|
|
|
|
|
|
|
'currency' => q(Tajikistani Rouble), |
540
|
|
|
|
|
|
|
'one' => q(Tajikistani rouble), |
541
|
|
|
|
|
|
|
'other' => q(Tajikistani roubles), |
542
|
|
|
|
|
|
|
}, |
543
|
|
|
|
|
|
|
}, |
544
|
|
|
|
|
|
|
'USD' => { |
545
|
|
|
|
|
|
|
symbol => 'US$', |
546
|
|
|
|
|
|
|
}, |
547
|
|
|
|
|
|
|
} }, |
548
|
|
|
|
|
|
|
); |
549
|
|
|
|
|
|
|
|
550
|
|
|
|
|
|
|
|
551
|
|
|
|
|
|
|
has 'day_period_data' => ( |
552
|
|
|
|
|
|
|
is => 'ro', |
553
|
|
|
|
|
|
|
isa => CodeRef, |
554
|
|
|
|
|
|
|
init_arg => undef, |
555
|
|
|
|
|
|
|
default => sub { sub { |
556
|
|
|
|
|
|
|
# Time in hhmm format |
557
|
|
|
|
|
|
|
my ($self, $type, $time, $day_period_type) = @_; |
558
|
|
|
|
|
|
|
$day_period_type //= 'default'; |
559
|
|
|
|
|
|
|
SWITCH: |
560
|
|
|
|
|
|
|
for ($type) { |
561
|
|
|
|
|
|
|
if ($_ eq 'chinese') { |
562
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
563
|
|
|
|
|
|
|
return 'noon' if $time == 1200; |
564
|
|
|
|
|
|
|
return 'midnight' if $time == 0; |
565
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
566
|
|
|
|
|
|
|
&& $time < 1800; |
567
|
|
|
|
|
|
|
return 'morning1' if $time >= 600 |
568
|
|
|
|
|
|
|
&& $time < 1200; |
569
|
|
|
|
|
|
|
return 'evening1' if $time >= 1800 |
570
|
|
|
|
|
|
|
&& $time < 2100; |
571
|
|
|
|
|
|
|
return 'night1' if $time >= 2100; |
572
|
|
|
|
|
|
|
return 'night1' if $time < 600; |
573
|
|
|
|
|
|
|
} |
574
|
|
|
|
|
|
|
if($day_period_type eq 'selection') { |
575
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
576
|
|
|
|
|
|
|
&& $time < 1800; |
577
|
|
|
|
|
|
|
return 'morning1' if $time >= 600 |
578
|
|
|
|
|
|
|
&& $time < 1200; |
579
|
|
|
|
|
|
|
return 'night1' if $time >= 2100; |
580
|
|
|
|
|
|
|
return 'night1' if $time < 600; |
581
|
|
|
|
|
|
|
return 'evening1' if $time >= 1800 |
582
|
|
|
|
|
|
|
&& $time < 2100; |
583
|
|
|
|
|
|
|
} |
584
|
|
|
|
|
|
|
last SWITCH; |
585
|
|
|
|
|
|
|
} |
586
|
|
|
|
|
|
|
if ($_ eq 'generic') { |
587
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
588
|
|
|
|
|
|
|
return 'noon' if $time == 1200; |
589
|
|
|
|
|
|
|
return 'midnight' if $time == 0; |
590
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
591
|
|
|
|
|
|
|
&& $time < 1800; |
592
|
|
|
|
|
|
|
return 'morning1' if $time >= 600 |
593
|
|
|
|
|
|
|
&& $time < 1200; |
594
|
|
|
|
|
|
|
return 'evening1' if $time >= 1800 |
595
|
|
|
|
|
|
|
&& $time < 2100; |
596
|
|
|
|
|
|
|
return 'night1' if $time >= 2100; |
597
|
|
|
|
|
|
|
return 'night1' if $time < 600; |
598
|
|
|
|
|
|
|
} |
599
|
|
|
|
|
|
|
if($day_period_type eq 'selection') { |
600
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
601
|
|
|
|
|
|
|
&& $time < 1800; |
602
|
|
|
|
|
|
|
return 'morning1' if $time >= 600 |
603
|
|
|
|
|
|
|
&& $time < 1200; |
604
|
|
|
|
|
|
|
return 'night1' if $time >= 2100; |
605
|
|
|
|
|
|
|
return 'night1' if $time < 600; |
606
|
|
|
|
|
|
|
return 'evening1' if $time >= 1800 |
607
|
|
|
|
|
|
|
&& $time < 2100; |
608
|
|
|
|
|
|
|
} |
609
|
|
|
|
|
|
|
last SWITCH; |
610
|
|
|
|
|
|
|
} |
611
|
|
|
|
|
|
|
if ($_ eq 'gregorian') { |
612
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
613
|
|
|
|
|
|
|
return 'noon' if $time == 1200; |
614
|
|
|
|
|
|
|
return 'midnight' if $time == 0; |
615
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
616
|
|
|
|
|
|
|
&& $time < 1800; |
617
|
|
|
|
|
|
|
return 'morning1' if $time >= 600 |
618
|
|
|
|
|
|
|
&& $time < 1200; |
619
|
|
|
|
|
|
|
return 'evening1' if $time >= 1800 |
620
|
|
|
|
|
|
|
&& $time < 2100; |
621
|
|
|
|
|
|
|
return 'night1' if $time >= 2100; |
622
|
|
|
|
|
|
|
return 'night1' if $time < 600; |
623
|
|
|
|
|
|
|
} |
624
|
|
|
|
|
|
|
if($day_period_type eq 'selection') { |
625
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
626
|
|
|
|
|
|
|
&& $time < 1800; |
627
|
|
|
|
|
|
|
return 'morning1' if $time >= 600 |
628
|
|
|
|
|
|
|
&& $time < 1200; |
629
|
|
|
|
|
|
|
return 'night1' if $time >= 2100; |
630
|
|
|
|
|
|
|
return 'night1' if $time < 600; |
631
|
|
|
|
|
|
|
return 'evening1' if $time >= 1800 |
632
|
|
|
|
|
|
|
&& $time < 2100; |
633
|
|
|
|
|
|
|
} |
634
|
|
|
|
|
|
|
last SWITCH; |
635
|
|
|
|
|
|
|
} |
636
|
|
|
|
|
|
|
} |
637
|
|
|
|
|
|
|
} }, |
638
|
|
|
|
|
|
|
); |
639
|
|
|
|
|
|
|
|
640
|
|
|
|
|
|
|
around day_period_data => sub { |
641
|
|
|
|
|
|
|
my ($orig, $self) = @_; |
642
|
|
|
|
|
|
|
return $self->$orig; |
643
|
|
|
|
|
|
|
}; |
644
|
|
|
|
|
|
|
|
645
|
|
|
|
|
|
|
has 'day_periods' => ( |
646
|
|
|
|
|
|
|
is => 'ro', |
647
|
|
|
|
|
|
|
isa => HashRef, |
648
|
|
|
|
|
|
|
init_arg => undef, |
649
|
|
|
|
|
|
|
default => sub { { |
650
|
|
|
|
|
|
|
'gregorian' => { |
651
|
|
|
|
|
|
|
'format' => { |
652
|
|
|
|
|
|
|
'abbreviated' => { |
653
|
|
|
|
|
|
|
'noon' => q{noon}, |
654
|
|
|
|
|
|
|
'am' => q{am}, |
655
|
|
|
|
|
|
|
'pm' => q{pm}, |
656
|
|
|
|
|
|
|
}, |
657
|
|
|
|
|
|
|
'wide' => { |
658
|
|
|
|
|
|
|
'pm' => q{pm}, |
659
|
|
|
|
|
|
|
'noon' => q{noon}, |
660
|
|
|
|
|
|
|
'am' => q{am}, |
661
|
|
|
|
|
|
|
}, |
662
|
|
|
|
|
|
|
'narrow' => { |
663
|
|
|
|
|
|
|
'noon' => q{n}, |
664
|
|
|
|
|
|
|
}, |
665
|
|
|
|
|
|
|
}, |
666
|
|
|
|
|
|
|
'stand-alone' => { |
667
|
|
|
|
|
|
|
'narrow' => { |
668
|
|
|
|
|
|
|
'pm' => q{pm}, |
669
|
|
|
|
|
|
|
}, |
670
|
|
|
|
|
|
|
'wide' => { |
671
|
|
|
|
|
|
|
'am' => q{am}, |
672
|
|
|
|
|
|
|
'pm' => q{pm}, |
673
|
|
|
|
|
|
|
}, |
674
|
|
|
|
|
|
|
'abbreviated' => { |
675
|
|
|
|
|
|
|
'am' => q{am}, |
676
|
|
|
|
|
|
|
'pm' => q{pm}, |
677
|
|
|
|
|
|
|
}, |
678
|
|
|
|
|
|
|
}, |
679
|
|
|
|
|
|
|
}, |
680
|
|
|
|
|
|
|
} }, |
681
|
|
|
|
|
|
|
); |
682
|
|
|
|
|
|
|
|
683
|
|
|
|
|
|
|
has 'eras' => ( |
684
|
|
|
|
|
|
|
is => 'ro', |
685
|
|
|
|
|
|
|
isa => HashRef, |
686
|
|
|
|
|
|
|
init_arg => undef, |
687
|
|
|
|
|
|
|
default => sub { { |
688
|
|
|
|
|
|
|
'chinese' => { |
689
|
|
|
|
|
|
|
}, |
690
|
|
|
|
|
|
|
'generic' => { |
691
|
|
|
|
|
|
|
}, |
692
|
|
|
|
|
|
|
'gregorian' => { |
693
|
|
|
|
|
|
|
}, |
694
|
|
|
|
|
|
|
} }, |
695
|
|
|
|
|
|
|
); |
696
|
|
|
|
|
|
|
|
697
|
|
|
|
|
|
|
has 'date_formats' => ( |
698
|
|
|
|
|
|
|
is => 'ro', |
699
|
|
|
|
|
|
|
isa => HashRef, |
700
|
|
|
|
|
|
|
init_arg => undef, |
701
|
|
|
|
|
|
|
default => sub { { |
702
|
|
|
|
|
|
|
'chinese' => { |
703
|
|
|
|
|
|
|
'full' => q{EEEE, d MMMM r(U)}, |
704
|
|
|
|
|
|
|
'long' => q{d MMMM r(U)}, |
705
|
|
|
|
|
|
|
'medium' => q{d MMM r}, |
706
|
|
|
|
|
|
|
'short' => q{dd/MM/r}, |
707
|
|
|
|
|
|
|
}, |
708
|
|
|
|
|
|
|
'generic' => { |
709
|
|
|
|
|
|
|
'full' => q{EEEE, d MMMM y G}, |
710
|
|
|
|
|
|
|
'long' => q{d MMMM y G}, |
711
|
|
|
|
|
|
|
'medium' => q{d MMM y G}, |
712
|
|
|
|
|
|
|
'short' => q{dd/MM/y GGGGG}, |
713
|
|
|
|
|
|
|
}, |
714
|
|
|
|
|
|
|
'gregorian' => { |
715
|
|
|
|
|
|
|
'full' => q{EEEE, d MMMM y}, |
716
|
|
|
|
|
|
|
'long' => q{d MMMM y}, |
717
|
|
|
|
|
|
|
'medium' => q{d MMM y}, |
718
|
|
|
|
|
|
|
'short' => q{dd/MM/y}, |
719
|
|
|
|
|
|
|
}, |
720
|
|
|
|
|
|
|
} }, |
721
|
|
|
|
|
|
|
); |
722
|
|
|
|
|
|
|
|
723
|
|
|
|
|
|
|
has 'time_formats' => ( |
724
|
|
|
|
|
|
|
is => 'ro', |
725
|
|
|
|
|
|
|
isa => HashRef, |
726
|
|
|
|
|
|
|
init_arg => undef, |
727
|
|
|
|
|
|
|
default => sub { { |
728
|
|
|
|
|
|
|
'chinese' => { |
729
|
|
|
|
|
|
|
}, |
730
|
|
|
|
|
|
|
'generic' => { |
731
|
|
|
|
|
|
|
}, |
732
|
|
|
|
|
|
|
'gregorian' => { |
733
|
|
|
|
|
|
|
}, |
734
|
|
|
|
|
|
|
} }, |
735
|
|
|
|
|
|
|
); |
736
|
|
|
|
|
|
|
|
737
|
|
|
|
|
|
|
has 'datetime_formats' => ( |
738
|
|
|
|
|
|
|
is => 'ro', |
739
|
|
|
|
|
|
|
isa => HashRef, |
740
|
|
|
|
|
|
|
init_arg => undef, |
741
|
|
|
|
|
|
|
default => sub { { |
742
|
|
|
|
|
|
|
'chinese' => { |
743
|
|
|
|
|
|
|
}, |
744
|
|
|
|
|
|
|
'generic' => { |
745
|
|
|
|
|
|
|
}, |
746
|
|
|
|
|
|
|
'gregorian' => { |
747
|
|
|
|
|
|
|
}, |
748
|
|
|
|
|
|
|
} }, |
749
|
|
|
|
|
|
|
); |
750
|
|
|
|
|
|
|
|
751
|
|
|
|
|
|
|
has 'datetime_formats_available_formats' => ( |
752
|
|
|
|
|
|
|
is => 'ro', |
753
|
|
|
|
|
|
|
isa => HashRef, |
754
|
|
|
|
|
|
|
init_arg => undef, |
755
|
|
|
|
|
|
|
default => sub { { |
756
|
|
|
|
|
|
|
'chinese' => { |
757
|
|
|
|
|
|
|
Ed => q{E d}, |
758
|
|
|
|
|
|
|
GyMMMEd => q{E, d MMM r(U)}, |
759
|
|
|
|
|
|
|
GyMMMd => q{d MMM r}, |
760
|
|
|
|
|
|
|
M => q{LL}, |
761
|
|
|
|
|
|
|
MEd => q{E, dd/MM}, |
762
|
|
|
|
|
|
|
MMMEd => q{E, d MMM}, |
763
|
|
|
|
|
|
|
MMMMd => q{d MMMM}, |
764
|
|
|
|
|
|
|
MMMd => q{d MMM}, |
765
|
|
|
|
|
|
|
Md => q{dd/MM}, |
766
|
|
|
|
|
|
|
UMMMd => q{d MMM U}, |
767
|
|
|
|
|
|
|
UMd => q{dd/MM/U}, |
768
|
|
|
|
|
|
|
yMd => q{dd/MM/r}, |
769
|
|
|
|
|
|
|
yyyyM => q{MM/r}, |
770
|
|
|
|
|
|
|
yyyyMEd => q{E, dd/MM/r}, |
771
|
|
|
|
|
|
|
yyyyMMMEd => q{E, d MMM r(U)}, |
772
|
|
|
|
|
|
|
yyyyMMMd => q{d MMM r}, |
773
|
|
|
|
|
|
|
yyyyMd => q{dd/MM/r}, |
774
|
|
|
|
|
|
|
}, |
775
|
|
|
|
|
|
|
'generic' => { |
776
|
|
|
|
|
|
|
Bhms => q{h:mm.ss B}, |
777
|
|
|
|
|
|
|
EBhm => q{E, h:mm B}, |
778
|
|
|
|
|
|
|
EBhms => q{E, h:mm:ss B}, |
779
|
|
|
|
|
|
|
EHm => q{E, HH:mm}, |
780
|
|
|
|
|
|
|
EHms => q{E, HH:mm:ss}, |
781
|
|
|
|
|
|
|
Ed => q{E d}, |
782
|
|
|
|
|
|
|
Ehm => q{E, h:mm a}, |
783
|
|
|
|
|
|
|
Ehms => q{E, h:mm:ss a}, |
784
|
|
|
|
|
|
|
GyMMMEd => q{E, d MMM y G}, |
785
|
|
|
|
|
|
|
GyMMMd => q{d MMM y G}, |
786
|
|
|
|
|
|
|
M => q{LL}, |
787
|
|
|
|
|
|
|
MEd => q{E, d/M}, |
788
|
|
|
|
|
|
|
MMMEd => q{E, d MMM}, |
789
|
|
|
|
|
|
|
MMMMd => q{d MMMM}, |
790
|
|
|
|
|
|
|
MMMd => q{d MMM}, |
791
|
|
|
|
|
|
|
Md => q{dd/MM}, |
792
|
|
|
|
|
|
|
yyyyM => q{MM/y GGGGG}, |
793
|
|
|
|
|
|
|
yyyyMEd => q{E, dd/MM/y GGGGG}, |
794
|
|
|
|
|
|
|
yyyyMMMEd => q{E, d MMM y G}, |
795
|
|
|
|
|
|
|
yyyyMMMd => q{d MMM y G}, |
796
|
|
|
|
|
|
|
yyyyMd => q{dd/MM/y GGGGG}, |
797
|
|
|
|
|
|
|
}, |
798
|
|
|
|
|
|
|
'gregorian' => { |
799
|
|
|
|
|
|
|
EBhm => q{E, h:mm B}, |
800
|
|
|
|
|
|
|
EBhms => q{E, h:mm:ss B}, |
801
|
|
|
|
|
|
|
Ed => q{E d}, |
802
|
|
|
|
|
|
|
GyMMMEd => q{E, d MMM y G}, |
803
|
|
|
|
|
|
|
GyMMMd => q{d MMM y G}, |
804
|
|
|
|
|
|
|
MEd => q{E, dd/MM}, |
805
|
|
|
|
|
|
|
MMMEd => q{E, d MMM}, |
806
|
|
|
|
|
|
|
MMMMd => q{d MMMM}, |
807
|
|
|
|
|
|
|
MMMd => q{d MMM}, |
808
|
|
|
|
|
|
|
MMdd => q{dd/MM}, |
809
|
|
|
|
|
|
|
Md => q{dd/MM}, |
810
|
|
|
|
|
|
|
yM => q{MM/y}, |
811
|
|
|
|
|
|
|
yMEd => q{E, dd/MM/y}, |
812
|
|
|
|
|
|
|
yMMMEd => q{E, d MMM y}, |
813
|
|
|
|
|
|
|
yMMMd => q{d MMM y}, |
814
|
|
|
|
|
|
|
yMd => q{dd/MM/y}, |
815
|
|
|
|
|
|
|
}, |
816
|
|
|
|
|
|
|
} }, |
817
|
|
|
|
|
|
|
); |
818
|
|
|
|
|
|
|
|
819
|
|
|
|
|
|
|
has 'datetime_formats_append_item' => ( |
820
|
|
|
|
|
|
|
is => 'ro', |
821
|
|
|
|
|
|
|
isa => HashRef, |
822
|
|
|
|
|
|
|
init_arg => undef, |
823
|
|
|
|
|
|
|
default => sub { { |
824
|
|
|
|
|
|
|
} }, |
825
|
|
|
|
|
|
|
); |
826
|
|
|
|
|
|
|
|
827
|
|
|
|
|
|
|
has 'datetime_formats_interval' => ( |
828
|
|
|
|
|
|
|
is => 'ro', |
829
|
|
|
|
|
|
|
isa => HashRef, |
830
|
|
|
|
|
|
|
init_arg => undef, |
831
|
|
|
|
|
|
|
default => sub { { |
832
|
|
|
|
|
|
|
'chinese' => { |
833
|
|
|
|
|
|
|
MEd => { |
834
|
|
|
|
|
|
|
M => q{E dd/MM â E dd/MM}, |
835
|
|
|
|
|
|
|
d => q{E dd/MM â E dd/MM}, |
836
|
|
|
|
|
|
|
}, |
837
|
|
|
|
|
|
|
MMMEd => { |
838
|
|
|
|
|
|
|
M => q{E d MMM â E d MMM}, |
839
|
|
|
|
|
|
|
d => q{E d â E d MMM}, |
840
|
|
|
|
|
|
|
}, |
841
|
|
|
|
|
|
|
MMMd => { |
842
|
|
|
|
|
|
|
M => q{d MMM â d MMM}, |
843
|
|
|
|
|
|
|
d => q{d â d MMM}, |
844
|
|
|
|
|
|
|
}, |
845
|
|
|
|
|
|
|
Md => { |
846
|
|
|
|
|
|
|
M => q{dd/MM â dd/MM}, |
847
|
|
|
|
|
|
|
d => q{dd/MM â dd/MM}, |
848
|
|
|
|
|
|
|
}, |
849
|
|
|
|
|
|
|
yM => { |
850
|
|
|
|
|
|
|
M => q{MM/y â MM/y}, |
851
|
|
|
|
|
|
|
y => q{MM/y â MM/y}, |
852
|
|
|
|
|
|
|
}, |
853
|
|
|
|
|
|
|
yMEd => { |
854
|
|
|
|
|
|
|
M => q{E, dd/MM/y â E, dd/MM/y}, |
855
|
|
|
|
|
|
|
d => q{E, dd/MM/y â E, dd/MM/y}, |
856
|
|
|
|
|
|
|
y => q{E, dd/MM/y â E, dd/MM/y}, |
857
|
|
|
|
|
|
|
}, |
858
|
|
|
|
|
|
|
yMMMEd => { |
859
|
|
|
|
|
|
|
M => q{E, d MMM â E, d MMM U}, |
860
|
|
|
|
|
|
|
d => q{E, d â E, d MMM U}, |
861
|
|
|
|
|
|
|
y => q{E, d MMM U â E, d MMM U}, |
862
|
|
|
|
|
|
|
}, |
863
|
|
|
|
|
|
|
yMMMd => { |
864
|
|
|
|
|
|
|
M => q{d MMM â d MMM U}, |
865
|
|
|
|
|
|
|
d => q{d â d MMM U}, |
866
|
|
|
|
|
|
|
y => q{d MMM U â d MMM U}, |
867
|
|
|
|
|
|
|
}, |
868
|
|
|
|
|
|
|
yMd => { |
869
|
|
|
|
|
|
|
M => q{dd/MM/y â dd/MM/y}, |
870
|
|
|
|
|
|
|
d => q{dd/MM/y â dd/MM/y}, |
871
|
|
|
|
|
|
|
y => q{dd/MM/y â dd/MM/y}, |
872
|
|
|
|
|
|
|
}, |
873
|
|
|
|
|
|
|
}, |
874
|
|
|
|
|
|
|
'generic' => { |
875
|
|
|
|
|
|
|
MEd => { |
876
|
|
|
|
|
|
|
M => q{E dd/MM â E dd/MM}, |
877
|
|
|
|
|
|
|
d => q{E dd/MM â E dd/MM}, |
878
|
|
|
|
|
|
|
}, |
879
|
|
|
|
|
|
|
MMMEd => { |
880
|
|
|
|
|
|
|
M => q{E d MMM â E d MMM}, |
881
|
|
|
|
|
|
|
d => q{E d â E d MMM}, |
882
|
|
|
|
|
|
|
}, |
883
|
|
|
|
|
|
|
MMMd => { |
884
|
|
|
|
|
|
|
M => q{d MMM â d MMM}, |
885
|
|
|
|
|
|
|
d => q{d â d MMM}, |
886
|
|
|
|
|
|
|
}, |
887
|
|
|
|
|
|
|
Md => { |
888
|
|
|
|
|
|
|
M => q{dd/MM â dd/MM}, |
889
|
|
|
|
|
|
|
d => q{dd/MM â dd/MM}, |
890
|
|
|
|
|
|
|
}, |
891
|
|
|
|
|
|
|
yM => { |
892
|
|
|
|
|
|
|
M => q{MM/y â MM/y GGGGG}, |
893
|
|
|
|
|
|
|
y => q{MM/y â MM/y GGGGG}, |
894
|
|
|
|
|
|
|
}, |
895
|
|
|
|
|
|
|
yMEd => { |
896
|
|
|
|
|
|
|
M => q{E, dd/MM/y â E, dd/MM/y GGGGG}, |
897
|
|
|
|
|
|
|
d => q{E, dd/MM/y â E, dd/MM/y GGGGG}, |
898
|
|
|
|
|
|
|
y => q{E, dd/MM/y â E, dd/MM/y GGGGG}, |
899
|
|
|
|
|
|
|
}, |
900
|
|
|
|
|
|
|
yMMMEd => { |
901
|
|
|
|
|
|
|
M => q{E, d MMM â E, d MMM y G}, |
902
|
|
|
|
|
|
|
d => q{E, d â E, d MMM y G}, |
903
|
|
|
|
|
|
|
y => q{E, d MMM y â E, d MMM y G}, |
904
|
|
|
|
|
|
|
}, |
905
|
|
|
|
|
|
|
yMMMd => { |
906
|
|
|
|
|
|
|
M => q{d MMM â d MMM y G}, |
907
|
|
|
|
|
|
|
d => q{d â d MMM y G}, |
908
|
|
|
|
|
|
|
y => q{d MMM y â d MMM y G}, |
909
|
|
|
|
|
|
|
}, |
910
|
|
|
|
|
|
|
yMd => { |
911
|
|
|
|
|
|
|
M => q{dd/MM/y â dd/MM/y GGGGG}, |
912
|
|
|
|
|
|
|
d => q{dd/MM/y â dd/MM/y GGGGG}, |
913
|
|
|
|
|
|
|
y => q{dd/MM/y â dd/MM/y GGGGG}, |
914
|
|
|
|
|
|
|
}, |
915
|
|
|
|
|
|
|
}, |
916
|
|
|
|
|
|
|
'gregorian' => { |
917
|
|
|
|
|
|
|
MEd => { |
918
|
|
|
|
|
|
|
M => q{E dd/MM â E dd/MM}, |
919
|
|
|
|
|
|
|
d => q{E dd/MM â E dd/MM}, |
920
|
|
|
|
|
|
|
}, |
921
|
|
|
|
|
|
|
MMMEd => { |
922
|
|
|
|
|
|
|
M => q{E d MMM â E d MMM}, |
923
|
|
|
|
|
|
|
d => q{E d â E d MMM}, |
924
|
|
|
|
|
|
|
}, |
925
|
|
|
|
|
|
|
MMMd => { |
926
|
|
|
|
|
|
|
M => q{d MMM â d MMM}, |
927
|
|
|
|
|
|
|
d => q{d â d MMM}, |
928
|
|
|
|
|
|
|
}, |
929
|
|
|
|
|
|
|
Md => { |
930
|
|
|
|
|
|
|
M => q{dd/MM â dd/MM}, |
931
|
|
|
|
|
|
|
d => q{dd/MM â dd/MM}, |
932
|
|
|
|
|
|
|
}, |
933
|
|
|
|
|
|
|
yM => { |
934
|
|
|
|
|
|
|
M => q{MM/y â MM/y}, |
935
|
|
|
|
|
|
|
y => q{MM/y â MM/y}, |
936
|
|
|
|
|
|
|
}, |
937
|
|
|
|
|
|
|
yMEd => { |
938
|
|
|
|
|
|
|
M => q{E, dd/MM/y â E, dd/MM/y}, |
939
|
|
|
|
|
|
|
d => q{E, dd/MM/y â E, dd/MM/y}, |
940
|
|
|
|
|
|
|
y => q{E, dd/MM/y â E, dd/MM/y}, |
941
|
|
|
|
|
|
|
}, |
942
|
|
|
|
|
|
|
yMMMEd => { |
943
|
|
|
|
|
|
|
M => q{E, d MMM â E, d MMM y}, |
944
|
|
|
|
|
|
|
d => q{E, d â E, d MMM y}, |
945
|
|
|
|
|
|
|
y => q{E, d MMM y â E, d MMM y}, |
946
|
|
|
|
|
|
|
}, |
947
|
|
|
|
|
|
|
yMMMd => { |
948
|
|
|
|
|
|
|
M => q{d MMM â d MMM y}, |
949
|
|
|
|
|
|
|
d => q{d â d MMM y}, |
950
|
|
|
|
|
|
|
y => q{d MMM y â d MMM y}, |
951
|
|
|
|
|
|
|
}, |
952
|
|
|
|
|
|
|
yMd => { |
953
|
|
|
|
|
|
|
M => q{dd/MM/y â dd/MM/y}, |
954
|
|
|
|
|
|
|
d => q{dd/MM/y â dd/MM/y}, |
955
|
|
|
|
|
|
|
y => q{dd/MM/y â dd/MM/y}, |
956
|
|
|
|
|
|
|
}, |
957
|
|
|
|
|
|
|
}, |
958
|
|
|
|
|
|
|
} }, |
959
|
|
|
|
|
|
|
); |
960
|
|
|
|
|
|
|
|
961
|
|
|
|
|
|
|
has 'time_zone_names' => ( |
962
|
|
|
|
|
|
|
is => 'ro', |
963
|
|
|
|
|
|
|
isa => HashRef, |
964
|
|
|
|
|
|
|
init_arg => undef, |
965
|
|
|
|
|
|
|
default => sub { { |
966
|
|
|
|
|
|
|
'Alaska' => { |
967
|
|
|
|
|
|
|
short => { |
968
|
|
|
|
|
|
|
'daylight' => q#â
â
â
#, |
969
|
|
|
|
|
|
|
'generic' => q#â
â
â
#, |
970
|
|
|
|
|
|
|
'standard' => q#â
â
â
#, |
971
|
|
|
|
|
|
|
}, |
972
|
|
|
|
|
|
|
}, |
973
|
|
|
|
|
|
|
'America_Central' => { |
974
|
|
|
|
|
|
|
short => { |
975
|
|
|
|
|
|
|
'daylight' => q#â
â
â
#, |
976
|
|
|
|
|
|
|
'generic' => q#â
â
â
#, |
977
|
|
|
|
|
|
|
'standard' => q#â
â
â
#, |
978
|
|
|
|
|
|
|
}, |
979
|
|
|
|
|
|
|
}, |
980
|
|
|
|
|
|
|
'America_Eastern' => { |
981
|
|
|
|
|
|
|
short => { |
982
|
|
|
|
|
|
|
'daylight' => q#â
â
â
#, |
983
|
|
|
|
|
|
|
'generic' => q#â
â
â
#, |
984
|
|
|
|
|
|
|
'standard' => q#â
â
â
#, |
985
|
|
|
|
|
|
|
}, |
986
|
|
|
|
|
|
|
}, |
987
|
|
|
|
|
|
|
'America_Mountain' => { |
988
|
|
|
|
|
|
|
short => { |
989
|
|
|
|
|
|
|
'daylight' => q#â
â
â
#, |
990
|
|
|
|
|
|
|
'generic' => q#â
â
â
#, |
991
|
|
|
|
|
|
|
'standard' => q#â
â
â
#, |
992
|
|
|
|
|
|
|
}, |
993
|
|
|
|
|
|
|
}, |
994
|
|
|
|
|
|
|
'America_Pacific' => { |
995
|
|
|
|
|
|
|
short => { |
996
|
|
|
|
|
|
|
'daylight' => q#â
â
â
#, |
997
|
|
|
|
|
|
|
'generic' => q#â
â
â
#, |
998
|
|
|
|
|
|
|
'standard' => q#â
â
â
#, |
999
|
|
|
|
|
|
|
}, |
1000
|
|
|
|
|
|
|
}, |
1001
|
|
|
|
|
|
|
'Atlantic' => { |
1002
|
|
|
|
|
|
|
short => { |
1003
|
|
|
|
|
|
|
'daylight' => q#â
â
â
#, |
1004
|
|
|
|
|
|
|
'generic' => q#â
â
â
#, |
1005
|
|
|
|
|
|
|
'standard' => q#â
â
â
#, |
1006
|
|
|
|
|
|
|
}, |
1007
|
|
|
|
|
|
|
}, |
1008
|
|
|
|
|
|
|
'Hawaii_Aleutian' => { |
1009
|
|
|
|
|
|
|
short => { |
1010
|
|
|
|
|
|
|
'daylight' => q#â
â
â
#, |
1011
|
|
|
|
|
|
|
'generic' => q#â
â
â
#, |
1012
|
|
|
|
|
|
|
'standard' => q#â
â
â
#, |
1013
|
|
|
|
|
|
|
}, |
1014
|
|
|
|
|
|
|
}, |
1015
|
|
|
|
|
|
|
'Pacific/Honolulu' => { |
1016
|
|
|
|
|
|
|
short => { |
1017
|
|
|
|
|
|
|
'daylight' => q#â
â
â
#, |
1018
|
|
|
|
|
|
|
'generic' => q#â
â
â
#, |
1019
|
|
|
|
|
|
|
'standard' => q#â
â
â
#, |
1020
|
|
|
|
|
|
|
}, |
1021
|
|
|
|
|
|
|
}, |
1022
|
|
|
|
|
|
|
} } |
1023
|
|
|
|
|
|
|
); |
1024
|
17
|
|
|
17
|
|
57830
|
no Moo; |
|
17
|
|
|
|
|
38
|
|
|
17
|
|
|
|
|
89
|
|
1025
|
|
|
|
|
|
|
|
1026
|
|
|
|
|
|
|
1; |
1027
|
|
|
|
|
|
|
|
1028
|
|
|
|
|
|
|
# vim: tabstop=4 |