File Coverage

blib/lib/Locale/CLDR/Locales/En/Latn/Au.pm
Criterion Covered Total %
statement 29 29 100.0
branch n/a
condition n/a
subroutine 10 10 100.0
pod n/a
total 39 39 100.0


line stmt bran cond sub pod time code
1             =encoding utf8
2              
3             =head1 NAME
4              
5             Locale::CLDR::Locales::En::Latn::Au - Package for language English
6              
7             =cut
8              
9             package Locale::CLDR::Locales::En::Latn::Au;
10             # This file auto generated from Data\common\main\en_AU.xml
11             # on Fri 17 Jan 12:03:31 pm GMT
12              
13 1     1   1887 use strict;
  1         3  
  1         44  
14 1     1   5 use warnings;
  1         2  
  1         57  
15 1     1   23 use version;
  1         3  
  1         9  
16              
17             our $VERSION = version->declare('v0.46.0');
18              
19 1     1   165 use v5.12.0;
  1         3  
20 1     1   6 use mro 'c3';
  1         2  
  1         8  
21 1     1   46 use utf8;
  1         4  
  1         8  
22 1     1   37 use feature 'unicode_strings';
  1         3  
  1         163  
23 1     1   9 use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
  1         2  
  1         9  
24 1     1   3084 use Moo;
  1         2  
  1         8  
