File Coverage

blib/lib/Locale/CLDR/Locales/Es/Latn/Co.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::Es::Latn::Co - Package for language Spanish
6              
7             =cut
8              
9             package Locale::CLDR::Locales::Es::Latn::Co;
10             # This file auto generated from Data\common\main\es_CO.xml
11             # on Fri 17 Jan 12:03:31 pm GMT
12              
13 1     1   1144 use strict;
  1         2  
  1         30  
14 1     1   3 use warnings;
  1         2  
  1         37  
15 1     1   4 use version;
  1         2  
  1         6  
16              
17             our $VERSION = version->declare('v0.46.0');
18              
19 1     1   91 use v5.12.0;
  1         3  
20 1     1   4 use mro 'c3';
  1         1  
  1         6  
21 1     1   43 use utf8;
  1         2  
  1         7  
22 1     1   27 use feature 'unicode_strings';
  1         1  
  1         102  
23 1     1   5 use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
  1         1  
  1         7  
24 1     1   1806 use Moo;
  1         2  
  1         5  
25              
26             extends('Locale::CLDR::Locales::Es::Latn::419');
27             has 'display_name_language' => (
28             is => 'ro',
29             isa => CodeRef,
30             init_arg => undef,
31             default => sub {
32             sub {
33             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             if (@_) {
50             return $languages{$_[0]};
51             }
52             return \%languages;
53             }
54             },
55             );
56              
57             has 'display_name_region' => (
58             is => 'ro',
59             isa => HashRef[Str],
60             init_arg => undef,
61             default => sub {
62             {
63             '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             );
71              
72             has 'units' => (
73             is => 'ro',
74             isa => HashRef[HashRef[HashRef[Str]]],
75             init_arg => undef,
76             default => sub { {
77             'long' => {
78             # Long Unit Identifier
79             'duration-month' => {
80             'per' => q({0}/mes),
81             },
82             # Core Unit Identifier
83             'month' => {
84             'per' => q({0}/mes),
85             },
86             # Long Unit Identifier
87             'duration-week' => {
88             'per' => q({0}/sem.),
89             },
90             # Core Unit Identifier
91             'week' => {
92             'per' => q({0}/sem.),
93             },
94             },
95             'narrow' => {
96             # Long Unit Identifier
97             'duration-day' => {
98             'name' => q(día),
99             'one' => q({0} día),
100             'other' => q({0} días),
101             },
102             # Core Unit Identifier
103             'day' => {
104             'name' => q(día),
105             'one' => q({0} día),
106             'other' => q({0} días),
107             },
108             # Long Unit Identifier
109             'duration-hour' => {
110             'one' => q({0} h),
111             'other' => q({0} h),
112             },
113             # Core Unit Identifier
114             'hour' => {
115             'one' => q({0} h),
116             'other' => q({0} h),
117             },
118             # Long Unit Identifier
119             'duration-millisecond' => {
120             'one' => q({0} ms),
121             'other' => q({0} ms),
122             },
123             # Core Unit Identifier
124             'millisecond' => {
125             'one' => q({0} ms),
126             'other' => q({0} ms),
127             },
128             # Long Unit Identifier
129             'duration-minute' => {
130             'one' => q({0} min),
131             'other' => q({0} min),
132             },
133             # Core Unit Identifier
134             'minute' => {
135             'one' => q({0} min),
136             'other' => q({0} min),
137             },
138             # Long Unit Identifier
139             'duration-month' => {
140             'name' => q(mes),
141             'one' => q({0} mes),
142             'other' => q({0} meses),
143             },
144             # Core Unit Identifier
145             'month' => {
146             'name' => q(mes),
147             'one' => q({0} mes),
148             'other' => q({0} meses),
149             },
150             # Long Unit Identifier
151             'duration-second' => {
152             'one' => q({0} s),
153             'other' => q({0} s),
154             },
155             # Core Unit Identifier
156             'second' => {
157             'one' => q({0} s),
158             'other' => q({0} s),
159             },
160             # Long Unit Identifier
161             'duration-week' => {
162             'one' => q({0} sem.),
163             'other' => q({0} sems.),
164             },
165             # Core Unit Identifier
166             'week' => {
167             'one' => q({0} sem.),
168             'other' => q({0} sems.),
169             },
170             # Long Unit Identifier
171             'duration-year' => {
172             'one' => q({0} a.),
173             'other' => q({0} a.),
174             },
175             # Core Unit Identifier
176             'year' => {
177             'one' => q({0} a.),
178             'other' => q({0} a.),
179             },
180             },
181             'short' => {
182             # Long Unit Identifier
183             'duration-day' => {
184             'name' => q(días),
185             'one' => q({0} día),
186             'other' => q({0} días),
187             'per' => q({0}/día),
188             },
189             # Core Unit Identifier
190             'day' => {
191             'name' => q(días),
192             'one' => q({0} día),
193             'other' => q({0} días),
194             'per' => q({0}/día),
195             },
196             # Long Unit Identifier
197             'duration-month' => {
198             'name' => q(mes),
199             'one' => q({0} mes),
200             'other' => q({0} meses),
201             'per' => q({0}/mes),
202             },
203             # Core Unit Identifier
204             'month' => {
205             'name' => q(mes),
206             'one' => q({0} mes),
207             'other' => q({0} meses),
208             'per' => q({0}/mes),
209             },
210             # Long Unit Identifier
211             'duration-year' => {
212             'name' => q(a.),
213             'one' => q({0} a.),
214             'other' => q({0} a.),
215             'per' => q({0}/año),
216             },
217             # Core Unit Identifier
218             'year' => {
219             'name' => q(a.),
220             'one' => q({0} a.),
221             'other' => q({0} a.),
222             'per' => q({0}/año),
223             },
224             },
225             } }
226             );
227              
228             has 'number_symbols' => (
229             is => 'ro',
230             isa => HashRef,
231             init_arg => undef,
232             default => sub { {
233             'latn' => {
234             'decimal' => q(,),
235             'group' => q(.),
236             },
237             } }
238             );
239              
240             has 'number_currency_formats' => (
241             is => 'ro',
242             isa => HashRef,
243             init_arg => undef,
244             default => sub { {
245             'latn' => {
246             'pattern' => {
247             'default' => {
248             'standard' => {
249             'positive' => '¤ #,##0.00',
250             },
251             },
252             },
253             },
254             } },
255             );
256              
257             has 'currencies' => (
258             is => 'ro',
259             isa => HashRef,
260             init_arg => undef,
261             default => sub { {
262             'COP' => {
263             symbol => '$',
264             },
265             'USD' => {
266             symbol => 'US$',
267             },
268             } },
269             );
270              
271              
272             has 'calendar_months' => (
273             is => 'ro',
274             isa => HashRef,
275             init_arg => undef,
276             default => sub { {
277             'gregorian' => {
278             'stand-alone' => {
279             abbreviated => {
280             nonleap => [
281             'ene.',
282             'feb.',
283             'mar.',
284             'abr.',
285             'may.',
286             'jun.',
287             'jul.',
288             'ago.',
289             'sept.',
290             'oct.',
291             'nov.',
292             'dic.'
293             ],
294             leap => [
295            
296             ],
297             },
298             },
299             },
300             } },
301             );
302              
303             has 'calendar_days' => (
304             is => 'ro',
305             isa => HashRef,
306             init_arg => undef,
307             default => sub { {
308             'gregorian' => {
309             'format' => {
310             narrow => {
311             mon => 'L',
312             tue => 'M',
313             wed => 'm',
314             thu => 'J',
315             fri => 'V',
316             sat => 'S',
317             sun => 'D'
318             },
319             },
320             'stand-alone' => {
321             narrow => {
322             mon => 'l',
323             tue => 'm',
324             wed => 'm',
325             thu => 'j',
326             fri => 'v',
327             sat => 's',
328             sun => 'd'
329             },
330             },
331             },
332             } },
333             );
334              
335             has 'day_period_data' => (
336             is => 'ro',
337             isa => CodeRef,
338             init_arg => undef,
339             default => sub { sub {
340             # Time in hhmm format
341             my ($self, $type, $time, $day_period_type) = @_;
342             $day_period_type //= 'default';
343             SWITCH:
344             for ($type) {
345             if ($_ eq 'generic') {
346             if($day_period_type eq 'default') {
347             return 'noon' if $time == 1200;
348             return 'evening1' if $time >= 1200
349             && $time < 2000;
350             return 'morning1' if $time >= 0
351             && $time < 600;
352             return 'morning2' if $time >= 600
353             && $time < 1200;
354             return 'night1' if $time >= 2000
355             && $time < 2400;
356             }
357             if($day_period_type eq 'selection') {
358             return 'evening1' if $time >= 1200
359             && $time < 2000;
360             return 'morning1' if $time >= 0
361             && $time < 600;
362             return 'morning2' if $time >= 600
363             && $time < 1200;
364             return 'night1' if $time >= 2000
365             && $time < 2400;
366             }
367             last SWITCH;
368             }
369             if ($_ eq 'gregorian') {
370             if($day_period_type eq 'default') {
371             return 'noon' if $time == 1200;
372             return 'evening1' if $time >= 1200
373             && $time < 2000;
374             return 'morning1' if $time >= 0
375             && $time < 600;
376             return 'morning2' if $time >= 600
377             && $time < 1200;
378             return 'night1' if $time >= 2000
379             && $time < 2400;
380             }
381             if($day_period_type eq 'selection') {
382             return 'evening1' if $time >= 1200
383             && $time < 2000;
384             return 'morning1' if $time >= 0
385             && $time < 600;
386             return 'morning2' if $time >= 600
387             && $time < 1200;
388             return 'night1' if $time >= 2000
389             && $time < 2400;
390             }
391             last SWITCH;
392             }
393             }
394             } },
395             );
396              
397             around day_period_data => sub {
398             my ($orig, $self) = @_;
399             return $self->$orig;
400             };
401              
402             has 'day_periods' => (
403             is => 'ro',
404             isa => HashRef,
405             init_arg => undef,
406             default => sub { {
407             'gregorian' => {
408             'format' => {
409             'abbreviated' => {
410             'am' => q{a. m.},
411             'evening1' => q{de la tarde},
412             'morning2' => q{de la mañana},
413             'night1' => q{de la noche},
414             'noon' => q{m.},
415             'pm' => q{p. m.},
416             },
417             'wide' => {
418             'am' => q{a. m.},
419             'pm' => q{p. m.},
420             },
421             },
422             'stand-alone' => {
423             'abbreviated' => {
424             'am' => q{a. m.},
425             'noon' => q{m.},
426             'pm' => q{p. m.},
427             },
428             'narrow' => {
429             'am' => q{a. m.},
430             'pm' => q{p. m.},
431             },
432             'wide' => {
433             'am' => q{a. m.},
434             'pm' => q{p. m.},
435             },
436             },
437             },
438             } },
439             );
440              
441             has 'eras' => (
442             is => 'ro',
443             isa => HashRef,
444             init_arg => undef,
445             default => sub { {
446             'generic' => {
447             },
448             'gregorian' => {
449             },
450             } },
451             );
452              
453             has 'date_formats' => (
454             is => 'ro',
455             isa => HashRef,
456             init_arg => undef,
457             default => sub { {
458             'generic' => {
459             'medium' => q{d/MM/y G},
460             'short' => q{d/MM/yy GGGGG},
461             },
462             'gregorian' => {
463             'medium' => q{d/MM/y},
464             'short' => q{d/MM/yy},
465             },
466             } },
467             );
468              
469             has 'time_formats' => (
470             is => 'ro',
471             isa => HashRef,
472             init_arg => undef,
473             default => sub { {
474             'generic' => {
475             },
476             'gregorian' => {
477             },
478             } },
479             );
480              
481             has 'datetime_formats' => (
482             is => 'ro',
483             isa => HashRef,
484             init_arg => undef,
485             default => sub { {
486             'generic' => {
487             'medium' => q{{1}, {0}},
488             'short' => q{{1}, {0}},
489             },
490             'gregorian' => {
491             'medium' => q{{1}, {0}},
492             'short' => q{{1}, {0}},
493             },
494             } },
495             );
496              
497             has 'datetime_formats_available_formats' => (
498             is => 'ro',
499             isa => HashRef,
500             init_arg => undef,
501             default => sub { {
502             'generic' => {
503             GyMMMEd => q{E, d MMM 'de' y G},
504             },
505             'gregorian' => {
506             GyMMM => q{MMM 'de' y G},
507             GyMMMEd => q{E, d MMM 'de' y G},
508             H => q{H},
509             Hm => q{H:mm},
510             Hms => q{H:mm:ss},
511             MMMEd => q{E, d 'de' MMM},
512             MMMd => q{d 'de' MMM},
513             MMMdd => q{d 'de' MMM},
514             yMEd => q{EEE, d/M/y},
515             yMMM => q{MMM 'de' y},
516             yMMMd => q{d 'de' MMM 'de' y},
517             },
518             } },
519             );
520              
521             has 'datetime_formats_append_item' => (
522             is => 'ro',
523             isa => HashRef,
524             init_arg => undef,
525             default => sub { {
526             } },
527             );
528              
529             has 'datetime_formats_interval' => (
530             is => 'ro',
531             isa => HashRef,
532             init_arg => undef,
533             default => sub { {
534             'generic' => {
535             H => {
536             H => q{H–H},
537             },
538             Hm => {
539             H => q{H:mm–H:mm},
540             m => q{H:mm–H:mm},
541             },
542             Hmv => {
543             H => q{H:mm–H:mm v},
544             m => q{H:mm–H:mm v},
545             },
546             Hv => {
547             H => q{H–H v},
548             },
549             M => {
550             M => q{M 'a' M},
551             },
552             MEd => {
553             M => q{E d/MM 'al' E d/MM},
554             d => q{E d/MM 'a' E d/MM},
555             },
556             MMM => {
557             M => q{MMM 'a' MMM},
558             },
559             MMMEd => {
560             M => q{E d 'de' MMM 'al' E d 'de' MMM},
561             d => q{E d 'al' E d 'de' MMM},
562             },
563             MMMd => {
564             M => q{d 'de' MMM 'al' d 'de' MMM},
565             d => q{d 'a' d 'de' MMM},
566             },
567             Md => {
568             M => q{d/MM 'al' d/MM},
569             d => q{d/MM 'a' d/MM},
570             },
571             d => {
572             d => q{d 'a' d},
573             },
574             fallback => '{0} ‘al’ {1}',
575             hm => {
576             h => q{h:mm–h:mm a},
577             m => q{h:mm–h:mm a},
578             },
579             hmv => {
580             h => q{h:mm–h:mm a v},
581             m => q{h:mm–h:mm a v},
582             },
583             y => {
584             y => q{y 'a' y G},
585             },
586             yM => {
587             M => q{M/y 'a' M/y GGGGG},
588             y => q{M/y 'al' M/y GGGGG},
589             },
590             yMEd => {
591             M => q{E, d/M/y 'al' E, d/M/y GGGGG},
592             d => q{E, d/M/y 'a' E, d/M/y GGGGG},
593             y => q{E, d/M/y 'al' E, d/M/y GGGGG},
594             },
595             yMMM => {
596             M => q{MMM 'a' MMM 'de' y G},
597             y => q{MMM 'de' y 'a' MMM 'de' y},
598             },
599             yMMMEd => {
600             M => q{E d 'de' MMM 'al' E d 'de' MMM 'de' y G},
601             d => q{E d 'de' MMM 'al' E d 'de' MMM 'de' y G},
602             y => q{E d 'de' MMM 'de' y 'al' E d 'de' MMM 'de' y G},
603             },
604             yMMMM => {
605             M => q{MMMM 'a' MMMM 'de' y G},
606             y => q{MMMM 'de' y 'a' MMMM 'de' y G},
607             },
608             yMMMd => {
609             M => q{d 'de' MMM 'al' d 'de' MMM y G},
610             d => q{d 'a' d 'de' MMM 'de' y G},
611             y => q{d 'de' MMM 'de' y 'al' d 'de' MMM 'de' y G},
612             },
613             yMd => {
614             M => q{d/M/y 'al' d/M/y GGGGG},
615             d => q{d/M/y 'a' d/M/y GGGGG},
616             y => q{d/M/y 'al' d/M/y GGGGG},
617             },
618             },
619             'gregorian' => {
620             H => {
621             H => q{HH 'a' HH},
622             },
623             Hm => {
624             H => q{HH:mm 'a' HH:mm},
625             m => q{HH:mm 'a' HH:mm},
626             },
627             Hmv => {
628             H => q{HH:mm 'a' HH:mm v},
629             m => q{HH:mm 'a' HH:mm v},
630             },
631             Hv => {
632             H => q{HH 'a' HH v},
633             },
634             M => {
635             M => q{M 'a' M},
636             },
637             MEd => {
638             M => q{E d/MM 'al' E d/MM},
639             d => q{E d/MM 'a' E d/MM},
640             },
641             MMM => {
642             M => q{MMM 'a' MMM},
643             },
644             MMMEd => {
645             M => q{E d 'de' MMM 'al' E d 'de' MMM},
646             d => q{E d 'al' E d 'de' MMM},
647             },
648             MMMd => {
649             M => q{d 'de' MMM 'al' d 'de' MMM},
650             d => q{d 'a' d 'de' MMM},
651             },
652             Md => {
653             M => q{d/MM 'al' d/MM},
654             d => q{d/MM 'a' d/MM},
655             },
656             d => {
657             d => q{d 'a' d},
658             },
659             fallback => '{0} ‘al’ {1}',
660             h => {
661             a => q{h a 'a' h a},
662             h => q{h 'a' h a},
663             },
664             hm => {
665             a => q{h:mm a 'a' h:mm a},
666             h => q{h:mm 'a' h:mm a},
667             m => q{h:mm 'a' h:mm a},
668             },
669             hmv => {
670             a => q{h:mm a 'a' h:mm a v},
671             h => q{h:mm 'a' h:mm a v},
672             m => q{h:mm 'a' h:mm a v},
673             },
674             hv => {
675             a => q{h a 'a' h a v},
676             h => q{h 'a' h a v},
677             },
678             y => {
679             y => q{y 'a' y},
680             },
681             yM => {
682             M => q{MM/y 'a' MM/y},
683             y => q{MM/y 'al' MM/y},
684             },
685             yMEd => {
686             M => q{E d/MM/y 'al' E d/MM/y},
687             d => q{E d/MM/y 'a' E d/MM/y},
688             y => q{E d/MM/y 'al' E d/MM/y},
689             },
690             yMMM => {
691             M => q{MMM 'a' MMM 'de' y},
692             y => q{MMM 'de' y 'a' MMM 'de' y},
693             },
694             yMMMEd => {
695             M => q{E d 'de' MMM 'al' E d 'de' MMM 'de' y},
696             d => q{E d 'al' E d 'de' MMM 'de' y},
697             y => q{E d 'de' MMM 'de' y 'al' E d 'de' MMM 'de' y},
698             },
699             yMMMM => {
700             M => q{MMMM 'a' MMMM 'de' y},
701             y => q{MMMM 'de' y 'a' MMMM 'de' y},
702             },
703             yMMMd => {
704             M => q{d 'de' MMM 'al' d 'de' MMM 'de' y},
705             d => q{d 'a' d 'de' MMM 'de' y},
706             y => q{d 'de' MMM 'de' y 'al' d 'de' MMM 'de' y},
707             },
708             yMd => {
709             M => q{d/MM/y 'al' d/MM/y},
710             d => q{d/MM/y 'a' d/MM/y},
711             y => q{d/MM/y 'al' d/MM/y},
712             },
713             },
714             } },
715             );
716              
717             has 'time_zone_names' => (
718             is => 'ro',
719             isa => HashRef,
720             init_arg => undef,
721             default => sub { {
722             'Colombia' => {
723             short => {
724             'daylight' => q#COST#,
725             'generic' => q#COT#,
726             'standard' => q#COT#,
727             },
728             },
729             } }
730             );
731 1     1   1964 no Moo;
  1         1  
  1         5  
732              
733             1;
734              
735             # vim: tabstop=4