Es/Latn/Hn.pm

filter: Statementstmt 48.9% 45 / 92 Branchbran 0.0% 0 / 50 Conditioncond 0.0% 0 / 50 MC/DCmcdc 0.0% 0 / 33 Subroutinesub 40.0% 10 / 25 Podpod n/a totaltotal 22.0% 55 / 250 CC 44 SCAR 70.9
CC
44
Cov
23%
__ANON__
1892.0
__ANON__
6.0
__ANON__
2.0
CRAP 1197.1
« Es/Latn/419.pm ↑ Summary Es/Latn/Gt.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Es::Latn::Hn - Package for language Spanish
6
7 =cut
8
9 package Locale::CLDR::Locales::Es::Latn::Hn;
10 # This file auto generated from Data\common\main\es_HN.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 'currencies' => (
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 'HNL' => {
78 symbol => 'L',
79 },
80 } },
81 1 );
82
83
84 has 'day_period_data' => (
85 is => 'ro',
86 isa => CodeRef,
87 init_arg => undef,
88 0 ▶ default => sub { sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
Subroutine __ANON__: not called CC=43 SCAR=75.5
89 # Time in hhmm format
90 0 my ($self, $type, $time, $day_period_type) = @_;
91 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
92 SWITCH:
93 0 for ($type) {
94 0 ▶ if ($_ eq 'generic') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "generic") 0 0 0
95 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
96 0 ▶ return 'noon' if $time == 1200;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 1200 0 0 0
97 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
98 && $time < 2000;
99 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
100 && $time < 600;
101 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
102 && $time < 1200;
103 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
104 && $time < 2400;
105 }
106 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
107 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
108 && $time < 2000;
109 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
110 && $time < 600;
111 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
112 && $time < 1200;
113 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
114 && $time < 2400;
115 }
116 0 last SWITCH;
117 }
118 0 ▶ if ($_ eq 'gregorian') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "gregorian") 0 0 0
119 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
120 0 ▶ return 'noon' if $time == 1200;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 1200 0 0 0
121 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
122 && $time < 2000;
123 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
124 && $time < 600;
125 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
126 && $time < 1200;
127 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
128 && $time < 2400;
129 }
130 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
131 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
132 && $time < 2000;
133 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
134 && $time < 600;
135 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
136 && $time < 1200;
137 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
138 && $time < 2400;
139 }
140 0 last SWITCH;
141 }
142 }
143 0 } },
144 1 );
145
146 0 ▶around day_period_data => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
147 0 my ($orig, $self) = @_;
148 0 return $self->$orig;
149 1 };
150
151 has 'day_periods' => (
152 is => 'ro',
153 isa => HashRef,
154 init_arg => undef,
155 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
156 0 'gregorian' => {
157 'format' => {
158 'abbreviated' => {
159 'am' => q{a. m.},
160 'pm' => q{p. m.},
161 },
162 'wide' => {
163 'am' => q{a. m.},
164 'pm' => q{p. m.},
165 },
166 },
167 'stand-alone' => {
168 'abbreviated' => {
169 'am' => q{a. m.},
170 'pm' => q{p. m.},
171 },
172 'narrow' => {
173 'am' => q{a. m.},
174 'pm' => q{p. m.},
175 },
176 'wide' => {
177 'am' => q{a. m.},
178 'pm' => q{p. m.},
179 },
180 },
181 },
182 } },
183 1 );
184
185 has 'eras' => (
186 is => 'ro',
187 isa => HashRef,
188 init_arg => undef,
189 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
190 0 'generic' => {
191 },
192 'gregorian' => {
193 },
194 } },
195 1 );
196
197 has 'date_formats' => (
198 is => 'ro',
199 isa => HashRef,
200 init_arg => undef,
201 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
202 0 'generic' => {
203 'full' => q{EEEE dd 'de' MMMM 'de' y G},
204 'long' => q{dd 'de' MMMM 'de' y G},
205 },
206 'gregorian' => {
207 'full' => q{EEEE dd 'de' MMMM 'de' y},
208 'long' => q{dd 'de' MMMM 'de' y},
209 },
210 } },
211 1 );
212
213 has 'time_formats' => (
214 is => 'ro',
215 isa => HashRef,
216 init_arg => undef,
217 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
218 0 'generic' => {
219 },
220 'gregorian' => {
221 },
222 } },
223 1 );
224
225 has 'datetime_formats' => (
226 is => 'ro',
227 isa => HashRef,
228 init_arg => undef,
229 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
230 0 'generic' => {
231 },
232 'gregorian' => {
233 },
234 } },
235 1 );
236
237 has 'datetime_formats_available_formats' => (
238 is => 'ro',
239 isa => HashRef,
240 init_arg => undef,
241 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
242 0 } },
243 1 );
244
245 has 'datetime_formats_append_item' => (
246 is => 'ro',
247 isa => HashRef,
248 init_arg => undef,
249 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
250 0 } },
251 1 );
252
253 has 'datetime_formats_interval' => (
254 is => 'ro',
255 isa => HashRef,
256 init_arg => undef,
257 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
258 0 'generic' => {
259 Hm => {
260 H => q{HH:mm–HH:mm},
261 m => q{HH:mm–HH:mm},
262 },
263 Hmv => {
264 H => q{HH:mm–HH:mm v},
265 m => q{HH:mm–HH:mm v},
266 },
267 MEd => {
268 M => q{E dd/MM – E dd/MM},
269 d => q{E dd/MM – E dd/MM},
270 },
271 MMMEd => {
272 M => q{E dd 'de' MMM 'al' E dd 'de' MMM},
273 d => q{E dd 'al' E dd 'de' MMM},
274 },
275 MMMd => {
276 M => q{dd 'de' MMM 'al' dd 'de' MMM},
277 d => q{dd–dd 'de' MMM},
278 },
279 Md => {
280 M => q{dd/MM – dd/MM},
281 d => q{dd/MM – dd/MM},
282 },
283 fallback => '{0} a el {1}',
284 hm => {
285 h => q{h:mm–h:mm a},
286 m => q{h:mm–h:mm a},
287 },
288 hmv => {
289 h => q{h:mm–h:mm a v},
290 m => q{h:mm–h:mm a v},
291 },
292 y => {
293 y => q{y–y},
294 },
295 yM => {
296 M => q{MM/y – MM/y},
297 y => q{MM/y – MM/y},
298 },
299 yMEd => {
300 M => q{E dd/MM/y – E dd/MM/y},
301 d => q{E dd/MM/y – E dd/MM/y},
302 y => q{E dd/MM/y – E dd/MM/y},
303 },
304 yMMM => {
305 M => q{MMM–MMM 'de' y},
306 y => q{MMM 'de' y 'a' MMM 'de' y},
307 },
308 yMMMEd => {
309 M => q{E dd 'de' MMM 'al' E dd 'de' MMM 'de' y},
310 d => q{E dd 'al' E dd 'de' MMM 'de' y},
311 y => q{E dd 'de' MMM 'de' y 'al' E dd 'de' MMM 'de' y},
312 },
313 yMMMd => {
314 M => q{dd 'de' MMM 'al' dd 'de' MMM 'de' y},
315 d => q{dd–dd 'de' MMM 'de' y},
316 y => q{dd 'de' MMM 'de' y 'al' dd 'de' MMM 'de' y},
317 },
318 yMd => {
319 M => q{dd/MM/y – dd/MM/y},
320 d => q{dd/MM/y – dd/MM/y},
321 y => q{dd/MM/y – dd/MM/y},
322 },
323 },
324 'gregorian' => {
325 Hm => {
326 H => q{HH:mm–HH:mm},
327 m => q{HH:mm–HH:mm},
328 },
329 Hmv => {
330 H => q{HH:mm–HH:mm v},
331 m => q{HH:mm–HH:mm v},
332 },
333 Hv => {
334 H => q{HH–HH v},
335 },
336 MEd => {
337 M => q{E dd/MM – E dd/MM},
338 d => q{E dd/MM – E dd/MM},
339 },
340 MMMEd => {
341 M => q{E dd 'de' MMM 'al' E dd 'de' MMM},
342 d => q{E dd 'al' E dd 'de' MMM},
343 },
344 MMMd => {
345 M => q{dd 'de' MMM 'al' dd 'de' MMM},
346 d => q{dd–dd 'de' MMM},
347 },
348 Md => {
349 M => q{dd/MM – dd/MM},
350 d => q{dd/MM – dd/MM},
351 },
352 fallback => '{0} a el {1}',
353 hm => {
354 h => q{h:mm–h:mm a},
355 m => q{h:mm–h:mm a},
356 },
357 yM => {
358 M => q{MM/y – MM/y},
359 y => q{MM/y – MM/y},
360 },
361 yMEd => {
362 M => q{E dd/MM/y – E dd/MM/y},
363 d => q{E dd/MM/y – E dd/MM/y},
364 y => q{E dd/MM/y – E dd/MM/y},
365 },
366 yMMM => {
367 y => q{MMM 'de' y 'a' MMM 'de' y},
368 },
369 yMMMEd => {
370 M => q{E dd 'de' MMM 'al' E dd 'de' MMM 'de' y},
371 d => q{E dd 'al' E dd 'de' MMM 'de' y},
372 y => q{E dd 'de' MMM 'de' y 'al' E dd 'de' MMM 'de' y},
373 },
374 yMMMd => {
375 M => q{dd 'de' MMM 'al' dd 'de' MMM 'de' y},
376 d => q{dd–dd 'de' MMM 'de' y},
377 y => q{dd 'de' MMM 'de' y 'al' dd 'de' MMM 'de' y},
378 },
379 yMd => {
380 M => q{dd/MM/y – dd/MM/y},
381 d => q{dd/MM/y – dd/MM/y},
382 y => q{dd/MM/y – dd/MM/y},
383 },
384 },
385 } },
386 1 );
387
388 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
389
390 1 1;
391
392 # vim: tabstop=4
« Es/Latn/419.pm ↑ Summary Es/Latn/Gt.pm »