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