line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
=encoding utf8 |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=head1 |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
Locale::CLDR::Locales::Es::Any::Uy - Package for language Spanish |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=cut |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
# This file auto generated from Data/common/main/es_UY.xml |
10
|
|
|
|
|
|
|
# on Mon 11 Apr 5:27:26 pm GMT |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
use strict; |
13
|
1
|
|
|
1
|
|
1136
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
26
|
|
14
|
1
|
|
|
1
|
|
5
|
use version; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
25
|
|
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
|
|
91
|
use mro 'c3'; |
|
1
|
|
|
|
|
3
|
|
20
|
1
|
|
|
1
|
|
4
|
use utf8; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
21
|
1
|
|
|
1
|
|
22
|
use if $^V ge v5.12.0, feature => 'unicode_strings'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
22
|
1
|
|
|
1
|
|
43
|
use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef ); |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
12
|
|
23
|
1
|
|
|
1
|
|
387
|
use Moo; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
9
|
|
24
|
1
|
|
|
1
|
|
1243
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
7
|
|
25
|
|
|
|
|
|
|
extends('Locale::CLDR::Locales::Es::Any::419'); |
26
|
|
|
|
|
|
|
has 'number_symbols' => ( |
27
|
|
|
|
|
|
|
is => 'ro', |
28
|
|
|
|
|
|
|
isa => HashRef, |
29
|
|
|
|
|
|
|
init_arg => undef, |
30
|
|
|
|
|
|
|
default => sub { { |
31
|
|
|
|
|
|
|
'latn' => { |
32
|
|
|
|
|
|
|
'decimal' => q(,), |
33
|
|
|
|
|
|
|
'group' => q(.), |
34
|
|
|
|
|
|
|
}, |
35
|
|
|
|
|
|
|
} } |
36
|
|
|
|
|
|
|
); |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
has 'number_currency_formats' => ( |
39
|
|
|
|
|
|
|
is => 'ro', |
40
|
|
|
|
|
|
|
isa => HashRef, |
41
|
|
|
|
|
|
|
init_arg => undef, |
42
|
|
|
|
|
|
|
default => sub { { |
43
|
|
|
|
|
|
|
'latn' => { |
44
|
|
|
|
|
|
|
'pattern' => { |
45
|
|
|
|
|
|
|
'default' => { |
46
|
|
|
|
|
|
|
'accounting' => { |
47
|
|
|
|
|
|
|
'negative' => '(¤ #,##0.00)', |
48
|
|
|
|
|
|
|
'positive' => '¤ #,##0.00', |
49
|
|
|
|
|
|
|
}, |
50
|
|
|
|
|
|
|
'standard' => { |
51
|
|
|
|
|
|
|
'positive' => '¤ #,##0.00', |
52
|
|
|
|
|
|
|
}, |
53
|
|
|
|
|
|
|
}, |
54
|
|
|
|
|
|
|
}, |
55
|
|
|
|
|
|
|
}, |
56
|
|
|
|
|
|
|
} }, |
57
|
|
|
|
|
|
|
); |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
has 'currencies' => ( |
60
|
|
|
|
|
|
|
is => 'ro', |
61
|
|
|
|
|
|
|
isa => HashRef, |
62
|
|
|
|
|
|
|
init_arg => undef, |
63
|
|
|
|
|
|
|
default => sub { { |
64
|
|
|
|
|
|
|
'USD' => { |
65
|
|
|
|
|
|
|
symbol => 'US$', |
66
|
|
|
|
|
|
|
}, |
67
|
|
|
|
|
|
|
'UYU' => { |
68
|
|
|
|
|
|
|
symbol => '$', |
69
|
|
|
|
|
|
|
}, |
70
|
|
|
|
|
|
|
'UYW' => { |
71
|
|
|
|
|
|
|
symbol => 'UP', |
72
|
|
|
|
|
|
|
}, |
73
|
|
|
|
|
|
|
} }, |
74
|
|
|
|
|
|
|
); |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
has 'calendar_months' => ( |
78
|
|
|
|
|
|
|
is => 'ro', |
79
|
|
|
|
|
|
|
isa => HashRef, |
80
|
|
|
|
|
|
|
init_arg => undef, |
81
|
|
|
|
|
|
|
default => sub { { |
82
|
|
|
|
|
|
|
'gregorian' => { |
83
|
|
|
|
|
|
|
'format' => { |
84
|
|
|
|
|
|
|
abbreviated => { |
85
|
|
|
|
|
|
|
nonleap => [ |
86
|
|
|
|
|
|
|
'ene.', |
87
|
|
|
|
|
|
|
'feb.', |
88
|
|
|
|
|
|
|
'mar.', |
89
|
|
|
|
|
|
|
'abr.', |
90
|
|
|
|
|
|
|
'may.', |
91
|
|
|
|
|
|
|
'jun.', |
92
|
|
|
|
|
|
|
'jul.', |
93
|
|
|
|
|
|
|
'ago.', |
94
|
|
|
|
|
|
|
'set.', |
95
|
|
|
|
|
|
|
'oct.', |
96
|
|
|
|
|
|
|
'nov.', |
97
|
|
|
|
|
|
|
'dic.' |
98
|
|
|
|
|
|
|
], |
99
|
|
|
|
|
|
|
leap => [ |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
], |
102
|
|
|
|
|
|
|
}, |
103
|
|
|
|
|
|
|
wide => { |
104
|
|
|
|
|
|
|
nonleap => [ |
105
|
|
|
|
|
|
|
'enero', |
106
|
|
|
|
|
|
|
'febrero', |
107
|
|
|
|
|
|
|
'marzo', |
108
|
|
|
|
|
|
|
'abril', |
109
|
|
|
|
|
|
|
'mayo', |
110
|
|
|
|
|
|
|
'junio', |
111
|
|
|
|
|
|
|
'julio', |
112
|
|
|
|
|
|
|
'agosto', |
113
|
|
|
|
|
|
|
'setiembre', |
114
|
|
|
|
|
|
|
'octubre', |
115
|
|
|
|
|
|
|
'noviembre', |
116
|
|
|
|
|
|
|
'diciembre' |
117
|
|
|
|
|
|
|
], |
118
|
|
|
|
|
|
|
leap => [ |
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
], |
121
|
|
|
|
|
|
|
}, |
122
|
|
|
|
|
|
|
}, |
123
|
|
|
|
|
|
|
'stand-alone' => { |
124
|
|
|
|
|
|
|
abbreviated => { |
125
|
|
|
|
|
|
|
nonleap => [ |
126
|
|
|
|
|
|
|
'Ene.', |
127
|
|
|
|
|
|
|
'Feb.', |
128
|
|
|
|
|
|
|
'Mar.', |
129
|
|
|
|
|
|
|
'Abr.', |
130
|
|
|
|
|
|
|
'May.', |
131
|
|
|
|
|
|
|
'Jun.', |
132
|
|
|
|
|
|
|
'Jul.', |
133
|
|
|
|
|
|
|
'Ago.', |
134
|
|
|
|
|
|
|
'Set.', |
135
|
|
|
|
|
|
|
'Oct.', |
136
|
|
|
|
|
|
|
'Nov.', |
137
|
|
|
|
|
|
|
'Dic.' |
138
|
|
|
|
|
|
|
], |
139
|
|
|
|
|
|
|
leap => [ |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
], |
142
|
|
|
|
|
|
|
}, |
143
|
|
|
|
|
|
|
wide => { |
144
|
|
|
|
|
|
|
nonleap => [ |
145
|
|
|
|
|
|
|
'Enero', |
146
|
|
|
|
|
|
|
'Febrero', |
147
|
|
|
|
|
|
|
'Marzo', |
148
|
|
|
|
|
|
|
'Abril', |
149
|
|
|
|
|
|
|
'Mayo', |
150
|
|
|
|
|
|
|
'Junio', |
151
|
|
|
|
|
|
|
'Julio', |
152
|
|
|
|
|
|
|
'Agosto', |
153
|
|
|
|
|
|
|
'Setiembre', |
154
|
|
|
|
|
|
|
'Octubre', |
155
|
|
|
|
|
|
|
'Noviembre', |
156
|
|
|
|
|
|
|
'Diciembre' |
157
|
|
|
|
|
|
|
], |
158
|
|
|
|
|
|
|
leap => [ |
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
], |
161
|
|
|
|
|
|
|
}, |
162
|
|
|
|
|
|
|
}, |
163
|
|
|
|
|
|
|
}, |
164
|
|
|
|
|
|
|
} }, |
165
|
|
|
|
|
|
|
); |
166
|
|
|
|
|
|
|
|
167
|
|
|
|
|
|
|
has 'day_period_data' => ( |
168
|
|
|
|
|
|
|
is => 'ro', |
169
|
|
|
|
|
|
|
isa => CodeRef, |
170
|
|
|
|
|
|
|
init_arg => undef, |
171
|
|
|
|
|
|
|
default => sub { sub { |
172
|
|
|
|
|
|
|
# Time in hhmm format |
173
|
|
|
|
|
|
|
my ($self, $type, $time, $day_period_type) = @_; |
174
|
|
|
|
|
|
|
$day_period_type //= 'default'; |
175
|
|
|
|
|
|
|
SWITCH: |
176
|
|
|
|
|
|
|
for ($type) { |
177
|
|
|
|
|
|
|
if ($_ eq 'gregorian') { |
178
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
179
|
|
|
|
|
|
|
return 'noon' if $time == 1200; |
180
|
|
|
|
|
|
|
return 'evening1' if $time >= 1200 |
181
|
|
|
|
|
|
|
&& $time < 2000; |
182
|
|
|
|
|
|
|
return 'morning1' if $time >= 0 |
183
|
|
|
|
|
|
|
&& $time < 600; |
184
|
|
|
|
|
|
|
return 'morning2' if $time >= 600 |
185
|
|
|
|
|
|
|
&& $time < 1200; |
186
|
|
|
|
|
|
|
return 'night1' if $time >= 2000 |
187
|
|
|
|
|
|
|
&& $time < 2400; |
188
|
|
|
|
|
|
|
} |
189
|
|
|
|
|
|
|
if($day_period_type eq 'selection') { |
190
|
|
|
|
|
|
|
return 'evening1' if $time >= 1200 |
191
|
|
|
|
|
|
|
&& $time < 2000; |
192
|
|
|
|
|
|
|
return 'morning1' if $time >= 0 |
193
|
|
|
|
|
|
|
&& $time < 600; |
194
|
|
|
|
|
|
|
return 'morning2' if $time >= 600 |
195
|
|
|
|
|
|
|
&& $time < 1200; |
196
|
|
|
|
|
|
|
return 'night1' if $time >= 2000 |
197
|
|
|
|
|
|
|
&& $time < 2400; |
198
|
|
|
|
|
|
|
} |
199
|
|
|
|
|
|
|
last SWITCH; |
200
|
|
|
|
|
|
|
} |
201
|
|
|
|
|
|
|
} |
202
|
|
|
|
|
|
|
} }, |
203
|
|
|
|
|
|
|
); |
204
|
|
|
|
|
|
|
|
205
|
|
|
|
|
|
|
around day_period_data => sub { |
206
|
|
|
|
|
|
|
my ($orig, $self) = @_; |
207
|
|
|
|
|
|
|
return $self->$orig; |
208
|
|
|
|
|
|
|
}; |
209
|
|
|
|
|
|
|
|
210
|
|
|
|
|
|
|
has 'day_periods' => ( |
211
|
|
|
|
|
|
|
is => 'ro', |
212
|
|
|
|
|
|
|
isa => HashRef, |
213
|
|
|
|
|
|
|
init_arg => undef, |
214
|
|
|
|
|
|
|
default => sub { { |
215
|
|
|
|
|
|
|
'gregorian' => { |
216
|
|
|
|
|
|
|
'format' => { |
217
|
|
|
|
|
|
|
'abbreviated' => { |
218
|
|
|
|
|
|
|
'am' => q{a. m.}, |
219
|
|
|
|
|
|
|
'pm' => q{p. m.}, |
220
|
|
|
|
|
|
|
}, |
221
|
|
|
|
|
|
|
'wide' => { |
222
|
|
|
|
|
|
|
'am' => q{a. m.}, |
223
|
|
|
|
|
|
|
'pm' => q{p. m.}, |
224
|
|
|
|
|
|
|
}, |
225
|
|
|
|
|
|
|
}, |
226
|
|
|
|
|
|
|
'stand-alone' => { |
227
|
|
|
|
|
|
|
'abbreviated' => { |
228
|
|
|
|
|
|
|
'am' => q{a. m.}, |
229
|
|
|
|
|
|
|
'pm' => q{p. m.}, |
230
|
|
|
|
|
|
|
}, |
231
|
|
|
|
|
|
|
'narrow' => { |
232
|
|
|
|
|
|
|
'am' => q{a. m.}, |
233
|
|
|
|
|
|
|
'pm' => q{p. m.}, |
234
|
|
|
|
|
|
|
}, |
235
|
|
|
|
|
|
|
'wide' => { |
236
|
|
|
|
|
|
|
'am' => q{a. m.}, |
237
|
|
|
|
|
|
|
'pm' => q{p. m.}, |
238
|
|
|
|
|
|
|
}, |
239
|
|
|
|
|
|
|
}, |
240
|
|
|
|
|
|
|
}, |
241
|
|
|
|
|
|
|
} }, |
242
|
|
|
|
|
|
|
); |
243
|
|
|
|
|
|
|
|
244
|
|
|
|
|
|
|
has 'eras' => ( |
245
|
|
|
|
|
|
|
is => 'ro', |
246
|
|
|
|
|
|
|
isa => HashRef, |
247
|
|
|
|
|
|
|
init_arg => undef, |
248
|
|
|
|
|
|
|
default => sub { { |
249
|
|
|
|
|
|
|
'gregorian' => { |
250
|
|
|
|
|
|
|
}, |
251
|
|
|
|
|
|
|
} }, |
252
|
|
|
|
|
|
|
); |
253
|
|
|
|
|
|
|
|
254
|
|
|
|
|
|
|
has 'date_formats' => ( |
255
|
|
|
|
|
|
|
is => 'ro', |
256
|
|
|
|
|
|
|
isa => HashRef, |
257
|
|
|
|
|
|
|
init_arg => undef, |
258
|
|
|
|
|
|
|
default => sub { { |
259
|
|
|
|
|
|
|
'gregorian' => { |
260
|
|
|
|
|
|
|
}, |
261
|
|
|
|
|
|
|
} }, |
262
|
|
|
|
|
|
|
); |
263
|
|
|
|
|
|
|
|
264
|
|
|
|
|
|
|
has 'time_formats' => ( |
265
|
|
|
|
|
|
|
is => 'ro', |
266
|
|
|
|
|
|
|
isa => HashRef, |
267
|
|
|
|
|
|
|
init_arg => undef, |
268
|
|
|
|
|
|
|
default => sub { { |
269
|
|
|
|
|
|
|
'gregorian' => { |
270
|
|
|
|
|
|
|
}, |
271
|
|
|
|
|
|
|
} }, |
272
|
|
|
|
|
|
|
); |
273
|
|
|
|
|
|
|
|
274
|
|
|
|
|
|
|
has 'datetime_formats' => ( |
275
|
|
|
|
|
|
|
is => 'ro', |
276
|
|
|
|
|
|
|
isa => HashRef, |
277
|
|
|
|
|
|
|
init_arg => undef, |
278
|
|
|
|
|
|
|
default => sub { { |
279
|
|
|
|
|
|
|
'gregorian' => { |
280
|
|
|
|
|
|
|
}, |
281
|
|
|
|
|
|
|
} }, |
282
|
|
|
|
|
|
|
); |
283
|
|
|
|
|
|
|
|
284
|
|
|
|
|
|
|
has 'datetime_formats_available_formats' => ( |
285
|
|
|
|
|
|
|
is => 'ro', |
286
|
|
|
|
|
|
|
isa => HashRef, |
287
|
|
|
|
|
|
|
init_arg => undef, |
288
|
|
|
|
|
|
|
default => sub { { |
289
|
|
|
|
|
|
|
} }, |
290
|
|
|
|
|
|
|
); |
291
|
|
|
|
|
|
|
|
292
|
|
|
|
|
|
|
has 'datetime_formats_append_item' => ( |
293
|
|
|
|
|
|
|
is => 'ro', |
294
|
|
|
|
|
|
|
isa => HashRef, |
295
|
|
|
|
|
|
|
init_arg => undef, |
296
|
|
|
|
|
|
|
default => sub { { |
297
|
|
|
|
|
|
|
} }, |
298
|
|
|
|
|
|
|
); |
299
|
|
|
|
|
|
|
|
300
|
|
|
|
|
|
|
has 'datetime_formats_interval' => ( |
301
|
|
|
|
|
|
|
is => 'ro', |
302
|
|
|
|
|
|
|
isa => HashRef, |
303
|
|
|
|
|
|
|
init_arg => undef, |
304
|
|
|
|
|
|
|
default => sub { { |
305
|
|
|
|
|
|
|
} }, |
306
|
|
|
|
|
|
|
); |
307
|
|
|
|
|
|
|
|
308
|
|
|
|
|
|
|
has 'time_zone_names' => ( |
309
|
|
|
|
|
|
|
is => 'ro', |
310
|
|
|
|
|
|
|
isa => HashRef, |
311
|
|
|
|
|
|
|
init_arg => undef, |
312
|
|
|
|
|
|
|
default => sub { { |
313
|
|
|
|
|
|
|
'Uruguay' => { |
314
|
|
|
|
|
|
|
short => { |
315
|
|
|
|
|
|
|
'daylight' => q#UYST#, |
316
|
|
|
|
|
|
|
'generic' => q#UYT#, |
317
|
|
|
|
|
|
|
'standard' => q#UYT#, |
318
|
|
|
|
|
|
|
}, |
319
|
|
|
|
|
|
|
}, |
320
|
|
|
|
|
|
|
} } |
321
|
|
|
|
|
|
|
); |
322
|
|
|
|
|
|
|
no Moo; |
323
|
1
|
|
|
1
|
|
1116
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
324
|
|
|
|
|
|
|
1; |
325
|
|
|
|
|
|
|
|
326
|
|
|
|
|
|
|
# vim: tabstop=4 |