line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
=encoding utf8 |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=head1 |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
Locale::CLDR::Locales::Es::Any::Py - Package for language Spanish |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=cut |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
# This file auto generated from Data/common/main/es_PY.xml |
10
|
|
|
|
|
|
|
# on Mon 11 Apr 5:27:25 pm GMT |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
use strict; |
13
|
1
|
|
|
1
|
|
1254
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
27
|
|
14
|
1
|
|
|
1
|
|
5
|
use version; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
24
|
|
15
|
1
|
|
|
1
|
|
5
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
6
|
|
16
|
|
|
|
|
|
|
our $VERSION = version->declare('v0.34.1'); |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
use v5.10.1; |
19
|
1
|
|
|
1
|
|
126
|
use mro 'c3'; |
|
1
|
|
|
|
|
3
|
|
20
|
1
|
|
|
1
|
|
6
|
use utf8; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
6
|
|
21
|
1
|
|
|
1
|
|
24
|
use if $^V ge v5.12.0, feature => 'unicode_strings'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
7
|
|
22
|
1
|
|
|
1
|
|
40
|
use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef ); |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
13
|
|
23
|
1
|
|
|
1
|
|
107
|
use Moo; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
8
|
|
24
|
1
|
|
|
1
|
|
923
|
|
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
8
|
|
25
|
|
|
|
|
|
|
extends('Locale::CLDR::Locales::Es::Any::419'); |
26
|
|
|
|
|
|
|
has 'display_name_language' => ( |
27
|
|
|
|
|
|
|
is => 'ro', |
28
|
|
|
|
|
|
|
isa => CodeRef, |
29
|
|
|
|
|
|
|
init_arg => undef, |
30
|
|
|
|
|
|
|
default => sub { |
31
|
|
|
|
|
|
|
sub { |
32
|
|
|
|
|
|
|
my %languages = ( |
33
|
|
|
|
|
|
|
'ace' => 'acehnés', |
34
|
|
|
|
|
|
|
'arp' => 'arapaho', |
35
|
|
|
|
|
|
|
'bho' => 'bhojpuri', |
36
|
|
|
|
|
|
|
'eu' => 'euskera', |
37
|
|
|
|
|
|
|
'grc' => 'griego antiguo', |
38
|
|
|
|
|
|
|
'lo' => 'lao', |
39
|
|
|
|
|
|
|
'nso' => 'sotho septentrional', |
40
|
|
|
|
|
|
|
'pa' => 'punyabí', |
41
|
|
|
|
|
|
|
'ss' => 'siswati', |
42
|
|
|
|
|
|
|
'sw' => 'suajili', |
43
|
|
|
|
|
|
|
'sw_CD' => 'suajili del Congo', |
44
|
|
|
|
|
|
|
'tn' => 'setswana', |
45
|
|
|
|
|
|
|
'wo' => 'wolof', |
46
|
|
|
|
|
|
|
'zgh' => 'tamazight marroquí estándar', |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
); |
49
|
|
|
|
|
|
|
if (@_) { |
50
|
|
|
|
|
|
|
return $languages{$_[0]}; |
51
|
|
|
|
|
|
|
} |
52
|
|
|
|
|
|
|
return \%languages; |
53
|
|
|
|
|
|
|
} |
54
|
|
|
|
|
|
|
}, |
55
|
|
|
|
|
|
|
); |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
has 'display_name_region' => ( |
58
|
|
|
|
|
|
|
is => 'ro', |
59
|
|
|
|
|
|
|
isa => HashRef[Str], |
60
|
|
|
|
|
|
|
init_arg => undef, |
61
|
|
|
|
|
|
|
default => sub { |
62
|
|
|
|
|
|
|
{ |
63
|
|
|
|
|
|
|
'BA' => 'Bosnia y Herzegovina', |
64
|
|
|
|
|
|
|
'GB@alt=short' => 'RU', |
65
|
|
|
|
|
|
|
'TA' => 'Tristán de Acuña', |
66
|
|
|
|
|
|
|
'TL' => 'Timor-Leste', |
67
|
|
|
|
|
|
|
'UM' => 'Islas menores alejadas de EE. UU.', |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
} |
70
|
|
|
|
|
|
|
}, |
71
|
|
|
|
|
|
|
); |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
has 'units' => ( |
74
|
|
|
|
|
|
|
is => 'ro', |
75
|
|
|
|
|
|
|
isa => HashRef[HashRef[HashRef[Str]]], |
76
|
|
|
|
|
|
|
init_arg => undef, |
77
|
|
|
|
|
|
|
default => sub { { |
78
|
|
|
|
|
|
|
'long' => { |
79
|
|
|
|
|
|
|
'ampere' => { |
80
|
|
|
|
|
|
|
'name' => q(amperios), |
81
|
|
|
|
|
|
|
'one' => q({0} amperio), |
82
|
|
|
|
|
|
|
'other' => q({0} amperios), |
83
|
|
|
|
|
|
|
}, |
84
|
|
|
|
|
|
|
'milliampere' => { |
85
|
|
|
|
|
|
|
'name' => q(miliamperios), |
86
|
|
|
|
|
|
|
'one' => q({0} miliamperio), |
87
|
|
|
|
|
|
|
'other' => q({0} miliamperios), |
88
|
|
|
|
|
|
|
}, |
89
|
|
|
|
|
|
|
'ohm' => { |
90
|
|
|
|
|
|
|
'one' => q({0} ohmio), |
91
|
|
|
|
|
|
|
'other' => q({0} ohmios), |
92
|
|
|
|
|
|
|
}, |
93
|
|
|
|
|
|
|
'volt' => { |
94
|
|
|
|
|
|
|
'one' => q({0} voltio), |
95
|
|
|
|
|
|
|
'other' => q({0} voltios), |
96
|
|
|
|
|
|
|
}, |
97
|
|
|
|
|
|
|
'year' => { |
98
|
|
|
|
|
|
|
'per' => q({0}/año), |
99
|
|
|
|
|
|
|
}, |
100
|
|
|
|
|
|
|
}, |
101
|
|
|
|
|
|
|
'narrow' => { |
102
|
|
|
|
|
|
|
'day' => { |
103
|
|
|
|
|
|
|
'name' => q(día), |
104
|
|
|
|
|
|
|
}, |
105
|
|
|
|
|
|
|
'month' => { |
106
|
|
|
|
|
|
|
'name' => q(mes), |
107
|
|
|
|
|
|
|
}, |
108
|
|
|
|
|
|
|
'year' => { |
109
|
|
|
|
|
|
|
'name' => q(año), |
110
|
|
|
|
|
|
|
}, |
111
|
|
|
|
|
|
|
}, |
112
|
|
|
|
|
|
|
'short' => { |
113
|
|
|
|
|
|
|
'day' => { |
114
|
|
|
|
|
|
|
'name' => q(días), |
115
|
|
|
|
|
|
|
'one' => q({0} día), |
116
|
|
|
|
|
|
|
'other' => q({0} días), |
117
|
|
|
|
|
|
|
'per' => q({0}/día), |
118
|
|
|
|
|
|
|
}, |
119
|
|
|
|
|
|
|
'month' => { |
120
|
|
|
|
|
|
|
'name' => q(meses), |
121
|
|
|
|
|
|
|
'one' => q({0} mes), |
122
|
|
|
|
|
|
|
'other' => q({0} meses), |
123
|
|
|
|
|
|
|
'per' => q({0}/mes), |
124
|
|
|
|
|
|
|
}, |
125
|
|
|
|
|
|
|
'second' => { |
126
|
|
|
|
|
|
|
'name' => q(seg.), |
127
|
|
|
|
|
|
|
'one' => q({0} seg.), |
128
|
|
|
|
|
|
|
'other' => q({0} seg.), |
129
|
|
|
|
|
|
|
'per' => q({0}/seg.), |
130
|
|
|
|
|
|
|
}, |
131
|
|
|
|
|
|
|
'volt' => { |
132
|
|
|
|
|
|
|
'name' => q(voltios), |
133
|
|
|
|
|
|
|
}, |
134
|
|
|
|
|
|
|
'watt' => { |
135
|
|
|
|
|
|
|
'name' => q(vatios), |
136
|
|
|
|
|
|
|
}, |
137
|
|
|
|
|
|
|
'year' => { |
138
|
|
|
|
|
|
|
'name' => q(años), |
139
|
|
|
|
|
|
|
'one' => q({0} año), |
140
|
|
|
|
|
|
|
'other' => q({0} años), |
141
|
|
|
|
|
|
|
'per' => q({0}/año), |
142
|
|
|
|
|
|
|
}, |
143
|
|
|
|
|
|
|
}, |
144
|
|
|
|
|
|
|
} } |
145
|
|
|
|
|
|
|
); |
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
has 'listPatterns' => ( |
148
|
|
|
|
|
|
|
is => 'ro', |
149
|
|
|
|
|
|
|
isa => HashRef, |
150
|
|
|
|
|
|
|
init_arg => undef, |
151
|
|
|
|
|
|
|
default => sub { { |
152
|
|
|
|
|
|
|
end => q({0} y {1}), |
153
|
|
|
|
|
|
|
} } |
154
|
|
|
|
|
|
|
); |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
has 'number_symbols' => ( |
157
|
|
|
|
|
|
|
is => 'ro', |
158
|
|
|
|
|
|
|
isa => HashRef, |
159
|
|
|
|
|
|
|
init_arg => undef, |
160
|
|
|
|
|
|
|
default => sub { { |
161
|
|
|
|
|
|
|
'latn' => { |
162
|
|
|
|
|
|
|
'decimal' => q(,), |
163
|
|
|
|
|
|
|
'group' => q(.), |
164
|
|
|
|
|
|
|
}, |
165
|
|
|
|
|
|
|
} } |
166
|
|
|
|
|
|
|
); |
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
has 'number_currency_formats' => ( |
169
|
|
|
|
|
|
|
is => 'ro', |
170
|
|
|
|
|
|
|
isa => HashRef, |
171
|
|
|
|
|
|
|
init_arg => undef, |
172
|
|
|
|
|
|
|
default => sub { { |
173
|
|
|
|
|
|
|
'latn' => { |
174
|
|
|
|
|
|
|
'pattern' => { |
175
|
|
|
|
|
|
|
'default' => { |
176
|
|
|
|
|
|
|
'standard' => { |
177
|
|
|
|
|
|
|
'negative' => '¤ -#,##0.00', |
178
|
|
|
|
|
|
|
'positive' => '¤ #,##0.00', |
179
|
|
|
|
|
|
|
}, |
180
|
|
|
|
|
|
|
}, |
181
|
|
|
|
|
|
|
}, |
182
|
|
|
|
|
|
|
}, |
183
|
|
|
|
|
|
|
} }, |
184
|
|
|
|
|
|
|
); |
185
|
|
|
|
|
|
|
|
186
|
|
|
|
|
|
|
has 'currencies' => ( |
187
|
|
|
|
|
|
|
is => 'ro', |
188
|
|
|
|
|
|
|
isa => HashRef, |
189
|
|
|
|
|
|
|
init_arg => undef, |
190
|
|
|
|
|
|
|
default => sub { { |
191
|
|
|
|
|
|
|
'PYG' => { |
192
|
|
|
|
|
|
|
symbol => 'Gs.', |
193
|
|
|
|
|
|
|
}, |
194
|
|
|
|
|
|
|
} }, |
195
|
|
|
|
|
|
|
); |
196
|
|
|
|
|
|
|
|
197
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
has 'calendar_months' => ( |
199
|
|
|
|
|
|
|
is => 'ro', |
200
|
|
|
|
|
|
|
isa => HashRef, |
201
|
|
|
|
|
|
|
init_arg => undef, |
202
|
|
|
|
|
|
|
default => sub { { |
203
|
|
|
|
|
|
|
'gregorian' => { |
204
|
|
|
|
|
|
|
'format' => { |
205
|
|
|
|
|
|
|
abbreviated => { |
206
|
|
|
|
|
|
|
nonleap => [ |
207
|
|
|
|
|
|
|
'ene.', |
208
|
|
|
|
|
|
|
'feb.', |
209
|
|
|
|
|
|
|
'mar.', |
210
|
|
|
|
|
|
|
'abr.', |
211
|
|
|
|
|
|
|
'may.', |
212
|
|
|
|
|
|
|
'jun.', |
213
|
|
|
|
|
|
|
'jul.', |
214
|
|
|
|
|
|
|
'ago.', |
215
|
|
|
|
|
|
|
'sept.', |
216
|
|
|
|
|
|
|
'oct.', |
217
|
|
|
|
|
|
|
'nov.', |
218
|
|
|
|
|
|
|
'dic.' |
219
|
|
|
|
|
|
|
], |
220
|
|
|
|
|
|
|
leap => [ |
221
|
|
|
|
|
|
|
|
222
|
|
|
|
|
|
|
], |
223
|
|
|
|
|
|
|
}, |
224
|
|
|
|
|
|
|
}, |
225
|
|
|
|
|
|
|
'stand-alone' => { |
226
|
|
|
|
|
|
|
abbreviated => { |
227
|
|
|
|
|
|
|
nonleap => [ |
228
|
|
|
|
|
|
|
'ene.', |
229
|
|
|
|
|
|
|
'feb.', |
230
|
|
|
|
|
|
|
'mar.', |
231
|
|
|
|
|
|
|
'abr.', |
232
|
|
|
|
|
|
|
'may.', |
233
|
|
|
|
|
|
|
'jun.', |
234
|
|
|
|
|
|
|
'jul.', |
235
|
|
|
|
|
|
|
'ago.', |
236
|
|
|
|
|
|
|
'sept.', |
237
|
|
|
|
|
|
|
'oct.', |
238
|
|
|
|
|
|
|
'nov.', |
239
|
|
|
|
|
|
|
'dic.' |
240
|
|
|
|
|
|
|
], |
241
|
|
|
|
|
|
|
leap => [ |
242
|
|
|
|
|
|
|
|
243
|
|
|
|
|
|
|
], |
244
|
|
|
|
|
|
|
}, |
245
|
|
|
|
|
|
|
}, |
246
|
|
|
|
|
|
|
}, |
247
|
|
|
|
|
|
|
} }, |
248
|
|
|
|
|
|
|
); |
249
|
|
|
|
|
|
|
|
250
|
|
|
|
|
|
|
has 'calendar_days' => ( |
251
|
|
|
|
|
|
|
is => 'ro', |
252
|
|
|
|
|
|
|
isa => HashRef, |
253
|
|
|
|
|
|
|
init_arg => undef, |
254
|
|
|
|
|
|
|
default => sub { { |
255
|
|
|
|
|
|
|
'gregorian' => { |
256
|
|
|
|
|
|
|
'format' => { |
257
|
|
|
|
|
|
|
short => { |
258
|
|
|
|
|
|
|
mon => 'lu', |
259
|
|
|
|
|
|
|
tue => 'ma', |
260
|
|
|
|
|
|
|
wed => 'mi', |
261
|
|
|
|
|
|
|
thu => 'ju', |
262
|
|
|
|
|
|
|
fri => 'vi', |
263
|
|
|
|
|
|
|
sat => 'sa', |
264
|
|
|
|
|
|
|
sun => 'do' |
265
|
|
|
|
|
|
|
}, |
266
|
|
|
|
|
|
|
}, |
267
|
|
|
|
|
|
|
'stand-alone' => { |
268
|
|
|
|
|
|
|
short => { |
269
|
|
|
|
|
|
|
mon => 'Lu', |
270
|
|
|
|
|
|
|
tue => 'Ma', |
271
|
|
|
|
|
|
|
wed => 'Mi', |
272
|
|
|
|
|
|
|
thu => 'Ju', |
273
|
|
|
|
|
|
|
fri => 'Vi', |
274
|
|
|
|
|
|
|
sat => 'Sa', |
275
|
|
|
|
|
|
|
sun => 'Do' |
276
|
|
|
|
|
|
|
}, |
277
|
|
|
|
|
|
|
}, |
278
|
|
|
|
|
|
|
}, |
279
|
|
|
|
|
|
|
} }, |
280
|
|
|
|
|
|
|
); |
281
|
|
|
|
|
|
|
|
282
|
|
|
|
|
|
|
has 'day_period_data' => ( |
283
|
|
|
|
|
|
|
is => 'ro', |
284
|
|
|
|
|
|
|
isa => CodeRef, |
285
|
|
|
|
|
|
|
init_arg => undef, |
286
|
|
|
|
|
|
|
default => sub { sub { |
287
|
|
|
|
|
|
|
# Time in hhmm format |
288
|
|
|
|
|
|
|
my ($self, $type, $time, $day_period_type) = @_; |
289
|
|
|
|
|
|
|
$day_period_type //= 'default'; |
290
|
|
|
|
|
|
|
SWITCH: |
291
|
|
|
|
|
|
|
for ($type) { |
292
|
|
|
|
|
|
|
if ($_ eq 'gregorian') { |
293
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
294
|
|
|
|
|
|
|
return 'noon' if $time == 1200; |
295
|
|
|
|
|
|
|
return 'evening1' if $time >= 1200 |
296
|
|
|
|
|
|
|
&& $time < 2000; |
297
|
|
|
|
|
|
|
return 'morning1' if $time >= 0 |
298
|
|
|
|
|
|
|
&& $time < 600; |
299
|
|
|
|
|
|
|
return 'morning2' if $time >= 600 |
300
|
|
|
|
|
|
|
&& $time < 1200; |
301
|
|
|
|
|
|
|
return 'night1' if $time >= 2000 |
302
|
|
|
|
|
|
|
&& $time < 2400; |
303
|
|
|
|
|
|
|
} |
304
|
|
|
|
|
|
|
if($day_period_type eq 'selection') { |
305
|
|
|
|
|
|
|
return 'evening1' if $time >= 1200 |
306
|
|
|
|
|
|
|
&& $time < 2000; |
307
|
|
|
|
|
|
|
return 'morning1' if $time >= 0 |
308
|
|
|
|
|
|
|
&& $time < 600; |
309
|
|
|
|
|
|
|
return 'morning2' if $time >= 600 |
310
|
|
|
|
|
|
|
&& $time < 1200; |
311
|
|
|
|
|
|
|
return 'night1' if $time >= 2000 |
312
|
|
|
|
|
|
|
&& $time < 2400; |
313
|
|
|
|
|
|
|
} |
314
|
|
|
|
|
|
|
last SWITCH; |
315
|
|
|
|
|
|
|
} |
316
|
|
|
|
|
|
|
} |
317
|
|
|
|
|
|
|
} }, |
318
|
|
|
|
|
|
|
); |
319
|
|
|
|
|
|
|
|
320
|
|
|
|
|
|
|
around day_period_data => sub { |
321
|
|
|
|
|
|
|
my ($orig, $self) = @_; |
322
|
|
|
|
|
|
|
return $self->$orig; |
323
|
|
|
|
|
|
|
}; |
324
|
|
|
|
|
|
|
|
325
|
|
|
|
|
|
|
has 'day_periods' => ( |
326
|
|
|
|
|
|
|
is => 'ro', |
327
|
|
|
|
|
|
|
isa => HashRef, |
328
|
|
|
|
|
|
|
init_arg => undef, |
329
|
|
|
|
|
|
|
default => sub { { |
330
|
|
|
|
|
|
|
'gregorian' => { |
331
|
|
|
|
|
|
|
'format' => { |
332
|
|
|
|
|
|
|
'abbreviated' => { |
333
|
|
|
|
|
|
|
'am' => q{a. m.}, |
334
|
|
|
|
|
|
|
'pm' => q{p. m.}, |
335
|
|
|
|
|
|
|
}, |
336
|
|
|
|
|
|
|
'wide' => { |
337
|
|
|
|
|
|
|
'am' => q{a. m.}, |
338
|
|
|
|
|
|
|
'pm' => q{p. m.}, |
339
|
|
|
|
|
|
|
}, |
340
|
|
|
|
|
|
|
}, |
341
|
|
|
|
|
|
|
'stand-alone' => { |
342
|
|
|
|
|
|
|
'abbreviated' => { |
343
|
|
|
|
|
|
|
'am' => q{a. m.}, |
344
|
|
|
|
|
|
|
'pm' => q{p. m.}, |
345
|
|
|
|
|
|
|
}, |
346
|
|
|
|
|
|
|
'narrow' => { |
347
|
|
|
|
|
|
|
'am' => q{a. m.}, |
348
|
|
|
|
|
|
|
'noon' => q{m.}, |
349
|
|
|
|
|
|
|
'pm' => q{p. m.}, |
350
|
|
|
|
|
|
|
}, |
351
|
|
|
|
|
|
|
'wide' => { |
352
|
|
|
|
|
|
|
'am' => q{a. m.}, |
353
|
|
|
|
|
|
|
'pm' => q{p. m.}, |
354
|
|
|
|
|
|
|
}, |
355
|
|
|
|
|
|
|
}, |
356
|
|
|
|
|
|
|
}, |
357
|
|
|
|
|
|
|
} }, |
358
|
|
|
|
|
|
|
); |
359
|
|
|
|
|
|
|
|
360
|
|
|
|
|
|
|
has 'eras' => ( |
361
|
|
|
|
|
|
|
is => 'ro', |
362
|
|
|
|
|
|
|
isa => HashRef, |
363
|
|
|
|
|
|
|
init_arg => undef, |
364
|
|
|
|
|
|
|
default => sub { { |
365
|
|
|
|
|
|
|
'gregorian' => { |
366
|
|
|
|
|
|
|
}, |
367
|
|
|
|
|
|
|
} }, |
368
|
|
|
|
|
|
|
); |
369
|
|
|
|
|
|
|
|
370
|
|
|
|
|
|
|
has 'date_formats' => ( |
371
|
|
|
|
|
|
|
is => 'ro', |
372
|
|
|
|
|
|
|
isa => HashRef, |
373
|
|
|
|
|
|
|
init_arg => undef, |
374
|
|
|
|
|
|
|
default => sub { { |
375
|
|
|
|
|
|
|
'gregorian' => { |
376
|
|
|
|
|
|
|
}, |
377
|
|
|
|
|
|
|
} }, |
378
|
|
|
|
|
|
|
); |
379
|
|
|
|
|
|
|
|
380
|
|
|
|
|
|
|
has 'time_formats' => ( |
381
|
|
|
|
|
|
|
is => 'ro', |
382
|
|
|
|
|
|
|
isa => HashRef, |
383
|
|
|
|
|
|
|
init_arg => undef, |
384
|
|
|
|
|
|
|
default => sub { { |
385
|
|
|
|
|
|
|
'gregorian' => { |
386
|
|
|
|
|
|
|
}, |
387
|
|
|
|
|
|
|
} }, |
388
|
|
|
|
|
|
|
); |
389
|
|
|
|
|
|
|
|
390
|
|
|
|
|
|
|
has 'datetime_formats' => ( |
391
|
|
|
|
|
|
|
is => 'ro', |
392
|
|
|
|
|
|
|
isa => HashRef, |
393
|
|
|
|
|
|
|
init_arg => undef, |
394
|
|
|
|
|
|
|
default => sub { { |
395
|
|
|
|
|
|
|
'gregorian' => { |
396
|
|
|
|
|
|
|
}, |
397
|
|
|
|
|
|
|
} }, |
398
|
|
|
|
|
|
|
); |
399
|
|
|
|
|
|
|
|
400
|
|
|
|
|
|
|
has 'datetime_formats_available_formats' => ( |
401
|
|
|
|
|
|
|
is => 'ro', |
402
|
|
|
|
|
|
|
isa => HashRef, |
403
|
|
|
|
|
|
|
init_arg => undef, |
404
|
|
|
|
|
|
|
default => sub { { |
405
|
|
|
|
|
|
|
} }, |
406
|
|
|
|
|
|
|
); |
407
|
|
|
|
|
|
|
|
408
|
|
|
|
|
|
|
has 'datetime_formats_append_item' => ( |
409
|
|
|
|
|
|
|
is => 'ro', |
410
|
|
|
|
|
|
|
isa => HashRef, |
411
|
|
|
|
|
|
|
init_arg => undef, |
412
|
|
|
|
|
|
|
default => sub { { |
413
|
|
|
|
|
|
|
} }, |
414
|
|
|
|
|
|
|
); |
415
|
|
|
|
|
|
|
|
416
|
|
|
|
|
|
|
has 'datetime_formats_interval' => ( |
417
|
|
|
|
|
|
|
is => 'ro', |
418
|
|
|
|
|
|
|
isa => HashRef, |
419
|
|
|
|
|
|
|
init_arg => undef, |
420
|
|
|
|
|
|
|
default => sub { { |
421
|
|
|
|
|
|
|
'gregorian' => { |
422
|
|
|
|
|
|
|
Md => { |
423
|
|
|
|
|
|
|
M => q{d/M 'al' d/M}, |
424
|
|
|
|
|
|
|
d => q{d/M 'al' d/M}, |
425
|
|
|
|
|
|
|
}, |
426
|
|
|
|
|
|
|
h => { |
427
|
|
|
|
|
|
|
a => q{h a 'a' h a}, |
428
|
|
|
|
|
|
|
h => q{h 'a' h a}, |
429
|
|
|
|
|
|
|
}, |
430
|
|
|
|
|
|
|
hm => { |
431
|
|
|
|
|
|
|
a => q{h:mm a 'a' h:mm a}, |
432
|
|
|
|
|
|
|
h => q{h:mm 'a' h:mm a}, |
433
|
|
|
|
|
|
|
m => q{h:mm 'a' h:mm a}, |
434
|
|
|
|
|
|
|
}, |
435
|
|
|
|
|
|
|
yMMM => { |
436
|
|
|
|
|
|
|
M => q{MMM 'a' MMM y}, |
437
|
|
|
|
|
|
|
y => q{MMM 'de' y 'a' MMM 'de' y}, |
438
|
|
|
|
|
|
|
}, |
439
|
|
|
|
|
|
|
yMMMM => { |
440
|
|
|
|
|
|
|
M => q{MMMM 'a' MMMM 'de' y}, |
441
|
|
|
|
|
|
|
y => q{MMMM 'de' y 'a' MMMM 'de' y}, |
442
|
|
|
|
|
|
|
}, |
443
|
|
|
|
|
|
|
yMMMd => { |
444
|
|
|
|
|
|
|
M => q{d 'de' MMM 'al' d 'de' MMM 'de' y}, |
445
|
|
|
|
|
|
|
}, |
446
|
|
|
|
|
|
|
yMd => { |
447
|
|
|
|
|
|
|
M => q{d/M/y 'al' d/M/y}, |
448
|
|
|
|
|
|
|
d => q{d/M/y 'al' d/M/y}, |
449
|
|
|
|
|
|
|
y => q{d/M/y 'al' d/M/y}, |
450
|
|
|
|
|
|
|
}, |
451
|
|
|
|
|
|
|
}, |
452
|
|
|
|
|
|
|
} }, |
453
|
|
|
|
|
|
|
); |
454
|
|
|
|
|
|
|
|
455
|
|
|
|
|
|
|
no Moo; |
456
|
1
|
|
|
1
|
|
1441
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
457
|
|
|
|
|
|
|
1; |
458
|
|
|
|
|
|
|
|
459
|
|
|
|
|
|
|
# vim: tabstop=4 |