Es/Latn/Uy.pm

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