Es/Latn/Ec.pm

filter: Statementstmt 48.9% 48 / 98 Branchbran 0.0% 0 / 50 Conditioncond 0.0% 0 / 50 MC/DCmcdc 0.0% 0 / 33 Subroutinesub 35.7% 10 / 28 Podpod n/a totaltotal 22.3% 58 / 259 CC 44 SCAR 70.4
CC
44
Cov
24%
__ANON__
1892.0
__ANON__
6.0
__ANON__
2.0
CRAP 1146.6
« Es/Latn/Do.pm ↑ Summary Es/Latn/Pe.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Es::Latn::Ec - Package for language Spanish
6
7 =cut
8
9 package Locale::CLDR::Locales::Es::Latn::Ec;
10 # This file auto generated from Data\common\main\es_EC.xml
11 # on Fri 17 Jan 12:03:31 pm GMT
12
13 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
15 1 ▶use version;
Subroutine BEGIN: called CC=1 SCAR=0.0
16
17 1 our $VERSION = version->declare('v0.46.0');
18
19 1 ▶use v5.12.0;
Subroutine BEGIN: called CC=1 SCAR=0.0
20 1 ▶use mro 'c3';
Subroutine BEGIN: called CC=1 SCAR=0.0
21 1 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
22 1 ▶use feature 'unicode_strings';
Subroutine BEGIN: called CC=1 SCAR=0.0
23 1 ▶use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
Subroutine BEGIN: called CC=1 SCAR=0.0
24 1 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
25
26 1 extends('Locale::CLDR::Locales::Es::Latn::419');
27 has 'display_name_language' => (
28 is => 'ro',
29 isa => CodeRef,
30 init_arg => undef,
31 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
32 0 ▶ sub {
Subroutine __ANON__: not called CC=2 SCAR=17.9
33 0 my %languages = (
34 'ace' => 'acehnés',
35 'arp' => 'arapaho',
36 'bho' => 'bhojpuri',
37 'eu' => 'euskera',
38 'grc' => 'griego antiguo',
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 0 ▶ if (@_) {
Branch: 1 branch
BranchTrueFalseTotal
if (@_) 0 0 0
50 0 return $languages{$_[0]};
51 }
52 0 return \%languages;
53 }
54 0 },
55 1 );
56
57 has 'display_name_region' => (
58 is => 'ro',
59 isa => HashRef[Str],
60 init_arg => undef,
61 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
62 {
63 0 'BA' => 'Bosnia y Herzegovina',
64 'GB@alt=short' => 'RU',
65 'TL' => 'Timor-Leste',
66 'UM' => 'Islas menores alejadas de EE. UU.',
67
68 }
69 },
70 1 );
71
72 has 'number_symbols' => (
73 is => 'ro',
74 isa => HashRef,
75 init_arg => undef,
76 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
77 0 'latn' => {
78 'decimal' => q(,),
79 'group' => q(.),
80 },
81 } }
82 1 );
83
84 has 'number_currency_formats' => (
85 is => 'ro',
86 isa => HashRef,
87 init_arg => undef,
88 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
89 0 'latn' => {
90 'pattern' => {
91 'default' => {
92 'standard' => {
93 'negative' => '¤-#,##0.00',
94 'positive' => '¤#,##0.00',
95 },
96 },
97 },
98 },
99 } },
100 1 );
101
102 has 'currencies' => (
103 is => 'ro',
104 isa => HashRef,
105 init_arg => undef,
106 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
107 0 'USD' => {
108 symbol => '$',
109 },
110 } },
111 1 );
112
113
114 has 'day_period_data' => (
115 is => 'ro',
116 isa => CodeRef,
117 init_arg => undef,
118 0 ▶ default => sub { sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
Subroutine __ANON__: not called CC=43 SCAR=75.5
119 # Time in hhmm format
120 0 my ($self, $type, $time, $day_period_type) = @_;
121 0 ▶ $day_period_type //= 'default';
Condition0%0/2
$day_period_type //= "default"
l!l
00
MC/DC0%0/1
$day_period_type //= "default"
$day_period_type
Truth table0%0/2
A
A= $day_period_type
Aresult
11
00
122 SWITCH:
123 0 for ($type) {
124 0 ▶ if ($_ eq 'generic') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "generic") 0 0 0
125 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
126 0 ▶ return 'noon' if $time == 1200;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 1200 0 0 0
127 0 ▶ return 'evening1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 2000 0 0 0
Condition0%0/3
$time >= 1200 and $time < 2000
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 2000
$time >= 1200 $time < 2000
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 2000
ABresult
0X0
100
111
128 && $time < 2000;
129 0 ▶ return 'morning1' if $time >= 0
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 0 and $time < 600 0 0 0
Condition0%0/3
$time >= 0 and $time < 600
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 0 and $time < 600
$time >= 0 $time < 600
Truth table0%0/3
A and B
A= $time >= 0B= $time < 600
ABresult
0X0
100
111
130 && $time < 600;
131 0 ▶ return 'morning2' if $time >= 600
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 600 and $time < 1200 0 0 0
Condition0%0/3
$time >= 600 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 600 and $time < 1200
$time >= 600 $time < 1200
Truth table0%0/3
A and B
A= $time >= 600B= $time < 1200
ABresult
0X0
100
111
132 && $time < 1200;
133 0 ▶ return 'night1' if $time >= 2000
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 2000 and $time < 2400 0 0 0
Condition0%0/3
$time >= 2000 and $time < 2400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 2000 and $time < 2400
$time >= 2000 $time < 2400
Truth table0%0/3
A and B
A= $time >= 2000B= $time < 2400
ABresult
0X0
100
111
134 && $time < 2400;
135 }
136 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
137 0 ▶ return 'evening1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 2000 0 0 0
Condition0%0/3
$time >= 1200 and $time < 2000
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 2000
$time >= 1200 $time < 2000
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 2000
ABresult
0X0
100
111
138 && $time < 2000;
139 0 ▶ return 'morning1' if $time >= 0
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 0 and $time < 600 0 0 0
Condition0%0/3
$time >= 0 and $time < 600
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 0 and $time < 600
$time >= 0 $time < 600
Truth table0%0/3
A and B
A= $time >= 0B= $time < 600
ABresult
0X0
100
111
140 && $time < 600;
141 0 ▶ return 'morning2' if $time >= 600
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 600 and $time < 1200 0 0 0
Condition0%0/3
$time >= 600 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 600 and $time < 1200
$time >= 600 $time < 1200
Truth table0%0/3
A and B
A= $time >= 600B= $time < 1200
ABresult
0X0
100
111
142 && $time < 1200;
143 0 ▶ return 'night1' if $time >= 2000
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 2000 and $time < 2400 0 0 0
Condition0%0/3
$time >= 2000 and $time < 2400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 2000 and $time < 2400
$time >= 2000 $time < 2400
Truth table0%0/3
A and B
A= $time >= 2000B= $time < 2400
ABresult
0X0
100
111
144 && $time < 2400;
145 }
146 0 last SWITCH;
147 }
148 0 ▶ if ($_ eq 'gregorian') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "gregorian") 0 0 0
149 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
150 0 ▶ return 'noon' if $time == 1200;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 1200 0 0 0
151 0 ▶ return 'evening1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 2000 0 0 0
Condition0%0/3
$time >= 1200 and $time < 2000
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 2000
$time >= 1200 $time < 2000
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 2000
ABresult
0X0
100
111
152 && $time < 2000;
153 0 ▶ return 'morning1' if $time >= 0
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 0 and $time < 600 0 0 0
Condition0%0/3
$time >= 0 and $time < 600
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 0 and $time < 600
$time >= 0 $time < 600
Truth table0%0/3
A and B
A= $time >= 0B= $time < 600
ABresult
0X0
100
111
154 && $time < 600;
155 0 ▶ return 'morning2' if $time >= 600
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 600 and $time < 1200 0 0 0
Condition0%0/3
$time >= 600 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 600 and $time < 1200
$time >= 600 $time < 1200
Truth table0%0/3
A and B
A= $time >= 600B= $time < 1200
ABresult
0X0
100
111
156 && $time < 1200;
157 0 ▶ return 'night1' if $time >= 2000
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 2000 and $time < 2400 0 0 0
Condition0%0/3
$time >= 2000 and $time < 2400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 2000 and $time < 2400
$time >= 2000 $time < 2400
Truth table0%0/3
A and B
A= $time >= 2000B= $time < 2400
ABresult
0X0
100
111
158 && $time < 2400;
159 }
160 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
161 0 ▶ return 'evening1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 2000 0 0 0
Condition0%0/3
$time >= 1200 and $time < 2000
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 2000
$time >= 1200 $time < 2000
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 2000
ABresult
0X0
100
111
162 && $time < 2000;
163 0 ▶ return 'morning1' if $time >= 0
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 0 and $time < 600 0 0 0
Condition0%0/3
$time >= 0 and $time < 600
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 0 and $time < 600
$time >= 0 $time < 600
Truth table0%0/3
A and B
A= $time >= 0B= $time < 600
ABresult
0X0
100
111
164 && $time < 600;
165 0 ▶ return 'morning2' if $time >= 600
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 600 and $time < 1200 0 0 0
Condition0%0/3
$time >= 600 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 600 and $time < 1200
$time >= 600 $time < 1200
Truth table0%0/3
A and B
A= $time >= 600B= $time < 1200
ABresult
0X0
100
111
166 && $time < 1200;
167 0 ▶ return 'night1' if $time >= 2000
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 2000 and $time < 2400 0 0 0
Condition0%0/3
$time >= 2000 and $time < 2400
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 2000 and $time < 2400
$time >= 2000 $time < 2400
Truth table0%0/3
A and B
A= $time >= 2000B= $time < 2400
ABresult
0X0
100
111
168 && $time < 2400;
169 }
170 0 last SWITCH;
171 }
172 }
173 0 } },
174 1 );
175
176 0 ▶around day_period_data => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
177 0 my ($orig, $self) = @_;
178 0 return $self->$orig;
179 1 };
180
181 has 'day_periods' => (
182 is => 'ro',
183 isa => HashRef,
184 init_arg => undef,
185 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
186 0 'gregorian' => {
187 'format' => {
188 'abbreviated' => {
189 'am' => q{a. m.},
190 'pm' => q{p. m.},
191 },
192 'wide' => {
193 'am' => q{a. m.},
194 'pm' => q{p. m.},
195 },
196 },
197 'stand-alone' => {
198 'abbreviated' => {
199 'am' => q{a. m.},
200 'pm' => q{p. m.},
201 },
202 'narrow' => {
203 'am' => q{a. m.},
204 'pm' => q{p. m.},
205 },
206 'wide' => {
207 'am' => q{a. m.},
208 'pm' => q{p. m.},
209 },
210 },
211 },
212 } },
213 1 );
214
215 has 'eras' => (
216 is => 'ro',
217 isa => HashRef,
218 init_arg => undef,
219 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
220 0 'generic' => {
221 },
222 'gregorian' => {
223 },
224 } },
225 1 );
226
227 has 'date_formats' => (
228 is => 'ro',
229 isa => HashRef,
230 init_arg => undef,
231 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
232 0 'generic' => {
233 },
234 'gregorian' => {
235 },
236 } },
237 1 );
238
239 has 'time_formats' => (
240 is => 'ro',
241 isa => HashRef,
242 init_arg => undef,
243 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
244 0 'generic' => {
245 },
246 'gregorian' => {
247 },
248 } },
249 1 );
250
251 has 'datetime_formats' => (
252 is => 'ro',
253 isa => HashRef,
254 init_arg => undef,
255 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
256 0 'generic' => {
257 },
258 'gregorian' => {
259 },
260 } },
261 1 );
262
263 has 'datetime_formats_available_formats' => (
264 is => 'ro',
265 isa => HashRef,
266 init_arg => undef,
267 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
268 0 } },
269 1 );
270
271 has 'datetime_formats_append_item' => (
272 is => 'ro',
273 isa => HashRef,
274 init_arg => undef,
275 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
276 0 } },
277 1 );
278
279 has 'datetime_formats_interval' => (
280 is => 'ro',
281 isa => HashRef,
282 init_arg => undef,
283 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
284 0 'generic' => {
285 H => {
286 H => q{H–H},
287 },
288 Hm => {
289 H => q{H:mm–H:mm},
290 m => q{H:mm–H:mm},
291 },
292 Hmv => {
293 H => q{H:mm–H:mm v},
294 m => q{H:mm–H:mm v},
295 },
296 Hv => {
297 H => q{H–H v},
298 },
299 MEd => {
300 M => q{E dd/MM – E dd/MM},
301 d => q{E dd/MM – E dd/MM},
302 },
303 MMMEd => {
304 M => q{E d 'de' MMM 'al' E d 'de' MMM},
305 d => q{E d 'al' E d 'de' MMM},
306 },
307 MMMd => {
308 M => q{d 'de' MMM 'al' d 'de' MMM},
309 },
310 Md => {
311 M => q{dd/MM – dd/MM},
312 d => q{dd/MM – dd/MM},
313 },
314 fallback => '{0} a el {1}',
315 hm => {
316 h => q{h:mm–h:mm a},
317 m => q{h:mm–h:mm a},
318 },
319 hmv => {
320 h => q{h:mm–h:mm a v},
321 m => q{h:mm–h:mm a v},
322 },
323 y => {
324 y => q{y–y},
325 },
326 yM => {
327 M => q{MM/y – MM/y},
328 y => q{MM/y – MM/y},
329 },
330 yMEd => {
331 M => q{E dd/MM/y – E dd/MM/y},
332 d => q{E dd/MM/y – E dd/MM/y},
333 y => q{E dd/MM/y – E dd/MM/y},
334 },
335 yMMM => {
336 M => q{MMM–MMM 'de' y},
337 y => q{MMM 'de' y 'a' MMM 'de' y},
338 },
339 yMMMEd => {
340 M => q{E d 'de' MMM 'al' E d 'de' MMM 'de' y},
341 d => q{E d 'al' E d 'de' MMM 'de' y},
342 y => q{E d 'de' MMM 'de' y 'al' E d 'de' MMM 'de' y},
343 },
344 yMMMd => {
345 M => q{d 'de' MMM 'al' d 'de' MMM 'de' y},
346 d => q{d–d 'de' MMM 'de' y},
347 y => q{d 'de' MMM 'de' y 'al' d 'de' MMM 'de' y},
348 },
349 yMd => {
350 M => q{dd/MM/y – dd/MM/y},
351 d => q{dd/MM/y – dd/MM/y},
352 y => q{dd/MM/y – dd/MM/y},
353 },
354 },
355 'gregorian' => {
356 MEd => {
357 M => q{E dd/MM – E dd/MM},
358 d => q{E dd/MM – E dd/MM},
359 },
360 MMMEd => {
361 M => q{E d 'de' MMM 'al' E d 'de' MMM},
362 d => q{E d 'al' E d 'de' MMM},
363 },
364 MMMd => {
365 M => q{d 'de' MMM 'al' d 'de' MMM},
366 },
367 Md => {
368 M => q{dd/MM – dd/MM},
369 d => q{dd/MM – dd/MM},
370 },
371 fallback => '{0} a el {1}',
372 hm => {
373 h => q{h:mm–h:mm a},
374 m => q{h:mm–h:mm a},
375 },
376 yM => {
377 M => q{MM/y – MM/y},
378 y => q{MM/y – MM/y},
379 },
380 yMEd => {
381 M => q{E dd/MM/y – E dd/MM/y},
382 d => q{E dd/MM/y – E dd/MM/y},
383 y => q{E dd/MM/y – E dd/MM/y},
384 },
385 yMMM => {
386 y => q{MMM 'de' y 'a' MMM 'de' y},
387 },
388 yMMMEd => {
389 M => q{E d 'de' MMM 'al' E d 'de' MMM 'de' y},
390 d => q{E d 'al' E d 'de' MMM 'de' y},
391 y => q{E d 'de' MMM 'de' y 'al' E d 'de' MMM 'de' y},
392 },
393 yMMMd => {
394 M => q{d 'de' MMM 'al' d 'de' MMM 'de' y},
395 y => q{d 'de' MMM 'de' y 'al' d 'de' MMM 'de' y},
396 },
397 yMd => {
398 M => q{dd/MM/y – dd/MM/y},
399 d => q{dd/MM/y – dd/MM/y},
400 y => q{dd/MM/y – dd/MM/y},
401 },
402 },
403 } },
404 1 );
405
406 has 'time_zone_names' => (
407 is => 'ro',
408 isa => HashRef,
409 init_arg => undef,
410 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
411 0 'Ecuador' => {
412 short => {
413 'standard' => q#ECT#,
414 },
415 },
416 } }
417 1 );
418 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
419
420 1 1;
421
422 # vim: tabstop=4
« Es/Latn/Do.pm ↑ Summary Es/Latn/Pe.pm »