line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
=head1 |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
Locale::CLDR::Locales::Es::Any::Us - Package for language Spanish |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
=cut |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
package Locale::CLDR::Locales::Es::Any::Us; |
8
|
|
|
|
|
|
|
# This file auto generated from Data\common\main\es_US.xml |
9
|
|
|
|
|
|
|
# on Sun 24 Apr 8:25:48 am GMT |
10
|
|
|
|
|
|
|
|
11
|
1
|
|
|
1
|
|
1647
|
use version; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
10
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
our $VERSION = version->declare('v0.29.0'); |
14
|
|
|
|
|
|
|
|
15
|
1
|
|
|
1
|
|
132
|
use v5.10.1; |
|
1
|
|
|
|
|
4
|
|
16
|
1
|
|
|
1
|
|
6
|
use mro 'c3'; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
10
|
|
17
|
1
|
|
|
1
|
|
72
|
use utf8; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
12
|
|
18
|
1
|
|
|
1
|
|
47
|
use if $^V ge v5.12.0, feature => 'unicode_strings'; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
20
|
|
19
|
|
|
|
|
|
|
|
20
|
1
|
|
|
1
|
|
186
|
use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef ); |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
12
|
|
21
|
1
|
|
|
1
|
|
1189
|
use Moo; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
10
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
extends('Locale::CLDR::Locales::Es::Any::419'); |
24
|
|
|
|
|
|
|
has 'units' => ( |
25
|
|
|
|
|
|
|
is => 'ro', |
26
|
|
|
|
|
|
|
isa => HashRef[HashRef[HashRef[Str]]], |
27
|
|
|
|
|
|
|
init_arg => undef, |
28
|
|
|
|
|
|
|
default => sub { { |
29
|
|
|
|
|
|
|
'narrow' => { |
30
|
|
|
|
|
|
|
'fahrenheit' => { |
31
|
|
|
|
|
|
|
'one' => q({0}°), |
32
|
|
|
|
|
|
|
'other' => q({0}°), |
33
|
|
|
|
|
|
|
}, |
34
|
|
|
|
|
|
|
}, |
35
|
|
|
|
|
|
|
} } |
36
|
|
|
|
|
|
|
); |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
has 'currencies' => ( |
39
|
|
|
|
|
|
|
is => 'ro', |
40
|
|
|
|
|
|
|
isa => HashRef, |
41
|
|
|
|
|
|
|
init_arg => undef, |
42
|
|
|
|
|
|
|
default => sub { { |
43
|
|
|
|
|
|
|
'JPY' => { |
44
|
|
|
|
|
|
|
symbol => 'Â¥', |
45
|
|
|
|
|
|
|
}, |
46
|
|
|
|
|
|
|
'USD' => { |
47
|
|
|
|
|
|
|
symbol => '$', |
48
|
|
|
|
|
|
|
}, |
49
|
|
|
|
|
|
|
} }, |
50
|
|
|
|
|
|
|
); |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
has 'day_period_data' => ( |
54
|
|
|
|
|
|
|
is => 'ro', |
55
|
|
|
|
|
|
|
isa => CodeRef, |
56
|
|
|
|
|
|
|
init_arg => undef, |
57
|
|
|
|
|
|
|
default => sub { sub { |
58
|
|
|
|
|
|
|
# Time in hhmm format |
59
|
|
|
|
|
|
|
my ($self, $type, $time, $day_period_type) = @_; |
60
|
|
|
|
|
|
|
$day_period_type //= 'default'; |
61
|
|
|
|
|
|
|
SWITCH: |
62
|
|
|
|
|
|
|
for ($type) { |
63
|
|
|
|
|
|
|
if ($_ eq 'gregorian') { |
64
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
65
|
|
|
|
|
|
|
return 'noon' if $time == 1200; |
66
|
|
|
|
|
|
|
return 'evening1' if $time >= 1200 |
67
|
|
|
|
|
|
|
&& $time < 2000; |
68
|
|
|
|
|
|
|
return 'night1' if $time >= 2000 |
69
|
|
|
|
|
|
|
&& $time < 2400; |
70
|
|
|
|
|
|
|
return 'morning2' if $time >= 600 |
71
|
|
|
|
|
|
|
&& $time < 1200; |
72
|
|
|
|
|
|
|
return 'morning1' if $time >= 0 |
73
|
|
|
|
|
|
|
&& $time < 600; |
74
|
|
|
|
|
|
|
} |
75
|
|
|
|
|
|
|
if($day_period_type eq 'selection') { |
76
|
|
|
|
|
|
|
return 'night1' if $time >= 2000 |
77
|
|
|
|
|
|
|
&& $time < 2400; |
78
|
|
|
|
|
|
|
return 'morning2' if $time >= 600 |
79
|
|
|
|
|
|
|
&& $time < 1200; |
80
|
|
|
|
|
|
|
return 'morning1' if $time >= 0 |
81
|
|
|
|
|
|
|
&& $time < 600; |
82
|
|
|
|
|
|
|
return 'evening1' if $time >= 1200 |
83
|
|
|
|
|
|
|
&& $time < 2000; |
84
|
|
|
|
|
|
|
} |
85
|
|
|
|
|
|
|
last SWITCH; |
86
|
|
|
|
|
|
|
} |
87
|
|
|
|
|
|
|
} |
88
|
|
|
|
|
|
|
} }, |
89
|
|
|
|
|
|
|
); |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
around day_period_data => sub { |
92
|
|
|
|
|
|
|
my ($orig, $self) = @_; |
93
|
|
|
|
|
|
|
return $self->$orig; |
94
|
|
|
|
|
|
|
}; |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
has 'day_periods' => ( |
97
|
|
|
|
|
|
|
is => 'ro', |
98
|
|
|
|
|
|
|
isa => HashRef, |
99
|
|
|
|
|
|
|
init_arg => undef, |
100
|
|
|
|
|
|
|
default => sub { { |
101
|
|
|
|
|
|
|
'gregorian' => { |
102
|
|
|
|
|
|
|
'format' => { |
103
|
|
|
|
|
|
|
'wide' => { |
104
|
|
|
|
|
|
|
'am' => q{AM}, |
105
|
|
|
|
|
|
|
'pm' => q{PM}, |
106
|
|
|
|
|
|
|
}, |
107
|
|
|
|
|
|
|
'narrow' => { |
108
|
|
|
|
|
|
|
'am' => q{a}, |
109
|
|
|
|
|
|
|
'pm' => q{p}, |
110
|
|
|
|
|
|
|
}, |
111
|
|
|
|
|
|
|
}, |
112
|
|
|
|
|
|
|
}, |
113
|
|
|
|
|
|
|
} }, |
114
|
|
|
|
|
|
|
); |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
has 'eras' => ( |
117
|
|
|
|
|
|
|
is => 'ro', |
118
|
|
|
|
|
|
|
isa => HashRef, |
119
|
|
|
|
|
|
|
init_arg => undef, |
120
|
|
|
|
|
|
|
default => sub { { |
121
|
|
|
|
|
|
|
'gregorian' => { |
122
|
|
|
|
|
|
|
}, |
123
|
|
|
|
|
|
|
} }, |
124
|
|
|
|
|
|
|
); |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
has 'date_formats' => ( |
127
|
|
|
|
|
|
|
is => 'ro', |
128
|
|
|
|
|
|
|
isa => HashRef, |
129
|
|
|
|
|
|
|
init_arg => undef, |
130
|
|
|
|
|
|
|
default => sub { { |
131
|
|
|
|
|
|
|
'gregorian' => { |
132
|
|
|
|
|
|
|
}, |
133
|
|
|
|
|
|
|
} }, |
134
|
|
|
|
|
|
|
); |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
has 'time_formats' => ( |
137
|
|
|
|
|
|
|
is => 'ro', |
138
|
|
|
|
|
|
|
isa => HashRef, |
139
|
|
|
|
|
|
|
init_arg => undef, |
140
|
|
|
|
|
|
|
default => sub { { |
141
|
|
|
|
|
|
|
'gregorian' => { |
142
|
|
|
|
|
|
|
'full' => q{h:mm:ss a zzzz}, |
143
|
|
|
|
|
|
|
'long' => q{h:mm:ss a z}, |
144
|
|
|
|
|
|
|
'medium' => q{h:mm:ss a}, |
145
|
|
|
|
|
|
|
'short' => q{h:mm a}, |
146
|
|
|
|
|
|
|
}, |
147
|
|
|
|
|
|
|
} }, |
148
|
|
|
|
|
|
|
); |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
has 'datetime_formats' => ( |
151
|
|
|
|
|
|
|
is => 'ro', |
152
|
|
|
|
|
|
|
isa => HashRef, |
153
|
|
|
|
|
|
|
init_arg => undef, |
154
|
|
|
|
|
|
|
default => sub { { |
155
|
|
|
|
|
|
|
'gregorian' => { |
156
|
|
|
|
|
|
|
}, |
157
|
|
|
|
|
|
|
} }, |
158
|
|
|
|
|
|
|
); |
159
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
has 'datetime_formats_available_formats' => ( |
161
|
|
|
|
|
|
|
is => 'ro', |
162
|
|
|
|
|
|
|
isa => HashRef, |
163
|
|
|
|
|
|
|
init_arg => undef, |
164
|
|
|
|
|
|
|
default => sub { { |
165
|
|
|
|
|
|
|
} }, |
166
|
|
|
|
|
|
|
); |
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
has 'datetime_formats_append_item' => ( |
169
|
|
|
|
|
|
|
is => 'ro', |
170
|
|
|
|
|
|
|
isa => HashRef, |
171
|
|
|
|
|
|
|
init_arg => undef, |
172
|
|
|
|
|
|
|
default => sub { { |
173
|
|
|
|
|
|
|
} }, |
174
|
|
|
|
|
|
|
); |
175
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
has 'datetime_formats_interval' => ( |
177
|
|
|
|
|
|
|
is => 'ro', |
178
|
|
|
|
|
|
|
isa => HashRef, |
179
|
|
|
|
|
|
|
init_arg => undef, |
180
|
|
|
|
|
|
|
default => sub { { |
181
|
|
|
|
|
|
|
} }, |
182
|
|
|
|
|
|
|
); |
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
has 'time_zone_names' => ( |
185
|
|
|
|
|
|
|
is => 'ro', |
186
|
|
|
|
|
|
|
isa => HashRef, |
187
|
|
|
|
|
|
|
init_arg => undef, |
188
|
|
|
|
|
|
|
default => sub { { |
189
|
|
|
|
|
|
|
'Alaska' => { |
190
|
|
|
|
|
|
|
short => { |
191
|
|
|
|
|
|
|
'daylight' => q(AKDT), |
192
|
|
|
|
|
|
|
'generic' => q(AKT), |
193
|
|
|
|
|
|
|
'standard' => q(AKST), |
194
|
|
|
|
|
|
|
}, |
195
|
|
|
|
|
|
|
}, |
196
|
|
|
|
|
|
|
'America_Central' => { |
197
|
|
|
|
|
|
|
short => { |
198
|
|
|
|
|
|
|
'daylight' => q(CDT), |
199
|
|
|
|
|
|
|
'generic' => q(CT), |
200
|
|
|
|
|
|
|
'standard' => q(CST), |
201
|
|
|
|
|
|
|
}, |
202
|
|
|
|
|
|
|
}, |
203
|
|
|
|
|
|
|
'America_Eastern' => { |
204
|
|
|
|
|
|
|
short => { |
205
|
|
|
|
|
|
|
'daylight' => q(EDT), |
206
|
|
|
|
|
|
|
'generic' => q(ET), |
207
|
|
|
|
|
|
|
'standard' => q(EST), |
208
|
|
|
|
|
|
|
}, |
209
|
|
|
|
|
|
|
}, |
210
|
|
|
|
|
|
|
'America_Mountain' => { |
211
|
|
|
|
|
|
|
short => { |
212
|
|
|
|
|
|
|
'daylight' => q(MDT), |
213
|
|
|
|
|
|
|
'generic' => q(MT), |
214
|
|
|
|
|
|
|
'standard' => q(MST), |
215
|
|
|
|
|
|
|
}, |
216
|
|
|
|
|
|
|
}, |
217
|
|
|
|
|
|
|
'America_Pacific' => { |
218
|
|
|
|
|
|
|
short => { |
219
|
|
|
|
|
|
|
'daylight' => q(PDT), |
220
|
|
|
|
|
|
|
'generic' => q(PT), |
221
|
|
|
|
|
|
|
'standard' => q(PST), |
222
|
|
|
|
|
|
|
}, |
223
|
|
|
|
|
|
|
}, |
224
|
|
|
|
|
|
|
'Atlantic' => { |
225
|
|
|
|
|
|
|
short => { |
226
|
|
|
|
|
|
|
'daylight' => q(ADT), |
227
|
|
|
|
|
|
|
'generic' => q(AT), |
228
|
|
|
|
|
|
|
'standard' => q(AST), |
229
|
|
|
|
|
|
|
}, |
230
|
|
|
|
|
|
|
}, |
231
|
|
|
|
|
|
|
'Hawaii_Aleutian' => { |
232
|
|
|
|
|
|
|
short => { |
233
|
|
|
|
|
|
|
'daylight' => q(HADT), |
234
|
|
|
|
|
|
|
'generic' => q(HAT), |
235
|
|
|
|
|
|
|
'standard' => q(HAST), |
236
|
|
|
|
|
|
|
}, |
237
|
|
|
|
|
|
|
}, |
238
|
|
|
|
|
|
|
'Pacific/Honolulu' => { |
239
|
|
|
|
|
|
|
short => { |
240
|
|
|
|
|
|
|
'daylight' => q(HDT), |
241
|
|
|
|
|
|
|
'generic' => q(HST), |
242
|
|
|
|
|
|
|
'standard' => q(HST), |
243
|
|
|
|
|
|
|
}, |
244
|
|
|
|
|
|
|
}, |
245
|
|
|
|
|
|
|
} } |
246
|
|
|
|
|
|
|
); |
247
|
1
|
|
|
1
|
|
4098
|
no Moo; |
|
1
|
|
|
|
|
263
|
|
|
1
|
|
|
|
|
12
|
|
248
|
|
|
|
|
|
|
|
249
|
|
|
|
|
|
|
1; |
250
|
|
|
|
|
|
|
|
251
|
|
|
|
|
|
|
# vim: tabstop=4 |