25              
26             extends('Locale::CLDR::Locales::En::Latn::001');
27             has 'display_name_language' => (
28             is => 'ro',
29             isa => CodeRef,
30             init_arg => undef,
31             default => sub {
32             sub {
33             my %languages = (
34             'bn' => 'Bengali',
35             'ckb@alt=menu' => 'Kurdish (Central)',
36             'ckb@alt=variant' => 'Kurdish (Sorani)',
37             'en_US' => 'United States English',
38             'ro_MD' => 'Moldovan',
39              
40             );
41             if (@_) {
42             return $languages{$_[0]};
43             }
44             return \%languages;
45             }
46             },
47             );
48              
49             has 'display_name_script' => (
50             is => 'ro',
51             isa => CodeRef,
52             init_arg => undef,
53             default => sub {
54             sub {
55             my %scripts = (
56             'Beng' => 'Bengali',
57              
58             );
59             if ( @_ ) {
60             return $scripts{$_[0]};
61             }
62             return \%scripts;
63             }
64             }
65             );
66              
67             has 'display_name_region' => (
68             is => 'ro',
69             isa => HashRef[Str],
70             init_arg => undef,
71             default => sub {
72             {
73             '001' => 'World',
74             'BL' => 'St. Barthélemy',
75             'KN' => 'St. Kitts & Nevis',
76             'LC' => 'St. Lucia',
77             'MF' => 'St. Martin',
78             'VC' => 'St. Vincent & Grenadines',
79              
80             }
81             },
82             );
83              
84             has 'display_name_key' => (
85             is => 'ro',
86             isa => HashRef[Str],
87             init_arg => undef,
88             default => sub {
89             {
90             'colcasefirst' => 'Upper case / Lower case Ordering',
91             'x' => 'Private Use',
92             'x0' => 'Private Use Transform',
93              
94             }
95             },
96             );
97              
98             has 'display_name_type' => (
99             is => 'ro',
100             isa => HashRef[HashRef[Str]],
101             init_arg => undef,
102             default => sub {
103             {
104             'calendar' => {
105             'dangi' => q{Korean Calendar},
106             'ethiopic' => q{Ethiopian Calendar},
107             },
108              
109             }
110             },
111             );
112              
113             has 'units' => (
114             is => 'ro',
115             isa => HashRef[HashRef[HashRef[Str]]],
116             init_arg => undef,
117             default => sub { {
118             'long' => {
119             # Long Unit Identifier
120             'concentr-permille' => {
121             'name' => q(per mill),
122             'one' => q({0} per mill),
123             'other' => q({0} per mill),
124             },
125             # Core Unit Identifier
126             'permille' => {
127             'name' => q(per mill),
128             'one' => q({0} per mill),
129             'other' => q({0} per mill),
130             },
131             # Long Unit Identifier
132             'energy-kilowatt-hour' => {
133             'name' => q(kilowatt hours),
134             'one' => q({0} kilowatt hour),
135             'other' => q({0} kilowatt hours),
136             },
137             # Core Unit Identifier
138             'kilowatt-hour' => {
139             'name' => q(kilowatt hours),
140             'one' => q({0} kilowatt hour),
141             'other' => q({0} kilowatt hours),
142             },
143             # Long Unit Identifier
144             'length-kilometer' => {
145             'name' => q(kilometre),
146             },
147             # Core Unit Identifier
148             'kilometer' => {
149             'name' => q(kilometre),
150             },
151             # Long Unit Identifier
152             'pressure-pound-force-per-square-inch' => {
153             'name' => q(pounds per square inch),
154             'one' => q({0} pound per square inch),
155             'other' => q({0} pounds per square inch),
156             },
157             # Core Unit Identifier
158             'pound-force-per-square-inch' => {
159             'name' => q(pounds per square inch),
160             'one' => q({0} pound per square inch),
161             'other' => q({0} pounds per square inch),
162             },
163             # Long Unit Identifier
164             'temperature-generic' => {
165             'one' => q({0} degree),
166             'other' => q({0} degrees),
167             },
168             # Core Unit Identifier
169             'generic' => {
170             'one' => q({0} degree),
171             'other' => q({0} degrees),
172             },
173             # Long Unit Identifier
174             'volume-fluid-ounce-imperial' => {
175             'name' => q(Imp. fluid ounces),
176             'one' => q({0} Imp. fluid ounce),
177             'other' => q({0} Imp. fluid ounces),
178             },
179             # Core Unit Identifier
180             'fluid-ounce-imperial' => {
181             'name' => q(Imp. fluid ounces),
182             'one' => q({0} Imp. fluid ounce),
183             'other' => q({0} Imp. fluid ounces),
184             },
185             },
186             'narrow' => {
187             # Long Unit Identifier
188             'concentr-milligram-ofglucose-per-deciliter' => {
189             'name' => q(mg/dL),
190             'one' => q({0}mg/dL),
191             'other' => q({0}mg/dL),
192             },
193             # Core Unit Identifier
194             'milligram-ofglucose-per-deciliter' => {
195             'name' => q(mg/dL),
196             'one' => q({0}mg/dL),
197             'other' => q({0}mg/dL),
198             },
199             # Long Unit Identifier
200             'concentr-millimole-per-liter' => {
201             'name' => q(mmol/L),
202             'one' => q({0}mmol/L),
203             'other' => q({0}mmol/L),
204             },
205             # Core Unit Identifier
206             'millimole-per-liter' => {
207             'name' => q(mmol/L),
208             'one' => q({0}mmol/L),
209             'other' => q({0}mmol/L),
210             },
211             # Long Unit Identifier
212             'consumption-liter-per-100-kilometer' => {
213             'name' => q(L/100km),
214             'one' => q({0}L/100km),
215             'other' => q({0}L/100km),
216             },
217             # Core Unit Identifier
218             'liter-per-100-kilometer' => {
219             'name' => q(L/100km),
220             'one' => q({0}L/100km),
221             'other' => q({0}L/100km),
222             },
223             # Long Unit Identifier
224             'consumption-liter-per-kilometer' => {
225             'name' => q(L/km),
226             'one' => q({0}L/km),
227             'other' => q({0}L/km),
228             },
229             # Core Unit Identifier
230             'liter-per-kilometer' => {
231             'name' => q(L/km),
232             'one' => q({0}L/km),
233             'other' => q({0}L/km),
234             },
235             # Long Unit Identifier
236             'duration-century' => {
237             'name' => q(C),
238             'one' => q({0}C),
239             'other' => q({0}C),
240             },
241             # Core Unit Identifier
242             'century' => {
243             'name' => q(C),
244             'one' => q({0}C),
245             'other' => q({0}C),
246             },
247             # Long Unit Identifier
248             'speed-kilometer-per-hour' => {
249             'one' => q({0} km/h),
250             'other' => q({0} km/h),
251             },
252             # Core Unit Identifier
253             'kilometer-per-hour' => {
254             'one' => q({0} km/h),
255             'other' => q({0} km/h),
256             },
257             # Long Unit Identifier
258             'volume-bushel' => {
259             'one' => q({0} bus.),
260             'other' => q({0} bus.),
261             },
262             # Core Unit Identifier
263             'bushel' => {
264             'one' => q({0} bus.),
265             'other' => q({0} bus.),
266             },
267             # Long Unit Identifier
268             'volume-centiliter' => {
269             'name' => q(cL),
270             'one' => q({0}cL),
271             'other' => q({0}cL),
272             },
273             # Core Unit Identifier
274             'centiliter' => {
275             'name' => q(cL),
276             'one' => q({0}cL),
277             'other' => q({0}cL),
278             },
279             # Long Unit Identifier
280             'volume-deciliter' => {
281             'name' => q(dL),
282             'one' => q({0}dL),
283             'other' => q({0}dL),
284             },
285             # Core Unit Identifier
286             'deciliter' => {
287             'name' => q(dL),
288             'one' => q({0}dL),
289             'other' => q({0}dL),
290             },
291             # Long Unit Identifier
292             'volume-dessert-spoon' => {
293             'name' => q(dsp US),
294             'one' => q({0}dsp US),
295             'other' => q({0}dsp US),
296             },
297             # Core Unit Identifier
298             'dessert-spoon' => {
299             'name' => q(dsp US),
300             'one' => q({0}dsp US),
301             'other' => q({0}dsp US),
302             },
303             # Long Unit Identifier
304             'volume-dessert-spoon-imperial' => {
305             'name' => q(dsp Imp),
306             'one' => q({0}dsp-Imp),
307             'other' => q({0}dsp-Imp),
308             },
309             # Core Unit Identifier
310             'dessert-spoon-imperial' => {
311             'name' => q(dsp Imp),
312             'one' => q({0}dsp-Imp),
313             'other' => q({0}dsp-Imp),
314             },
315             # Long Unit Identifier
316             'volume-fluid-ounce-imperial' => {
317             'name' => q(Imp fl oz),
318             'one' => q({0}fl oz Im),
319             'other' => q({0}fl oz Im),
320             },
321             # Core Unit Identifier
322             'fluid-ounce-imperial' => {
323             'name' => q(Imp fl oz),
324             'one' => q({0}fl oz Im),
325             'other' => q({0}fl oz Im),
326             },
327             # Long Unit Identifier
328             'volume-gallon' => {
329             'name' => q(gal US),
330             'one' => q({0} gal US),
331             'other' => q({0} gal US),
332             },
333             # Core Unit Identifier
334             'gallon' => {
335             'name' => q(gal US),
336             'one' => q({0} gal US),
337             'other' => q({0} gal US),
338             },
339             # Long Unit Identifier
340             'volume-gallon-imperial' => {
341             'name' => q(gal.),
342             'one' => q({0}gal.),
343             'other' => q({0}gal.),
344             'per' => q({0}/gal.),
345             },
346             # Core Unit Identifier
347             'gallon-imperial' => {
348             'name' => q(gal.),
349             'one' => q({0}gal.),
350             'other' => q({0}gal.),
351             'per' => q({0}/gal.),
352             },
353             # Long Unit Identifier
354             'volume-hectoliter' => {
355             'name' => q(hL),
356             'one' => q({0}hL),
357             'other' => q({0}hL),
358             },
359             # Core Unit Identifier
360             'hectoliter' => {
361             'name' => q(hL),
362             'one' => q({0}hL),
363             'other' => q({0}hL),
364             },
365             # Long Unit Identifier
366             'volume-liter' => {
367             'one' => q({0}L),
368             'other' => q({0}L),
369             'per' => q({0}/L),
370             },
371             # Core Unit Identifier
372             'liter' => {
373             'one' => q({0}L),
374             'other' => q({0}L),
375             'per' => q({0}/L),
376             },
377             # Long Unit Identifier
378             'volume-megaliter' => {
379             'name' => q(ML),
380             'one' => q({0}ML),
381             'other' => q({0}ML),
382             },
383             # Core Unit Identifier
384             'megaliter' => {
385             'name' => q(ML),
386             'one' => q({0}ML),
387             'other' => q({0}ML),
388             },
389             # Long Unit Identifier
390             'volume-milliliter' => {
391             'name' => q(mL),
392             'one' => q({0}mL),
393             'other' => q({0}mL),
394             },
395             # Core Unit Identifier
396             'milliliter' => {
397             'name' => q(mL),
398             'one' => q({0}mL),
399             'other' => q({0}mL),
400             },
401             # Long Unit Identifier
402             'volume-quart' => {
403             'name' => q(qt US),
404             'one' => q({0}qt US),
405             'other' => q({0}qt US),
406             },
407             # Core Unit Identifier
408             'quart' => {
409             'name' => q(qt US),
410             'one' => q({0}qt US),
411             'other' => q({0}qt US),
412             },
413             },
414             'short' => {
415             # Long Unit Identifier
416             'angle-arc-minute' => {
417             'name' => q(arcmin.),
418             'one' => q({0} arcmin.),
419             'other' => q({0} arcmin.),
420             },
421             # Core Unit Identifier
422             'arc-minute' => {
423             'name' => q(arcmin.),
424             'one' => q({0} arcmin.),
425             'other' => q({0} arcmin.),
426             },
427             # Long Unit Identifier
428             'angle-arc-second' => {
429             'name' => q(arcsec.),
430             'one' => q({0} arcsec.),
431             'other' => q({0} arcsec.),
432             },
433             # Core Unit Identifier
434             'arc-second' => {
435             'name' => q(arcsec.),
436             'one' => q({0} arcsec.),
437             'other' => q({0} arcsec.),
438             },
439             # Long Unit Identifier
440             'concentr-milligram-ofglucose-per-deciliter' => {
441             'name' => q(mg/dL),
442             'one' => q({0} mg/dL),
443             'other' => q({0} mg/dL),
444             },
445             # Core Unit Identifier
446             'milligram-ofglucose-per-deciliter' => {
447             'name' => q(mg/dL),
448             'one' => q({0} mg/dL),
449             'other' => q({0} mg/dL),
450             },
451             # Long Unit Identifier
452             'concentr-millimole-per-liter' => {
453             'one' => q({0} mmol/L),
454             'other' => q({0} mmol/L),
455             },
456             # Core Unit Identifier
457             'millimole-per-liter' => {
458             'one' => q({0} mmol/L),
459             'other' => q({0} mmol/L),
460             },
461             # Long Unit Identifier
462             'concentr-permille' => {
463             'name' => q(per mill),
464             },
465             # Core Unit Identifier
466             'permille' => {
467             'name' => q(per mill),
468             },
469             # Long Unit Identifier
470             'consumption-liter-per-100-kilometer' => {
471             'name' => q(L/100 km),
472             'one' => q({0} L/100 km),
473             'other' => q({0} L/100 km),
474             },
475             # Core Unit Identifier
476             'liter-per-100-kilometer' => {
477             'name' => q(L/100 km),
478             'one' => q({0} L/100 km),
479             'other' => q({0} L/100 km),
480             },
481             # Long Unit Identifier
482             'consumption-liter-per-kilometer' => {
483             'one' => q({0} L/km),
484             'other' => q({0} L/km),
485             },
486             # Core Unit Identifier
487             'liter-per-kilometer' => {
488             'one' => q({0} L/km),
489             'other' => q({0} L/km),
490             },
491             # Long Unit Identifier
492             'consumption-mile-per-gallon' => {
493             'name' => q(miles/gal. US),
494             'one' => q({0} m.p.g. US),
495             'other' => q({0} m.p.g. US),
496             },
497             # Core Unit Identifier
498             'mile-per-gallon' => {
499             'name' => q(miles/gal. US),
500             'one' => q({0} m.p.g. US),
501             'other' => q({0} m.p.g. US),
502             },
503             # Long Unit Identifier
504             'consumption-mile-per-gallon-imperial' => {
505             'name' => q(miles/gal.),
506             'one' => q({0} m.p.g.),
507             'other' => q({0} m.p.g.),
508             },
509             # Core Unit Identifier
510             'mile-per-gallon-imperial' => {
511             'name' => q(miles/gal.),
512             'one' => q({0} m.p.g.),
513             'other' => q({0} m.p.g.),
514             },
515             # Long Unit Identifier
516             'duration-century' => {
517             'name' => q(C),
518             'one' => q({0} C),
519             'other' => q({0} C),
520             },
521             # Core Unit Identifier
522             'century' => {
523             'name' => q(C),
524             'one' => q({0} C),
525             'other' => q({0} C),
526             },
527             # Long Unit Identifier
528             'energy-kilocalorie' => {
529             'name' => q(Cal),
530             'one' => q({0} Cal),
531             'other' => q({0} Cal),
532             },
533             # Core Unit Identifier
534             'kilocalorie' => {
535             'name' => q(Cal),
536             'one' => q({0} Cal),
537             'other' => q({0} Cal),
538             },
539             # Long Unit Identifier
540             'energy-kilowatt-hour' => {
541             'name' => q(kWh),
542             },
543             # Core Unit Identifier
544             'kilowatt-hour' => {
545             'name' => q(kWh),
546             },
547             # Long Unit Identifier
548             'length-astronomical-unit' => {
549             'name' => q(AU),
550             'one' => q({0} AU),
551             'other' => q({0} AU),
552             },
553             # Core Unit Identifier
554             'astronomical-unit' => {
555             'name' => q(AU),
556             'one' => q({0} AU),
557             'other' => q({0} AU),
558             },
559             # Long Unit Identifier
560             'mass-carat' => {
561             'one' => q({0} CM),
562             'other' => q({0} CM),
563             },
564             # Core Unit Identifier
565             'carat' => {
566             'one' => q({0} CM),
567             'other' => q({0} CM),
568             },
569             # Long Unit Identifier
570             'pressure-inch-ofhg' => {
571             'name' => q(in Hg),
572             },
573             # Core Unit Identifier
574             'inch-ofhg' => {
575             'name' => q(in Hg),
576             },
577             # Long Unit Identifier
578             'pressure-millibar' => {
579             'name' => q(mb),
580             'one' => q({0} mb),
581             'other' => q({0} mb),
582             },
583             # Core Unit Identifier
584             'millibar' => {
585             'name' => q(mb),
586             'one' => q({0} mb),
587             'other' => q({0} mb),
588             },
589             # Long Unit Identifier
590             'pressure-millimeter-ofhg' => {
591             'name' => q(mm Hg),
592             'one' => q({0} mm Hg),
593             'other' => q({0} mm Hg),
594             },
595             # Core Unit Identifier
596             'millimeter-ofhg' => {
597             'name' => q(mm Hg),
598             'one' => q({0} mm Hg),
599             'other' => q({0} mm Hg),
600             },
601             # Long Unit Identifier
602             'speed-meter-per-second' => {
603             'name' => q(metres/sec.),
604             'one' => q({0} m/s.),
605             'other' => q({0} m/s.),
606             },
607             # Core Unit Identifier
608             'meter-per-second' => {
609             'name' => q(metres/sec.),
610             'one' => q({0} m/s.),
611             'other' => q({0} m/s.),
612             },
613             # Long Unit Identifier
614             'temperature-celsius' => {
615             'name' => q(deg C),
616             },
617             # Core Unit Identifier
618             'celsius' => {
619             'name' => q(deg C),
620             },
621             # Long Unit Identifier
622             'temperature-fahrenheit' => {
623             'name' => q(deg F),
624             },
625             # Core Unit Identifier
626             'fahrenheit' => {
627             'name' => q(deg F),
628             },
629             # Long Unit Identifier
630             'temperature-generic' => {
631             'name' => q(deg.),
632             },
633             # Core Unit Identifier
634             'generic' => {
635             'name' => q(deg.),
636             },
637             # Long Unit Identifier
638             'volume-bushel' => {
639             'one' => q({0} bus.),
640             'other' => q({0} bus.),
641             },
642             # Core Unit Identifier
643             'bushel' => {
644             'one' => q({0} bus.),
645             'other' => q({0} bus.),
646             },
647             # Long Unit Identifier
648             'volume-centiliter' => {
649             'name' => q(cL),
650             'one' => q({0} cL),
651             'other' => q({0} cL),
652             },
653             # Core Unit Identifier
654             'centiliter' => {
655             'name' => q(cL),
656             'one' => q({0} cL),
657             'other' => q({0} cL),
658             },
659             # Long Unit Identifier
660             'volume-deciliter' => {
661             'name' => q(dL),
662             'one' => q({0} dL),
663             'other' => q({0} dL),
664             },
665             # Core Unit Identifier
666             'deciliter' => {
667             'name' => q(dL),
668             'one' => q({0} dL),
669             'other' => q({0} dL),
670             },
671             # Long Unit Identifier
672             'volume-fluid-ounce-imperial' => {
673             'name' => q(Imp. fl oz),
674             'one' => q({0} fl oz Imp.),
675             'other' => q({0} fl oz Imp.),
676             },
677             # Core Unit Identifier
678             'fluid-ounce-imperial' => {
679             'name' => q(Imp. fl oz),
680             'one' => q({0} fl oz Imp.),
681             'other' => q({0} fl oz Imp.),
682             },
683             # Long Unit Identifier
684             'volume-gallon' => {
685             'name' => q(gal US),
686             'one' => q({0} gal US),
687             'other' => q({0} gal US),
688             'per' => q({0}/gal US),
689             },
690             # Core Unit Identifier
691             'gallon' => {
692             'name' => q(gal US),
693             'one' => q({0} gal US),
694             'other' => q({0} gal US),
695             'per' => q({0}/gal US),
696             },
697             # Long Unit Identifier
698             'volume-gallon-imperial' => {
699             'name' => q(gal.),
700             'one' => q({0} gal.),
701             'other' => q({0} gal.),
702             'per' => q({0}/gal.),
703             },
704             # Core Unit Identifier
705             'gallon-imperial' => {
706             'name' => q(gal.),
707             'one' => q({0} gal.),
708             'other' => q({0} gal.),
709             'per' => q({0}/gal.),
710             },
711             # Long Unit Identifier
712             'volume-hectoliter' => {
713             'name' => q(hL),
714             'one' => q({0} hL),
715             'other' => q({0} hL),
716             },
717             # Core Unit Identifier
718             'hectoliter' => {
719             'name' => q(hL),
720             'one' => q({0} hL),
721             'other' => q({0} hL),
722             },
723             # Long Unit Identifier
724             'volume-liter' => {
725             'one' => q({0} L),
726             'other' => q({0} L),
727             'per' => q({0}/L),
728             },
729             # Core Unit Identifier
730             'liter' => {
731             'one' => q({0} L),
732             'other' => q({0} L),
733             'per' => q({0}/L),
734             },
735             # Long Unit Identifier
736             'volume-megaliter' => {
737             'name' => q(ML),
738             'one' => q({0} ML),
739             'other' => q({0} ML),
740             },
741             # Core Unit Identifier
742             'megaliter' => {
743             'name' => q(ML),
744             'one' => q({0} ML),
745             'other' => q({0} ML),
746             },
747             # Long Unit Identifier
748             'volume-milliliter' => {
749             'name' => q(mL),
750             'one' => q({0} mL),
751             'other' => q({0} mL),
752             },
753             # Core Unit Identifier
754             'milliliter' => {
755             'name' => q(mL),
756             'one' => q({0} mL),
757             'other' => q({0} mL),
758             },
759             },
760             } }
761             );
762              
763             has 'number_symbols' => (
764             is => 'ro',
765             isa => HashRef,
766             init_arg => undef,
767             default => sub { {
768             'latn' => {
769             'exponential' => q(e),
770             },
771             } }
772             );
773              
774             has 'currencies' => (
775             is => 'ro',
776             isa => HashRef,
777             init_arg => undef,
778             default => sub { {
779             'AFN' => {
780             display_name => {
781             'one' => q(Afghan Afghani),
782             'other' => q(Afghan Afghanis),
783             },
784             },
785             'AUD' => {
786             symbol => '$',
787             },
788             'BAM' => {
789             display_name => {
790             'currency' => q(Bosnia-Herzegovina Convertible Marka),
791             'one' => q(Bosnia-Herzegovina convertible marka),
792             'other' => q(Bosnia-Herzegovina convertible marka),
793             },
794             },
795             'BBD' => {
796             display_name => {
797             'currency' => q(Barbados Dollar),
798             'one' => q(Barbados dollar),
799             'other' => q(Barbados dollars),
800             },
801             },
802             'BDT' => {
803             symbol => 'Tk',
804             },
805             'BMD' => {
806             display_name => {
807             'currency' => q(Bermuda Dollar),
808             'one' => q(Bermuda dollar),
809             'other' => q(Bermuda dollars),
810             },
811             },
812             'BOB' => {
813             display_name => {
814             'currency' => q(Bolivian boliviano),
815             },
816             },
817             'BRL' => {
818             symbol => 'BRL',
819             },
820             'CAD' => {
821             symbol => 'CAD',
822             },
823             'CNY' => {
824             symbol => 'CNY',
825             },
826             'CUP' => {
827             symbol => '₱',
828             },
829             'EGP' => {
830             symbol => '£',
831             },
832             'ETB' => {
833             display_name => {
834             'one' => q(Ethiopian birr),
835             'other' => q(Ethiopian birrs),
836             },
837             },
838             'EUR' => {
839             symbol => 'EUR',
840             },
841             'GBP' => {
842             symbol => 'GBP',
843             },
844             'GEL' => {
845             display_name => {
846             'one' => q(Georgian lari),
847             'other' => q(Georgian lari),
848             },
849             },
850             'HKD' => {
851             symbol => 'HKD',
852             },
853             'ILS' => {
854             symbol => 'ILS',
855             display_name => {
856             'currency' => q(Israeli Shekel),
857             'one' => q(Israeli shekel),
858             'other' => q(Israeli sheckles),
859             },
860             },
861             'INR' => {
862             symbol => 'INR',
863             },
864             'ISK' => {
865             symbol => 'Kr',
866             },
867             'JPY' => {
868             symbol => 'JPY',
869             },
870             'KRW' => {
871             symbol => 'KRW',
872             },
873             'KZT' => {
874             display_name => {
875             'one' => q(Kazakhstani tenge),
876             'other' => q(Kazakhstani tenge),
877             },
878             },
879             'LAK' => {
880             display_name => {
881             'one' => q(Laotian kip),
882             'other' => q(Laotian kip),
883             },
884             },
885             'LSL' => {
886             display_name => {
887             'one' => q(Lesotho loti),
888             'other' => q(Lesotho lotis),
889             },
890             },
891             'MKD' => {
892             display_name => {
893             'one' => q(Macedonian denar),
894             'other' => q(Macedonian denar),
895             },
896             },
897             'MVR' => {
898             display_name => {
899             'one' => q(Maldivian rufiyaa),
900             'other' => q(Maldivian rufiyaas),
901             },
902             },
903             'MXN' => {
904             symbol => 'MXN',
905             },
906             'NZD' => {
907             symbol => 'NZD',
908             },
909             'PGK' => {
910             display_name => {
911             'one' => q(Papua New Guinean kina),
912             'other' => q(Papua New Guinean kinas),
913             },
914             },
915             'PHP' => {
916             symbol => 'PHP',
917             },
918             'PYG' => {
919             symbol => 'Gs',
920             },
921             'QAR' => {
922             display_name => {
923             'one' => q(Qatari riyal),
924             'other' => q(Quatari riyals),
925             },
926             },
927             'SCR' => {
928             symbol => 'Rs',
929             },
930             'SEK' => {
931             symbol => 'Kr',
932             },
933             'SLL' => {
934             display_name => {
935             'currency' => q(Sierra Leonean Leone \(1964–2022\)),
936             'one' => q(Sierra Leonean leone \(1964–2022\)),
937             'other' => q(Sierra Leonean leones \(1964–2022\)),
938             },
939             },
940             'SRD' => {
941             display_name => {
942             'currency' => q(Suriname Dollar),
943             'one' => q(Suriname dollar),
944             'other' => q(Suriname dollars),
945             },
946             },
947             'TRY' => {
948             display_name => {
949             'one' => q(Turkish lira),
950             'other' => q(Turkish lire),
951             },
952             },
953             'TWD' => {
954             symbol => 'TWD',
955             },
956             'USD' => {
957             symbol => 'USD',
958             },
959             'UYU' => {
960             symbol => '$U',
961             display_name => {
962             'currency' => q(Peso Uruguayo),
963             },
964             },
965             'UZS' => {
966             display_name => {
967             'one' => q(Uzbekistani som),
968             'other' => q(Uzbekistani soms),
969             },
970             },
971             'VES' => {
972             display_name => {
973             'currency' => q(Venezuelan bolívar),
974             },
975             },
976             'VND' => {
977             symbol => 'VND',
978             display_name => {
979             'one' => q(Vietnamese dong),
980             'other' => q(Vietnamese dongs),
981             },
982             },
983             'VUV' => {
984             display_name => {
985             'one' => q(Vanuatu vatu),
986             'other' => q(Vanuatu vatus),
987             },
988             },
989             'WST' => {
990             display_name => {
991             'one' => q(Samoan tala),
992             'other' => q(Samoan talas),
993             },
994             },
995             'XAF' => {
996             symbol => 'XAF',
997             },
998             'XCD' => {
999             symbol => 'XCD',
1000             },
1001             'XOF' => {
1002             symbol => 'XOF',
1003             },
1004             'XPF' => {
1005             symbol => 'CFP',
1006             },
1007             } },
1008             );
1009              
1010              
1011             has 'calendar_months' => (
1012             is => 'ro',
1013             isa => HashRef,
1014             init_arg => undef,
1015             default => sub { {
1016             'gregorian' => {
1017             'format' => {
1018             abbreviated => {
1019             nonleap => [
1020             'Jan',
1021             'Feb',
1022             'Mar',
1023             'Apr',
1024             'May',
1025             'June',
1026             'July',
1027             'Aug',
1028             'Sept',
1029             'Oct',
1030             'Nov',
1031             'Dec'
1032             ],
1033             leap => [
1034            
1035             ],
1036             },
1037             },
1038             'stand-alone' => {
1039             abbreviated => {
1040             nonleap => [
1041             'Jan',
1042             'Feb',
1043             'Mar',
1044             'Apr',
1045             'May',
1046             'June',
1047             'July',
1048             'Aug',
1049             'Sept',
1050             'Oct',
1051             'Nov',
1052             'Dec'
1053             ],
1054             leap => [
1055            
1056             ],
1057             },
1058             },
1059             },
1060             } },
1061             );
1062              
1063             has 'calendar_days' => (
1064             is => 'ro',
1065             isa => HashRef,
1066             init_arg => undef,
1067             default => sub { {
1068             'gregorian' => {
1069             'format' => {
1070             narrow => {
1071             mon => 'M.',
1072             tue => 'Tu.',
1073             wed => 'W.',
1074             thu => 'Th.',
1075             fri => 'F.',
1076             sat => 'Sa.',
1077             sun => 'Su.'
1078             },
1079             },
1080             },
1081             } },
1082             );
1083              
1084             has 'day_period_data' => (
1085             is => 'ro',
1086             isa => CodeRef,
1087             init_arg => undef,
1088             default => sub { sub {
1089             # Time in hhmm format
1090             my ($self, $type, $time, $day_period_type) = @_;
1091             $day_period_type //= 'default';
1092             SWITCH:
1093             for ($type) {
1094             if ($_ eq 'generic') {
1095             if($day_period_type eq 'default') {
1096             return 'midnight' if $time == 0;
1097             return 'noon' if $time == 1200;
1098             return 'afternoon1' if $time >= 1200
1099             && $time < 1800;
1100             return 'evening1' if $time >= 1800
1101             && $time < 2100;
1102             return 'morning1' if $time >= 600
1103             && $time < 1200;
1104             return 'night1' if $time >= 2100;
1105             return 'night1' if $time < 600;
1106             }
1107             if($day_period_type eq 'selection') {
1108             return 'afternoon1' if $time >= 1200
1109             && $time < 1800;
1110             return 'evening1' if $time >= 1800
1111             && $time < 2100;
1112             return 'morning1' if $time >= 600
1113             && $time < 1200;
1114             return 'night1' if $time >= 2100;
1115             return 'night1' if $time < 600;
1116             }
1117             last SWITCH;
1118             }
1119             if ($_ eq 'gregorian') {
1120             if($day_period_type eq 'default') {
1121             return 'midnight' if $time == 0;
1122             return 'noon' if $time == 1200;
1123             return 'afternoon1' if $time >= 1200
1124             && $time < 1800;
1125             return 'evening1' if $time >= 1800
1126             && $time < 2100;
1127             return 'morning1' if $time >= 600
1128             && $time < 1200;
1129             return 'night1' if $time >= 2100;
1130             return 'night1' if $time < 600;
1131             }
1132             if($day_period_type eq 'selection') {
1133             return 'afternoon1' if $time >= 1200
1134             && $time < 1800;
1135             return 'evening1' if $time >= 1800
1136             && $time < 2100;
1137             return 'morning1' if $time >= 600
1138             && $time < 1200;
1139             return 'night1' if $time >= 2100;
1140             return 'night1' if $time < 600;
1141             }
1142             last SWITCH;
1143             }
1144             if ($_ eq 'islamic') {
1145             if($day_period_type eq 'default') {
1146             return 'midnight' if $time == 0;
1147             return 'noon' if $time == 1200;
1148             return 'afternoon1' if $time >= 1200
1149             && $time < 1800;
1150             return 'evening1' if $time >= 1800
1151             && $time < 2100;
1152             return 'morning1' if $time >= 600
1153             && $time < 1200;
1154             return 'night1' if $time >= 2100;
1155             return 'night1' if $time < 600;
1156             }
1157             if($day_period_type eq 'selection') {
1158             return 'afternoon1' if $time >= 1200
1159             && $time < 1800;
1160             return 'evening1' if $time >= 1800
1161             && $time < 2100;
1162             return 'morning1' if $time >= 600
1163             && $time < 1200;
1164             return 'night1' if $time >= 2100;
1165             return 'night1' if $time < 600;
1166             }
1167             last SWITCH;
1168             }
1169             }
1170             } },
1171             );
1172              
1173             around day_period_data => sub {
1174             my ($orig, $self) = @_;
1175             return $self->$orig;
1176             };
1177              
1178             has 'day_periods' => (
1179             is => 'ro',
1180             isa => HashRef,
1181             init_arg => undef,
1182             default => sub { {
1183             'gregorian' => {
1184             'format' => {
1185             'abbreviated' => {
1186             'afternoon1' => q{in the afternoon},
1187             'evening1' => q{in the evening},
1188             'midnight' => q{midnight},
1189             'morning1' => q{in the morning},
1190             'night1' => q{at night},
1191             'noon' => q{midday},
1192             },
1193             'narrow' => {
1194             'afternoon1' => q{in the afternoon},
1195             'am' => q{am},
1196             'evening1' => q{in the evening},
1197             'midnight' => q{midnight},
1198             'morning1' => q{in the morning},
1199             'night1' => q{at night},
1200             'noon' => q{midday},
1201             'pm' => q{pm},
1202             },
1203             'wide' => {
1204             'afternoon1' => q{in the afternoon},
1205             'evening1' => q{in the evening},
1206             'midnight' => q{midnight},
1207             'morning1' => q{in the morning},
1208             'night1' => q{at night},
1209             'noon' => q{midday},
1210             },
1211             },
1212             'stand-alone' => {
1213             'abbreviated' => {
1214             'noon' => q{midday},
1215             },
1216             'narrow' => {
1217             'noon' => q{midday},
1218             },
1219             'wide' => {
1220             'noon' => q{midday},
1221             },
1222             },
1223             },
1224             } },
1225             );
1226              
1227             has 'eras' => (
1228             is => 'ro',
1229             isa => HashRef,
1230             init_arg => undef,
1231             default => sub { {
1232             'generic' => {
1233             },
1234             'gregorian' => {
1235             },
1236             'islamic' => {
1237             },
1238             } },
1239             );
1240              
1241             has 'date_formats' => (
1242             is => 'ro',
1243             isa => HashRef,
1244             init_arg => undef,
1245             default => sub { {
1246             'generic' => {
1247             'full' => q{EEEE d MMMM y G},
1248             'long' => q{d MMMM y G},
1249             'medium' => q{d MMM y G},
1250             'short' => q{dd/MM/y GGGGG},
1251             },
1252             'gregorian' => {
1253             'full' => q{EEEE, d MMMM y},
1254             'long' => q{d MMMM y},
1255             'medium' => q{d MMM y},
1256             'short' => q{d/M/yy},
1257             },
1258             'islamic' => {
1259             },
1260             } },
1261             );
1262              
1263             has 'time_formats' => (
1264             is => 'ro',
1265             isa => HashRef,
1266             init_arg => undef,
1267             default => sub { {
1268             'generic' => {
1269             },
1270             'gregorian' => {
1271             'full' => q{h:mm:ss a zzzz},
1272             'long' => q{h:mm:ss a z},
1273             'medium' => q{h:mm:ss a},
1274             'short' => q{h:mm a},
1275             },
1276             'islamic' => {
1277             },
1278             } },
1279             );
1280              
1281             has 'datetime_formats' => (
1282             is => 'ro',
1283             isa => HashRef,
1284             init_arg => undef,
1285             default => sub { {
1286             'generic' => {
1287             'full' => q{{1}, {0}},
1288             'long' => q{{1}, {0}},
1289             'medium' => q{{1}, {0}},
1290             'short' => q{{1}, {0}},
1291             },
1292             'gregorian' => {
1293             'full' => q{{1}, {0}},
1294             'long' => q{{1}, {0}},
1295             'medium' => q{{1}, {0}},
1296             'short' => q{{1}, {0}},
1297             },
1298             'islamic' => {
1299             },
1300             } },
1301             );
1302              
1303             has 'datetime_formats_available_formats' => (
1304             is => 'ro',
1305             isa => HashRef,
1306             init_arg => undef,
1307             default => sub { {
1308             'generic' => {
1309             GyMMMEEEEd => q{EEEE d MMM y G},
1310             MMMEEEEd => q{EEEE d MMM},
1311             MMMMEEEEd => q{EEEE d MMMM},
1312             yMEd => q{E, dd/MM/y},
1313             yMd => q{dd/MM/y},
1314             yyyyMMMEEEEd => q{EEEE d MMM y G},
1315             yyyyMMMMEEEEd => q{EEEE d MMMM y G},
1316             },
1317             'gregorian' => {
1318             GyMMMEEEEd => q{EEEE d MMM y G},
1319             MEd => q{E, d/M},
1320             MMMEEEEd => q{EEEE d MMM},
1321             MMMMEEEEd => q{EEEE d MMMM},
1322             Md => q{d/M},
1323             yMMMEEEEd => q{EEEE d MMM y},
1324             yMMMMEEEEd => q{EEEE d MMMM y},
1325             },
1326             'islamic' => {
1327             Ed => q{E d},
1328             M => q{LL},
1329             MMMEd => q{E, d MMM},
1330             yyyyM => q{MM/y GGGGG},
1331             },
1332             } },
1333             );
1334              
1335             has 'datetime_formats_append_item' => (
1336             is => 'ro',
1337             isa => HashRef,
1338             init_arg => undef,
1339             default => sub { {
1340             } },
1341             );
1342              
1343             has 'datetime_formats_interval' => (
1344             is => 'ro',
1345             isa => HashRef,
1346             init_arg => undef,
1347             default => sub { {
1348             'generic' => {
1349             GyMEd => {
1350             G => q{E dd/MM/y GGGGG – E dd/MM/y GGGGG},
1351             M => q{E dd/MM/y – E dd/MM/y GGGGG},
1352             d => q{E dd/MM/y – E dd/MM/y GGGGG},
1353             y => q{E dd/MM/y – E dd/MM/y GGGGG},
1354             },
1355             GyMMMEd => {
1356             G => q{E d MMM y G – E d MMM y G},
1357             M => q{E d MMM – E d MMM y G},
1358             d => q{E d MMM – E d MMM y G},
1359             y => q{E d MMM y – E d MMM y G},
1360             },
1361             MEd => {
1362             M => q{E, d/M – E, d/M},
1363             d => q{E, d/M – E, d/M},
1364             },
1365             MMMEEEEd => {
1366             M => q{EEEE d MMM – EEEE d MMM},
1367             d => q{EEEE d MMM – EEEE d MMM},
1368             },
1369             MMMEd => {
1370             M => q{E, d MMM – E, d MMM},
1371             d => q{E, d MMM – E, d MMM},
1372             },
1373             yMMMEEEEd => {
1374             M => q{EEEE d MMM – EEEE d MMM y G},
1375             d => q{EEEE d MMM – EEEE d MMM y G},
1376             y => q{EEEE d MMM y – EEEE d MMM y G},
1377             },
1378             yMMMEd => {
1379             d => q{E, d MMM – E, d MMM y G},
1380             },
1381             yMMMMEEEEd => {
1382             M => q{EEEE d MMMM – EEEE d MMMM y G},
1383             d => q{EEEE d MMMM – EEEE d MMMM y G},
1384             y => q{EEEE d MMMM y – EEEE d MMMM y G},
1385             },
1386             },
1387             'gregorian' => {
1388             GyMEd => {
1389             G => q{E, d/M/y G – E, d/M/y G},
1390             M => q{E, d/M/y – E, d/M/y G},
1391             d => q{E, d/M/y – E, d/M/y G},
1392             y => q{E, d/M/y – E, d/M/y G},
1393             },
1394             GyMMMEEEEd => {
1395             G => q{EEEE d MMM y G – EEEE d MMM y G},
1396             M => q{EEEE d MMM – EEEE d MMM y G},
1397             d => q{EEEE d MMM – EEEE d MMM y G},
1398             y => q{EEEE d MMM y – EEEE d MMM y G},
1399             },
1400             GyMd => {
1401             G => q{d/M/y G – d/M/y G},
1402             M => q{d/M/y – d/M/y G},
1403             d => q{d/M/y – d/M/y G},
1404             y => q{d/M/y – d/M/y G},
1405             },
1406             yMMMEEEEd => {
1407             M => q{EEEE d MMM – EEEE d MMM y},
1408             d => q{EEEE d – EEEE d MMM y},
1409             y => q{EEEE d MMM y – EEEE d MMM y},
1410             },
1411             yMMMMEEEEd => {
1412             M => q{EEEE d MMMM – EEEE d MMMM y},
1413             d => q{EEEE d – EEEE d MMMM y},
1414             y => q{EEEE d MMMM y – EEEE d MMMM y},
1415             },
1416             },
1417             } },
1418             );
1419              
1420             has 'time_zone_names' => (
1421             is => 'ro',
1422             isa => HashRef,
1423             init_arg => undef,
1424             default => sub { {
1425             'Africa_Eastern' => {
1426             long => {
1427             'standard' => q#Eastern Africa Time#,
1428             },
1429             },
1430             'Arabian' => {
1431             long => {
1432             'daylight' => q#Arabia Daylight Time#,
1433             'generic' => q#Arabia Time#,
1434             'standard' => q#Arabia Standard Time#,
1435             },
1436             },
1437             'Australia_Central' => {
1438             long => {
1439             'daylight' => q#Australian Central Daylight Time#,
1440             'generic' => q#Australian Central Time#,
1441             'standard' => q#Australian Central Standard Time#,
1442             },
1443             short => {
1444             'daylight' => q#ACDT#,
1445             'generic' => q#ACT#,
1446             'standard' => q#ACST#,
1447             },
1448             },
1449             'Australia_CentralWestern' => {
1450             short => {
1451             'daylight' => q#ACWDT#,
1452             'generic' => q#ACWT#,
1453             'standard' => q#ACWST#,
1454             },
1455             },
1456             'Australia_Eastern' => {
1457             long => {
1458             'daylight' => q#Australian Eastern Daylight Time#,
1459             'generic' => q#Australian Eastern Time#,
1460             'standard' => q#Australian Eastern Standard Time#,
1461             },
1462             short => {
1463             'daylight' => q#AEDT#,
1464             'generic' => q#AET#,
1465             'standard' => q#AEST#,
1466             },
1467             },
1468             'Australia_Western' => {
1469             long => {
1470             'daylight' => q#Australian Western Daylight Time#,
1471             'generic' => q#Australian Western Time#,
1472             'standard' => q#Australian Western Standard Time#,
1473             },
1474             short => {
1475             'daylight' => q#AWDT#,
1476             'generic' => q#AWT#,
1477             'standard' => q#AWST#,
1478             },
1479             },
1480             'China' => {
1481             long => {
1482             'daylight' => q#China Summer Time#,
1483             'generic' => q#China Time#,
1484             'standard' => q#China Standard Time#,
1485             },
1486             },
1487             'Cook' => {
1488             long => {
1489             'daylight' => q#Cook Island Summer Time#,
1490             'generic' => q#Cook Island Time#,
1491             'standard' => q#Cook Island Standard Time#,
1492             },
1493             },
1494             'Gulf' => {
1495             short => {
1496             'standard' => q#Gulf ST#,
1497             },
1498             },
1499             'Japan' => {
1500             long => {
1501             'daylight' => q#Japan Summer Time#,
1502             'generic' => q#Japan Time#,
1503             'standard' => q#Japan Standard Time#,
1504             },
1505             },
1506             'Korea' => {
1507             long => {
1508             'daylight' => q#Korean Summer Time#,
1509             'generic' => q#Korea Time#,
1510             'standard' => q#Korean Standard Time#,
1511             },
1512             },
1513             'Lord_Howe' => {
1514             short => {
1515             'daylight' => q#LHDT#,
1516             'generic' => q#LHT#,
1517             'standard' => q#LHST#,
1518             },
1519             },
1520             'Moscow' => {
1521             long => {
1522             'daylight' => q#Moscow Daylight Time#,
1523             'generic' => q#Moscow Time#,
1524             'standard' => q#Moscow Standard Time#,
1525             },
1526             },
1527             'New_Zealand' => {
1528             short => {
1529             'daylight' => q#NZDT#,
1530             'generic' => q#NZT#,
1531             'standard' => q#NZST#,
1532             },
1533             },
1534             'Samoa' => {
1535             long => {
1536             'daylight' => q#Samoa Summer Time#,
1537             'generic' => q#Samoa Time#,
1538             'standard' => q#Samoa Standard Time#,
1539             },
1540             },
1541             'Taipei' => {
1542             long => {
1543             'daylight' => q#Taipei Summer Time#,
1544             'generic' => q#Taipei Time#,
1545             'standard' => q#Taipei Standard Time#,
1546             },
1547             },
1548             } }
1549             );
1550 1     1   6514 no Moo;
  1         3  
  1         9  
1551              
1552             1;
1553              
1554             # vim: tabstop=4