File Coverage

blib/lib/Locale/CLDR/Locales/Es/Latn/Ve.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::Ve - Package for language Spanish
6              
7             =cut
8              
9             package Locale::CLDR::Locales::Es::Latn::Ve;
10             # This file auto generated from Data\common\main\es_VE.xml
11             # on Fri 17 Jan 12:03:31 pm GMT
12              
13 1     1   1904 use strict;
  1         3  
  1         339  
14 1     1   10 use warnings;
  1         2  
  1         68  
15 1     1   8 use version;
  1         3  
  1         8  
16              
17             our $VERSION = version->declare('v0.46.0');
18              
19 1     1   175 use v5.12.0;
  1         5  
20 1     1   7 use mro 'c3';
  1         3  
  1         179  
21 1     1   63 use utf8;
  1         2  
  1         10  
22 1     1   48 use feature 'unicode_strings';
  1         2  
  1         180  
23 1     1   12 use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
  1         2  
  1         10  
24 1     1   3159 use Moo;
  1         3  
  1         8  
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 'number_symbols' => (
73             is => 'ro',
74             isa => HashRef,
75             init_arg => undef,
76             default => sub { {
77             'latn' => {
78             'decimal' => q(,),
79             'group' => q(.),
80             },
81             } }
82             );
83              
84             has 'number_currency_formats' => (
85             is => 'ro',
86             isa => HashRef,
87             init_arg => undef,
88             default => sub { {
89             'latn' => {
90             'pattern' => {
91             'default' => {
92             'standard' => {
93             'negative' => '¤-#,##0.00',
94             'positive' => '¤#,##0.00',
95             },
96             },
97             },
98             },
99             } },
100             );
101              
102             has 'currencies' => (
103             is => 'ro',
104             isa => HashRef,
105             init_arg => undef,
106             default => sub { {
107             'VEF' => {
108             symbol => 'Bs.',
109             },
110             'VES' => {
111             symbol => 'Bs.S',
112             display_name => {
113             'currency' => q(bolívar soberano),
114             'one' => q(bolívar soberano),
115             'other' => q(bolívares soberanos),
116             },
117             },
118             } },
119             );
120              
121              
122             has 'calendar_months' => (
123             is => 'ro',
124             isa => HashRef,
125             init_arg => undef,
126             default => sub { {
127             'gregorian' => {
128             'format' => {
129             abbreviated => {
130             nonleap => [
131             'ene.',
132             'feb.',
133             'mar.',
134             'abr.',
135             'may.',
136             'jun.',
137             'jul.',
138             'ago.',
139             'sept.',
140             'oct.',
141             'nov.',
142             'dic.'
143             ],
144             leap => [
145            
146             ],
147             },
148             },
149             },
150             } },
151             );
152              
153             has 'calendar_days' => (
154             is => 'ro',
155             isa => HashRef,
156             init_arg => undef,
157             default => sub { {
158             'gregorian' => {
159             'format' => {
160             short => {
161             mon => 'Lu',
162             tue => 'Ma',
163             wed => 'Mi',
164             thu => 'Ju',
165             fri => 'Vi',
166             sat => 'Sa',
167             sun => 'Do'
168             },
169             },
170             },
171             } },
172             );
173              
174             has 'calendar_quarters' => (
175             is => 'ro',
176             isa => HashRef,
177             init_arg => undef,
178             default => sub { {
179             'gregorian' => {
180             'format' => {
181             wide => {0 => '1er trimestre',
182             1 => '2do trimestre',
183             2 => '3er trimestre',
184             3 => '4to trimestre'
185             },
186             },
187             'stand-alone' => {
188             wide => {0 => '1er trimestre',
189             1 => '2do trimestre',
190             2 => '3er trimestre',
191             3 => '4to trimestre'
192             },
193             },
194             },
195             } },
196             );
197              
198             has 'day_period_data' => (
199             is => 'ro',
200             isa => CodeRef,
201             init_arg => undef,
202             default => sub { sub {
203             # Time in hhmm format
204             my ($self, $type, $time, $day_period_type) = @_;
205             $day_period_type //= 'default';
206             SWITCH:
207             for ($type) {
208             if ($_ eq 'gregorian') {
209             if($day_period_type eq 'default') {
210             return 'noon' if $time == 1200;
211             return 'evening1' if $time >= 1200
212             && $time < 2000;
213             return 'morning1' if $time >= 0
214             && $time < 600;
215             return 'morning2' if $time >= 600
216             && $time < 1200;
217             return 'night1' if $time >= 2000
218             && $time < 2400;
219             }
220             if($day_period_type eq 'selection') {
221             return 'evening1' if $time >= 1200
222             && $time < 2000;
223             return 'morning1' if $time >= 0
224             && $time < 600;
225             return 'morning2' if $time >= 600
226             && $time < 1200;
227             return 'night1' if $time >= 2000
228             && $time < 2400;
229             }
230             last SWITCH;
231             }
232             }
233             } },
234             );
235              
236             around day_period_data => sub {
237             my ($orig, $self) = @_;
238             return $self->$orig;
239             };
240              
241             has 'day_periods' => (
242             is => 'ro',
243             isa => HashRef,
244             init_arg => undef,
245             default => sub { {
246             'gregorian' => {
247             'format' => {
248             'abbreviated' => {
249             'am' => q{a. m.},
250             'pm' => q{p. m.},
251             },
252             'wide' => {
253             'am' => q{a. m.},
254             'pm' => q{p. m.},
255             },
256             },
257             'stand-alone' => {
258             'abbreviated' => {
259             'am' => q{a. m.},
260             'pm' => q{p. m.},
261             },
262             'narrow' => {
263             'am' => q{a. m.},
264             'noon' => q{m.},
265             'pm' => q{p. m.},
266             },
267             'wide' => {
268             'am' => q{a. m.},
269             'pm' => q{p. m.},
270             },
271             },
272             },
273             } },
274             );
275              
276             has 'eras' => (
277             is => 'ro',
278             isa => HashRef,
279             init_arg => undef,
280             default => sub { {
281             'gregorian' => {
282             },
283             } },
284             );
285              
286             has 'date_formats' => (
287             is => 'ro',
288             isa => HashRef,
289             init_arg => undef,
290             default => sub { {
291             'gregorian' => {
292             },
293             } },
294             );
295              
296             has 'time_formats' => (
297             is => 'ro',
298             isa => HashRef,
299             init_arg => undef,
300             default => sub { {
301             'gregorian' => {
302             },
303             } },
304             );
305              
306             has 'datetime_formats' => (
307             is => 'ro',
308             isa => HashRef,
309             init_arg => undef,
310             default => sub { {
311             'gregorian' => {
312             },
313             } },
314             );
315              
316             has 'datetime_formats_available_formats' => (
317             is => 'ro',
318             isa => HashRef,
319             init_arg => undef,
320             default => sub { {
321             } },
322             );
323              
324             has 'datetime_formats_append_item' => (
325             is => 'ro',
326             isa => HashRef,
327             init_arg => undef,
328             default => sub { {
329             } },
330             );
331              
332             has 'datetime_formats_interval' => (
333             is => 'ro',
334             isa => HashRef,
335             init_arg => undef,
336             default => sub { {
337             } },
338             );
339              
340             has 'time_zone_names' => (
341             is => 'ro',
342             isa => HashRef,
343             init_arg => undef,
344             default => sub { {
345             'Venezuela' => {
346             short => {
347             'standard' => q#VET#,
348             },
349             },
350             } }
351             );
352 1     1   2561 no Moo;
  1         2  
  1         8  
353              
354             1;
355              
356             # vim: tabstop=4