Haw.pm

filter: Statementstmt 71.2% 52 / 73 Branchbran 25.0% 1 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 37.9% 11 / 29 Podpod n/a totaltotal 60.3% 64 / 106 CC 2 SCAR 6.4
CC
2
Cov
69%
__ANON__
6.0
__ANON__
2.0
__ANON__
2.0
CRAP 1.9
↑ Summary Haw/Latn.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Haw - Package for language Hawaiian
6
7 =cut
8
9 package Locale::CLDR::Locales::Haw;
10 # This file auto generated from Data\common\main\haw.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::Root');
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 'ar' => 'ʻAlapia',
35 'cy' => 'Wale',
36 'da' => 'Kenemaka',
37 'de' => 'Kelemānia',
38 'el' => 'Helene',
39 'en' => 'Pelekānia',
40 'en_AU' => 'Pelekāne Nū Hōlani',
41 'en_CA' => 'Pelekāne Kanakā',
42 'en_GB' => 'Pelekānia Pekekāne',
43 'en_US' => 'Pelekānia ʻAmelika',
44 'es' => 'Paniolo',
45 'fj' => 'Pīkī',
46 'fr' => 'Palani',
47 'fr_CA' => 'Palani Kanakā',
48 'fr_CH' => 'Kuikilani',
49 'ga' => 'ʻAiliki',
50 'gsw' => 'Kuikilani Kelemānia',
51 'haw' => 'ʻŌlelo Hawaiʻi',
52 'he' => 'Hebera',
53 'it' => 'ʻĪkālia',
54 'ja' => 'Kepanī',
55 'ko' => 'Kōlea',
56 'la' => 'Lākina',
57 'mi' => 'Māori',
58 'nl' => 'Hōlani',
59 'pt' => 'Pukikī',
60 'pt_BR' => 'Pukikī Palakila',
61 'ru' => 'Lūkia',
62 'sm' => 'Kāmoa',
63 'sv' => 'Kuekene',
64 'to' => 'Tonga',
65 'ty' => 'Polapola',
66 'und' => 'ʻIke ʻole ‘ia a kūpono ʻole paha ka ʻōlelo',
67 'vi' => 'Wiekanama',
68 'zh' => 'Pākē',
69 'zh_Hans' => 'Pākē Hoʻomaʻalahi ʻia',
70 'zh_Hant' => 'Pākē Kuʻuna',
71
72 );
73 0 ▶ if (@_) {
Branch: 1 branch
BranchTrueFalseTotal
if (@_) 0 0 0
74 0 return $languages{$_[0]};
75 }
76 0 return \%languages;
77 }
78 0 },
79 1 );
80
81 has 'display_name_region' => (
82 is => 'ro',
83 isa => HashRef[Str],
84 init_arg => undef,
85 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
86 {
87 0 'AU' => 'Nūhōlani',
88 'CA' => 'Kanakā',
89 'CN' => 'Kina',
90 'DE' => 'Kelemānia',
91 'DK' => 'Kenemaka',
92 'ES' => 'Kepania',
93 'FR' => 'Palani',
94 'GB' => 'Aupuni Mōʻī Hui Pū ʻIa',
95 'GR' => 'Helene',
96 'IE' => 'ʻIlelani',
97 'IL' => 'ʻIseraʻela',
98 'IN' => 'ʻĪnia',
99 'IT' => 'ʻĪkālia',
100 'JP' => 'Iāpana',
101 'MX' => 'Mekiko',
102 'NL' => 'Hōlani',
103 'NZ' => 'Aotearoa',
104 'PH' => 'ʻĀina Pilipino',
105 'RU' => 'Lūkia',
106 'US' => 'ʻAmelika Hui Pū ʻIa',
107
108 }
109 },
110 1 );
111
112 has 'display_name_measurement_system' => (
113 is => 'ro',
114 isa => HashRef[Str],
115 init_arg => undef,
116 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
117 {
118 0 'metric' => q{Mekalika},
119 'US' => q{ʻAmelika Hui Pū ʻIa},
120
121 }
122 },
123 1 );
124
125 has 'characters' => (
126 is => 'ro',
127 isa => HashRef,
128 init_arg => undef,
129 default => $^V ge v5.18.0
130 ? eval <<'EOT'
131 sub {
132 no warnings 'experimental::regex_sets';
133 return {
134 auxiliary => qr{[b c d f g j q r s t v x y z]},
135 index => ['A', 'E', 'I', 'O', 'U', 'B', 'C', 'D', 'F', 'G', 'H', 'J', 'K', 'L', 'M', 'N', 'P', 'Q', 'R', 'S', 'T', 'V', 'W', 'ʻ', 'X', 'Y', 'Z'],
136 main => qr{[aā eē iī oō uū h k l m n p w ʻ]},
137 };
138 },
139 EOT
140 0 ▶: sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
141 0 return { index => ['A', 'E', 'I', 'O', 'U', 'B', 'C', 'D', 'F', 'G', 'H', 'J', 'K', 'L', 'M', 'N', 'P', 'Q', 'R', 'S', 'T', 'V', 'W', 'ʻ', 'X', 'Y', 'Z'], };
142 },
143 1 ▶);
Subroutine BEGIN: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
$^V ge v5.18.0 ? : 1 0 1
144
145
146 has 'units' => (
147 is => 'ro',
148 isa => HashRef[HashRef[HashRef[Str]]],
149 init_arg => undef,
150 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
151 0 'long' => {
152 # Long Unit Identifier
153 'duration-day' => {
154 'one' => q({0} lā),
155 'other' => q({0} lā),
156 },
157 # Core Unit Identifier
158 'day' => {
159 'one' => q({0} lā),
160 'other' => q({0} lā),
161 },
162 # Long Unit Identifier
163 'duration-hour' => {
164 'one' => q({0} hola),
165 'other' => q({0} hola),
166 },
167 # Core Unit Identifier
168 'hour' => {
169 'one' => q({0} hola),
170 'other' => q({0} hola),
171 },
172 # Long Unit Identifier
173 'duration-minute' => {
174 'one' => q({0} minuke),
175 'other' => q({0} minuke),
176 },
177 # Core Unit Identifier
178 'minute' => {
179 'one' => q({0} minuke),
180 'other' => q({0} minuke),
181 },
182 # Long Unit Identifier
183 'duration-month' => {
184 'one' => q({0} mahina),
185 'other' => q({0} mahina),
186 },
187 # Core Unit Identifier
188 'month' => {
189 'one' => q({0} mahina),
190 'other' => q({0} mahina),
191 },
192 # Long Unit Identifier
193 'duration-second' => {
194 'one' => q({0} kekona),
195 'other' => q({0} kekona),
196 },
197 # Core Unit Identifier
198 'second' => {
199 'one' => q({0} kekona),
200 'other' => q({0} kekona),
201 },
202 # Long Unit Identifier
203 'duration-week' => {
204 'one' => q({0} pule),
205 'other' => q({0} pule),
206 },
207 # Core Unit Identifier
208 'week' => {
209 'one' => q({0} pule),
210 'other' => q({0} pule),
211 },
212 # Long Unit Identifier
213 'duration-year' => {
214 'one' => q({0} makahiki),
215 'other' => q({0} makahiki),
216 },
217 # Core Unit Identifier
218 'year' => {
219 'one' => q({0} makahiki),
220 'other' => q({0} makahiki),
221 },
222 },
223 'narrow' => {
224 # Long Unit Identifier
225 'temperature-fahrenheit' => {
226 'one' => q({0}°),
227 'other' => q({0}°),
228 },
229 # Core Unit Identifier
230 'fahrenheit' => {
231 'one' => q({0}°),
232 'other' => q({0}°),
233 },
234 },
235 'short' => {
236 # Long Unit Identifier
237 'duration-day' => {
238 'name' => q(lā),
239 },
240 # Core Unit Identifier
241 'day' => {
242 'name' => q(lā),
243 },
244 # Long Unit Identifier
245 'duration-hour' => {
246 'name' => q(hola),
247 },
248 # Core Unit Identifier
249 'hour' => {
250 'name' => q(hola),
251 },
252 # Long Unit Identifier
253 'duration-minute' => {
254 'name' => q(minuke),
255 },
256 # Core Unit Identifier
257 'minute' => {
258 'name' => q(minuke),
259 },
260 # Long Unit Identifier
261 'duration-month' => {
262 'name' => q(mahina),
263 },
264 # Core Unit Identifier
265 'month' => {
266 'name' => q(mahina),
267 },
268 # Long Unit Identifier
269 'duration-second' => {
270 'name' => q(kekona),
271 },
272 # Core Unit Identifier
273 'second' => {
274 'name' => q(kekona),
275 },
276 # Long Unit Identifier
277 'duration-week' => {
278 'name' => q(pule),
279 },
280 # Core Unit Identifier
281 'week' => {
282 'name' => q(pule),
283 },
284 # Long Unit Identifier
285 'duration-year' => {
286 'name' => q(makahiki),
287 },
288 # Core Unit Identifier
289 'year' => {
290 'name' => q(makahiki),
291 },
292 },
293 } }
294 1 );
295
296 has 'number_currency_formats' => (
297 is => 'ro',
298 isa => HashRef,
299 init_arg => undef,
300 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
301 0 'latn' => {
302 'pattern' => {
303 'default' => {
304 'accounting' => {
305 'negative' => '(¤#,##0.00)',
306 'positive' => '¤#,##0.00',
307 },
308 'standard' => {
309 'positive' => '¤#,##0.00',
310 },
311 },
312 },
313 },
314 } },
315 1 );
316
317 has 'currencies' => (
318 is => 'ro',
319 isa => HashRef,
320 init_arg => undef,
321 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
322 0 'USD' => {
323 symbol => '$',
324 },
325 } },
326 1 );
327
328
329 has 'calendar_months' => (
330 is => 'ro',
331 isa => HashRef,
332 init_arg => undef,
333 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
334 0 'gregorian' => {
335 'format' => {
336 abbreviated => {
337 nonleap => [
338 'Ian.',
339 'Pep.',
340 'Mal.',
341 'ʻAp.',
342 'Mei',
343 'Iun.',
344 'Iul.',
345 'ʻAu.',
346 'Kep.',
347 'ʻOk.',
348 'Now.',
349 'Kek.'
350 ],
351 leap => [
352
353 ],
354 },
355 wide => {
356 nonleap => [
357 'Ianuali',
358 'Pepeluali',
359 'Malaki',
360 'ʻApelila',
361 'Mei',
362 'Iune',
363 'Iulai',
364 'ʻAukake',
365 'Kepakemapa',
366 'ʻOkakopa',
367 'Nowemapa',
368 'Kekemapa'
369 ],
370 leap => [
371
372 ],
373 },
374 },
375 },
376 } },
377 1 );
378
379 has 'calendar_days' => (
380 is => 'ro',
381 isa => HashRef,
382 init_arg => undef,
383 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
384 0 'gregorian' => {
385 'format' => {
386 abbreviated => {
387 mon => 'P1',
388 tue => 'P2',
389 wed => 'P3',
390 thu => 'P4',
391 fri => 'P5',
392 sat => 'P6',
393 sun => 'LP'
394 },
395 wide => {
396 mon => 'Poʻakahi',
397 tue => 'Poʻalua',
398 wed => 'Poʻakolu',
399 thu => 'Poʻahā',
400 fri => 'Poʻalima',
401 sat => 'Poʻaono',
402 sun => 'Lāpule'
403 },
404 },
405 },
406 } },
407 1 );
408
409 has 'eras' => (
410 is => 'ro',
411 isa => HashRef,
412 init_arg => undef,
413 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
414 0 'generic' => {
415 },
416 'gregorian' => {
417 },
418 } },
419 1 );
420
421 has 'date_formats' => (
422 is => 'ro',
423 isa => HashRef,
424 init_arg => undef,
425 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
426 0 'generic' => {
427 'full' => q{EEEE, d MMMM y G},
428 'long' => q{d MMMM y G},
429 'medium' => q{d MMM y G},
430 'short' => q{d/M/yy GGGGG},
431 },
432 'gregorian' => {
433 'full' => q{EEEE, d MMMM y},
434 'long' => q{d MMMM y},
435 'medium' => q{d MMM y},
436 'short' => q{d/M/yy},
437 },
438 } },
439 1 );
440
441 has 'time_formats' => (
442 is => 'ro',
443 isa => HashRef,
444 init_arg => undef,
445 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
446 0 'generic' => {
447 },
448 'gregorian' => {
449 'full' => q{h:mm:ss a zzzz},
450 'long' => q{h:mm:ss a z},
451 'medium' => q{h:mm:ss a},
452 'short' => q{h:mm a},
453 },
454 } },
455 1 );
456
457 has 'datetime_formats' => (
458 is => 'ro',
459 isa => HashRef,
460 init_arg => undef,
461 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
462 0 'generic' => {
463 },
464 'gregorian' => {
465 'full' => q{{1} {0}},
466 'long' => q{{1} {0}},
467 'medium' => q{{1} {0}},
468 'short' => q{{1} {0}},
469 },
470 } },
471 1 );
472
473 has 'datetime_formats_available_formats' => (
474 is => 'ro',
475 isa => HashRef,
476 init_arg => undef,
477 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
478 0 'gregorian' => {
479 Ed => q{E d},
480 Ehm => q{E h:mm a},
481 Ehms => q{E h:mm:ss a},
482 Gy => q{y G},
483 GyMMM => q{MMM y G},
484 GyMMMEd => q{E, d MMM y G},
485 GyMMMd => q{d MMM y G},
486 MEd => q{E, d/M},
487 MMMEd => q{E, d MMM},
488 MMMd => q{d MMM},
489 Md => q{d/M},
490 h => q{h a},
491 hm => q{h:mm a},
492 hms => q{h:mm:ss a},
493 hmsv => q{h:mm:ss a v},
494 hmv => q{h:mm a v},
495 yM => q{M/y},
496 yMEd => q{E, d/M/y},
497 yMMM => q{MMM y},
498 yMMMEd => q{E, d MMM y},
499 yMMMd => q{d MMM y},
500 yMd => q{d/M/y},
501 },
502 } },
503 1 );
504
505 has 'datetime_formats_append_item' => (
506 is => 'ro',
507 isa => HashRef,
508 init_arg => undef,
509 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
510 0 } },
511 1 );
512
513 has 'datetime_formats_interval' => (
514 is => 'ro',
515 isa => HashRef,
516 init_arg => undef,
517 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
518 0 'gregorian' => {
519 MEd => {
520 M => q{MM-dd, E – MM-dd, E},
521 d => q{MM-dd, E – MM-dd, E},
522 },
523 MMMEd => {
524 M => q{MMM d, E – MMM d, E},
525 d => q{MMM d, E – MMM d, E},
526 },
527 MMMd => {
528 M => q{MMM d – MMM d},
529 },
530 Md => {
531 M => q{MM-dd – MM-dd},
532 d => q{MM-dd – MM-dd},
533 },
534 h => {
535 a => q{h a – h a},
536 h => q{h–h a},
537 },
538 hm => {
539 a => q{h:mm a – h:mm a},
540 h => q{h:mm–h:mm a},
541 m => q{h:mm–h:mm a},
542 },
543 hmv => {
544 a => q{h:mm a – h:mm a v},
545 h => q{h:mm–h:mm a v},
546 m => q{h:mm–h:mm a v},
547 },
548 hv => {
549 a => q{h a – h a v},
550 h => q{h–h a v},
551 },
552 yM => {
553 M => q{y-MM – y-MM},
554 y => q{y-MM – y-MM},
555 },
556 yMEd => {
557 M => q{y-MM-dd, E – y-MM-dd, E},
558 d => q{y-MM-dd, E – y-MM-dd, E},
559 y => q{y-MM-dd, E – y-MM-dd, E},
560 },
561 yMMM => {
562 y => q{y MMM – y MMM},
563 },
564 yMMMEd => {
565 M => q{y MMM d, E – MMM d, E},
566 d => q{y MMM d, E – MMM d, E},
567 y => q{y MMM d, E – y MMM d, E},
568 },
569 yMMMM => {
570 y => q{y MMMM – y MMMM},
571 },
572 yMMMd => {
573 M => q{y MMM d – MMM d},
574 y => q{y MMM d – y MMM d},
575 },
576 yMd => {
577 M => q{y-MM-dd – y-MM-dd},
578 d => q{y-MM-dd – y-MM-dd},
579 y => q{y-MM-dd – y-MM-dd},
580 },
581 },
582 } },
583 1 );
584
585 has 'time_zone_names' => (
586 is => 'ro',
587 isa => HashRef,
588 init_arg => undef,
589 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
590 0 'Alaska' => {
591 short => {
592 'daylight' => q#AKDT#,
593 'generic' => q#AKT#,
594 'standard' => q#AKST#,
595 },
596 },
597 'Hawaii_Aleutian' => {
598 short => {
599 'daylight' => q#HADT#,
600 'generic' => q#HAT#,
601 'standard' => q#HAST#,
602 },
603 },
604 'Pacific/Honolulu' => {
605 short => {
606 'daylight' => q#HDT#,
607 'generic' => q#HST#,
608 'standard' => q#HST#,
609 },
610 },
611 } }
612 1 );
613 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
614
615 1 1;
616
617 # vim: tabstop=4
↑ Summary Haw/Latn.pm »