File Coverage

blib/lib/Locale/CLDR/Locales/Es/Any/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
4              
5             Locale::CLDR::Locales::Es::Any::Ve - Package for language Spanish
6              
7             =cut
8              
9             # This file auto generated from Data/common/main/es_VE.xml
10             # on Mon 11 Apr 5:27:26 pm GMT
11              
12             use strict;
13 1     1   1067 use warnings;
  1         2  
  1         26  
14 1     1   4 use version;
  1         2  
  1         20  
15 1     1   4  
  1         2  
  1         6  
16             our $VERSION = version->declare('v0.34.1');
17              
18             use v5.10.1;
19 1     1   87 use mro 'c3';
  1         3  
20 1     1   7 use utf8;
  1         2  
  1         7  
21 1     1   38 use if $^V ge v5.12.0, feature => 'unicode_strings';
  1         1  
  1         7  
22 1     1   30 use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
  1         2  
  1         12  
23 1     1   115 use Moo;
  1         2  
  1         8  
24 1     1   866  
  1         2  
  1         14  
25             extends('Locale::CLDR::Locales::Es::Any::419');
26             has 'display_name_language' => (
27             is => 'ro',
28             isa => CodeRef,
29             init_arg => undef,
30             default => sub {
31             sub {
32             my %languages = (
33             'ace' => 'acehnés',
34             'arp' => 'arapaho',
35             'bho' => 'bhojpuri',
36             'eu' => 'euskera',
37             'grc' => 'griego antiguo',
38             'lo' => 'lao',
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             'TA' => 'Tristán de Acuña',
66             'TL' => 'Timor-Leste',
67             'UM' => 'Islas menores alejadas de EE. UU.',
68              
69             }
70             },
71             );
72              
73             has 'number_symbols' => (
74             is => 'ro',
75             isa => HashRef,
76             init_arg => undef,
77             default => sub { {
78             'latn' => {
79             'decimal' => q(,),
80             'group' => q(.),
81             },
82             } }
83             );
84              
85             has 'number_currency_formats' => (
86             is => 'ro',
87             isa => HashRef,
88             init_arg => undef,
89             default => sub { {
90             'latn' => {
91             'pattern' => {
92             'default' => {
93             'standard' => {
94             'negative' => '¤-#,##0.00',
95             'positive' => '¤#,##0.00',
96             },
97             },
98             },
99             },
100             } },
101             );
102              
103             has 'currencies' => (
104             is => 'ro',
105             isa => HashRef,
106             init_arg => undef,
107             default => sub { {
108             'VEF' => {
109             symbol => 'Bs.',
110             },
111             'VES' => {
112             symbol => 'Bs.S',
113             display_name => {
114             'currency' => q(bolívar soberano),
115             'one' => q(bolívar soberano),
116             'other' => q(bolívares soberanos),
117             },
118             },
119             } },
120             );
121              
122              
123             has 'calendar_months' => (
124             is => 'ro',
125             isa => HashRef,
126             init_arg => undef,
127             default => sub { {
128             'gregorian' => {
129             'format' => {
130             abbreviated => {
131             nonleap => [
132             'ene.',
133             'feb.',
134             'mar.',
135             'abr.',
136             'may.',
137             'jun.',
138             'jul.',
139             'ago.',
140             'sept.',
141             'oct.',
142             'nov.',
143             'dic.'
144             ],
145             leap => [
146            
147             ],
148             },
149             },
150             'stand-alone' => {
151             abbreviated => {
152             nonleap => [
153             'ene.',
154             'feb.',
155             'mar.',
156             'abr.',
157             'may.',
158             'jun.',
159             'jul.',
160             'ago.',
161             'sept.',
162             'oct.',
163             'nov.',
164             'dic.'
165             ],
166             leap => [
167            
168             ],
169             },
170             },
171             },
172             } },
173             );
174              
175             has 'calendar_days' => (
176             is => 'ro',
177             isa => HashRef,
178             init_arg => undef,
179             default => sub { {
180             'gregorian' => {
181             'format' => {
182             short => {
183             mon => 'Lu',
184             tue => 'Ma',
185             wed => 'Mi',
186             thu => 'Ju',
187             fri => 'Vi',
188             sat => 'Sa',
189             sun => 'Do'
190             },
191             },
192             'stand-alone' => {
193             short => {
194             mon => 'Lu',
195             tue => 'Ma',
196             wed => 'Mi',
197             thu => 'Ju',
198             fri => 'Vi',
199             sat => 'Sa',
200             sun => 'Do'
201             },
202             },
203             },
204             } },
205             );
206              
207             has 'calendar_quarters' => (
208             is => 'ro',
209             isa => HashRef,
210             init_arg => undef,
211             default => sub { {
212             'gregorian' => {
213             'format' => {
214             wide => {0 => '1er trimestre',
215             1 => '2do trimestre',
216             2 => '3er trimestre',
217             3 => '4to trimestre'
218             },
219             },
220             'stand-alone' => {
221             wide => {0 => '1er trimestre',
222             1 => '2do trimestre',
223             2 => '3er trimestre',
224             3 => '4to trimestre'
225             },
226             },
227             },
228             } },
229             );
230              
231             has 'day_period_data' => (
232             is => 'ro',
233             isa => CodeRef,
234             init_arg => undef,
235             default => sub { sub {
236             # Time in hhmm format
237             my ($self, $type, $time, $day_period_type) = @_;
238             $day_period_type //= 'default';
239             SWITCH:
240             for ($type) {
241             if ($_ eq 'gregorian') {
242             if($day_period_type eq 'default') {
243             return 'noon' if $time == 1200;
244             return 'evening1' if $time >= 1200
245             && $time < 2000;
246             return 'morning1' if $time >= 0
247             && $time < 600;
248             return 'morning2' if $time >= 600
249             && $time < 1200;
250             return 'night1' if $time >= 2000
251             && $time < 2400;
252             }
253             if($day_period_type eq 'selection') {
254             return 'evening1' if $time >= 1200
255             && $time < 2000;
256             return 'morning1' if $time >= 0
257             && $time < 600;
258             return 'morning2' if $time >= 600
259             && $time < 1200;
260             return 'night1' if $time >= 2000
261             && $time < 2400;
262             }
263             last SWITCH;
264             }
265             }
266             } },
267             );
268              
269             around day_period_data => sub {
270             my ($orig, $self) = @_;
271             return $self->$orig;
272             };
273              
274             has 'day_periods' => (
275             is => 'ro',
276             isa => HashRef,
277             init_arg => undef,
278             default => sub { {
279             'gregorian' => {
280             'format' => {
281             'abbreviated' => {
282             'am' => q{a. m.},
283             'pm' => q{p. m.},
284             },
285             'wide' => {
286             'am' => q{a. m.},
287             'pm' => q{p. m.},
288             },
289             },
290             'stand-alone' => {
291             'abbreviated' => {
292             'am' => q{a. m.},
293             'pm' => q{p. m.},
294             },
295             'narrow' => {
296             'am' => q{a. m.},
297             'noon' => q{m.},
298             'pm' => q{p. m.},
299             },
300             'wide' => {
301             'am' => q{a. m.},
302             'pm' => q{p. m.},
303             },
304             },
305             },
306             } },
307             );
308              
309             has 'eras' => (
310             is => 'ro',
311             isa => HashRef,
312             init_arg => undef,
313             default => sub { {
314             'gregorian' => {
315             },
316             } },
317             );
318              
319             has 'date_formats' => (
320             is => 'ro',
321             isa => HashRef,
322             init_arg => undef,
323             default => sub { {
324             'gregorian' => {
325             },
326             } },
327             );
328              
329             has 'time_formats' => (
330             is => 'ro',
331             isa => HashRef,
332             init_arg => undef,
333             default => sub { {
334             'gregorian' => {
335             'full' => q{h:mm:ss a zzzz},
336             'long' => q{h:mm:ss a z},
337             'medium' => q{h:mm:ss a},
338             'short' => q{h:mm a},
339             },
340             } },
341             );
342              
343             has 'datetime_formats' => (
344             is => 'ro',
345             isa => HashRef,
346             init_arg => undef,
347             default => sub { {
348             'gregorian' => {
349             },
350             } },
351             );
352              
353             has 'datetime_formats_available_formats' => (
354             is => 'ro',
355             isa => HashRef,
356             init_arg => undef,
357             default => sub { {
358             'gregorian' => {
359             yMMMd => q{d MMM y},
360             },
361             } },
362             );
363              
364             has 'datetime_formats_append_item' => (
365             is => 'ro',
366             isa => HashRef,
367             init_arg => undef,
368             default => sub { {
369             } },
370             );
371              
372             has 'datetime_formats_interval' => (
373             is => 'ro',
374             isa => HashRef,
375             init_arg => undef,
376             default => sub { {
377             } },
378             );
379              
380             has 'time_zone_names' => (
381             is => 'ro',
382             isa => HashRef,
383             init_arg => undef,
384             default => sub { {
385             'Venezuela' => {
386             short => {
387             'standard' => q#VET#,
388             },
389             },
390             } }
391             );
392             no Moo;
393 1     1   1333  
  1         2  
  1         4  
394             1;
395              
396             # vim: tabstop=4