line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
=encoding utf8 |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=head1 |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
Locale::CLDR::Locales::Es::Any::Sv - Package for language Spanish |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=cut |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
package Locale::CLDR::Locales::Es::Any::Sv; |
10
|
|
|
|
|
|
|
# This file auto generated from Data\common\main\es_SV.xml |
11
|
|
|
|
|
|
|
# on Sun 16 Dec 4:14:01 pm GMT |
12
|
|
|
|
|
|
|
|
13
|
1
|
|
|
1
|
|
1016
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
26
|
|
14
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
24
|
|
15
|
1
|
|
|
1
|
|
5
|
use version; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
our $VERSION = version->declare('v0.34.0'); |
18
|
|
|
|
|
|
|
|
19
|
1
|
|
|
1
|
|
93
|
use v5.10.1; |
|
1
|
|
|
|
|
4
|
|
20
|
1
|
|
|
1
|
|
4
|
use mro 'c3'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
21
|
1
|
|
|
1
|
|
22
|
use utf8; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
6
|
|
22
|
1
|
|
|
1
|
|
38
|
use if $^V ge v5.12.0, feature => 'unicode_strings'; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
11
|
|
23
|
1
|
|
|
1
|
|
97
|
use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef ); |
|
1
|
|
|
|
|
8
|
|
|
1
|
|
|
|
|
10
|
|
24
|
1
|
|
|
1
|
|
936
|
use Moo; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
extends('Locale::CLDR::Locales::Es::Any::419'); |
27
|
|
|
|
|
|
|
has 'display_name_language' => ( |
28
|
|
|
|
|
|
|
is => 'ro', |
29
|
|
|
|
|
|
|
isa => CodeRef, |
30
|
|
|
|
|
|
|
init_arg => undef, |
31
|
|
|
|
|
|
|
default => sub { |
32
|
|
|
|
|
|
|
sub { |
33
|
|
|
|
|
|
|
my %languages = ( |
34
|
|
|
|
|
|
|
'ace' => 'acehnés', |
35
|
|
|
|
|
|
|
'arp' => 'arapaho', |
36
|
|
|
|
|
|
|
'bho' => 'bhojpuri', |
37
|
|
|
|
|
|
|
'grc' => 'griego antiguo', |
38
|
|
|
|
|
|
|
'nso' => 'sotho septentrional', |
39
|
|
|
|
|
|
|
'ss' => 'siswati', |
40
|
|
|
|
|
|
|
'wo' => 'wolof', |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
); |
43
|
|
|
|
|
|
|
if (@_) { |
44
|
|
|
|
|
|
|
return $languages{$_[0]}; |
45
|
|
|
|
|
|
|
} |
46
|
|
|
|
|
|
|
return \%languages; |
47
|
|
|
|
|
|
|
} |
48
|
|
|
|
|
|
|
}, |
49
|
|
|
|
|
|
|
); |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
has 'display_name_region' => ( |
52
|
|
|
|
|
|
|
is => 'ro', |
53
|
|
|
|
|
|
|
isa => HashRef[Str], |
54
|
|
|
|
|
|
|
init_arg => undef, |
55
|
|
|
|
|
|
|
default => sub { |
56
|
|
|
|
|
|
|
{ |
57
|
|
|
|
|
|
|
'UM' => 'Islas menores alejadas de EE. UU.', |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
} |
60
|
|
|
|
|
|
|
}, |
61
|
|
|
|
|
|
|
); |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
has 'currencies' => ( |
64
|
|
|
|
|
|
|
is => 'ro', |
65
|
|
|
|
|
|
|
isa => HashRef, |
66
|
|
|
|
|
|
|
init_arg => undef, |
67
|
|
|
|
|
|
|
default => sub { { |
68
|
|
|
|
|
|
|
'USD' => { |
69
|
|
|
|
|
|
|
symbol => '$', |
70
|
|
|
|
|
|
|
}, |
71
|
|
|
|
|
|
|
} }, |
72
|
|
|
|
|
|
|
); |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
has 'day_period_data' => ( |
76
|
|
|
|
|
|
|
is => 'ro', |
77
|
|
|
|
|
|
|
isa => CodeRef, |
78
|
|
|
|
|
|
|
init_arg => undef, |
79
|
|
|
|
|
|
|
default => sub { sub { |
80
|
|
|
|
|
|
|
# Time in hhmm format |
81
|
|
|
|
|
|
|
my ($self, $type, $time, $day_period_type) = @_; |
82
|
|
|
|
|
|
|
$day_period_type //= 'default'; |
83
|
|
|
|
|
|
|
SWITCH: |
84
|
|
|
|
|
|
|
for ($type) { |
85
|
|
|
|
|
|
|
if ($_ eq 'gregorian') { |
86
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
87
|
|
|
|
|
|
|
return 'noon' if $time == 1200; |
88
|
|
|
|
|
|
|
return 'night1' if $time >= 2000 |
89
|
|
|
|
|
|
|
&& $time < 2400; |
90
|
|
|
|
|
|
|
return 'morning2' if $time >= 600 |
91
|
|
|
|
|
|
|
&& $time < 1200; |
92
|
|
|
|
|
|
|
return 'evening1' if $time >= 1200 |
93
|
|
|
|
|
|
|
&& $time < 2000; |
94
|
|
|
|
|
|
|
return 'morning1' if $time >= 0 |
95
|
|
|
|
|
|
|
&& $time < 600; |
96
|
|
|
|
|
|
|
} |
97
|
|
|
|
|
|
|
if($day_period_type eq 'selection') { |
98
|
|
|
|
|
|
|
return 'morning1' if $time >= 0 |
99
|
|
|
|
|
|
|
&& $time < 600; |
100
|
|
|
|
|
|
|
return 'evening1' if $time >= 1200 |
101
|
|
|
|
|
|
|
&& $time < 2000; |
102
|
|
|
|
|
|
|
return 'morning2' if $time >= 600 |
103
|
|
|
|
|
|
|
&& $time < 1200; |
104
|
|
|
|
|
|
|
return 'night1' if $time >= 2000 |
105
|
|
|
|
|
|
|
&& $time < 2400; |
106
|
|
|
|
|
|
|
} |
107
|
|
|
|
|
|
|
last SWITCH; |
108
|
|
|
|
|
|
|
} |
109
|
|
|
|
|
|
|
} |
110
|
|
|
|
|
|
|
} }, |
111
|
|
|
|
|
|
|
); |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
around day_period_data => sub { |
114
|
|
|
|
|
|
|
my ($orig, $self) = @_; |
115
|
|
|
|
|
|
|
return $self->$orig; |
116
|
|
|
|
|
|
|
}; |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
has 'day_periods' => ( |
119
|
|
|
|
|
|
|
is => 'ro', |
120
|
|
|
|
|
|
|
isa => HashRef, |
121
|
|
|
|
|
|
|
init_arg => undef, |
122
|
|
|
|
|
|
|
default => sub { { |
123
|
|
|
|
|
|
|
'gregorian' => { |
124
|
|
|
|
|
|
|
'format' => { |
125
|
|
|
|
|
|
|
'abbreviated' => { |
126
|
|
|
|
|
|
|
'pm' => q{p. m.}, |
127
|
|
|
|
|
|
|
'am' => q{a. m.}, |
128
|
|
|
|
|
|
|
}, |
129
|
|
|
|
|
|
|
'wide' => { |
130
|
|
|
|
|
|
|
'am' => q{a. m.}, |
131
|
|
|
|
|
|
|
'pm' => q{p. m.}, |
132
|
|
|
|
|
|
|
}, |
133
|
|
|
|
|
|
|
}, |
134
|
|
|
|
|
|
|
'stand-alone' => { |
135
|
|
|
|
|
|
|
'abbreviated' => { |
136
|
|
|
|
|
|
|
'am' => q{a. m.}, |
137
|
|
|
|
|
|
|
'pm' => q{p. m.}, |
138
|
|
|
|
|
|
|
}, |
139
|
|
|
|
|
|
|
'wide' => { |
140
|
|
|
|
|
|
|
'am' => q{a. m.}, |
141
|
|
|
|
|
|
|
'pm' => q{p. m.}, |
142
|
|
|
|
|
|
|
}, |
143
|
|
|
|
|
|
|
'narrow' => { |
144
|
|
|
|
|
|
|
'pm' => q{p. m.}, |
145
|
|
|
|
|
|
|
'am' => q{a. m.}, |
146
|
|
|
|
|
|
|
}, |
147
|
|
|
|
|
|
|
}, |
148
|
|
|
|
|
|
|
}, |
149
|
|
|
|
|
|
|
} }, |
150
|
|
|
|
|
|
|
); |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
has 'eras' => ( |
153
|
|
|
|
|
|
|
is => 'ro', |
154
|
|
|
|
|
|
|
isa => HashRef, |
155
|
|
|
|
|
|
|
init_arg => undef, |
156
|
|
|
|
|
|
|
default => sub { { |
157
|
|
|
|
|
|
|
'gregorian' => { |
158
|
|
|
|
|
|
|
}, |
159
|
|
|
|
|
|
|
} }, |
160
|
|
|
|
|
|
|
); |
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
has 'date_formats' => ( |
163
|
|
|
|
|
|
|
is => 'ro', |
164
|
|
|
|
|
|
|
isa => HashRef, |
165
|
|
|
|
|
|
|
init_arg => undef, |
166
|
|
|
|
|
|
|
default => sub { { |
167
|
|
|
|
|
|
|
'gregorian' => { |
168
|
|
|
|
|
|
|
}, |
169
|
|
|
|
|
|
|
} }, |
170
|
|
|
|
|
|
|
); |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
has 'time_formats' => ( |
173
|
|
|
|
|
|
|
is => 'ro', |
174
|
|
|
|
|
|
|
isa => HashRef, |
175
|
|
|
|
|
|
|
init_arg => undef, |
176
|
|
|
|
|
|
|
default => sub { { |
177
|
|
|
|
|
|
|
'gregorian' => { |
178
|
|
|
|
|
|
|
}, |
179
|
|
|
|
|
|
|
} }, |
180
|
|
|
|
|
|
|
); |
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
has 'datetime_formats' => ( |
183
|
|
|
|
|
|
|
is => 'ro', |
184
|
|
|
|
|
|
|
isa => HashRef, |
185
|
|
|
|
|
|
|
init_arg => undef, |
186
|
|
|
|
|
|
|
default => sub { { |
187
|
|
|
|
|
|
|
'gregorian' => { |
188
|
|
|
|
|
|
|
}, |
189
|
|
|
|
|
|
|
} }, |
190
|
|
|
|
|
|
|
); |
191
|
|
|
|
|
|
|
|
192
|
|
|
|
|
|
|
has 'datetime_formats_available_formats' => ( |
193
|
|
|
|
|
|
|
is => 'ro', |
194
|
|
|
|
|
|
|
isa => HashRef, |
195
|
|
|
|
|
|
|
init_arg => undef, |
196
|
|
|
|
|
|
|
default => sub { { |
197
|
|
|
|
|
|
|
} }, |
198
|
|
|
|
|
|
|
); |
199
|
|
|
|
|
|
|
|
200
|
|
|
|
|
|
|
has 'datetime_formats_append_item' => ( |
201
|
|
|
|
|
|
|
is => 'ro', |
202
|
|
|
|
|
|
|
isa => HashRef, |
203
|
|
|
|
|
|
|
init_arg => undef, |
204
|
|
|
|
|
|
|
default => sub { { |
205
|
|
|
|
|
|
|
} }, |
206
|
|
|
|
|
|
|
); |
207
|
|
|
|
|
|
|
|
208
|
|
|
|
|
|
|
has 'datetime_formats_interval' => ( |
209
|
|
|
|
|
|
|
is => 'ro', |
210
|
|
|
|
|
|
|
isa => HashRef, |
211
|
|
|
|
|
|
|
init_arg => undef, |
212
|
|
|
|
|
|
|
default => sub { { |
213
|
|
|
|
|
|
|
} }, |
214
|
|
|
|
|
|
|
); |
215
|
|
|
|
|
|
|
|
216
|
1
|
|
|
1
|
|
1082
|
no Moo; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
4
|
|
217
|
|
|
|
|
|
|
|
218
|
|
|
|
|
|
|
1; |
219
|
|
|
|
|
|
|
|
220
|
|
|
|
|
|
|
# vim: tabstop=4 |