File Coverage

blib/lib/Locale/CLDR/Locales/Es/Any/Ve.pm
Criterion Covered Total %
statement 23 23 100.0
branch n/a
condition n/a
subroutine 8 8 100.0
pod n/a
total 31 31 100.0


line stmt bran cond sub pod time code
1             =head1
2              
3             Locale::CLDR::Locales::Es::Any::Ve - Package for language Spanish
4              
5             =cut
6              
7             package Locale::CLDR::Locales::Es::Any::Ve;
8             # This file auto generated from Data\common\main\es_VE.xml
9             # on Sun 24 Apr 8:25:49 am GMT
10              
11 1     1   4745 use version;
  1         2  
  1         12  
12              
13             our $VERSION = version->declare('v0.29.0');
14              
15 1     1   159 use v5.10.1;
  1         5  
16 1     1   7 use mro 'c3';
  1         2  
  1         11  
17 1     1   55 use utf8;
  1         3  
  1         11  
18 1     1   51 use if $^V ge v5.12.0, feature => 'unicode_strings';
  1         2  
  1         21  
19              
20 1     1   175 use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
  1         2  
  1         14  
21 1     1   1203 use Moo;
  1         2  
  1         9  
22              
23             extends('Locale::CLDR::Locales::Es::Any::419');
24             has 'number_symbols' => (
25             is => 'ro',
26             isa => HashRef,
27             init_arg => undef,
28             default => sub { {
29             'latn' => {
30             'decimal' => q(,),
31             'group' => q(.),
32             },
33             } }
34             );
35              
36             has 'number_currency_formats' => (
37             is => 'ro',
38             isa => HashRef,
39             init_arg => undef,
40             default => sub { {
41             'latn' => {
42             'pattern' => {
43             'default' => {
44             'standard' => {
45             'negative' => '¤-#,##0.00',
46             'positive' => '¤#,##0.00',
47             },
48             },
49             },
50             },
51             } },
52             );
53              
54             has 'currencies' => (
55             is => 'ro',
56             isa => HashRef,
57             init_arg => undef,
58             default => sub { {
59             'VEF' => {
60             symbol => 'Bs.',
61             },
62             } },
63             );
64              
65              
66             has 'calendar_months' => (
67             is => 'ro',
68             isa => HashRef,
69             init_arg => undef,
70             default => sub { {
71             'gregorian' => {
72             'format' => {
73             abbreviated => {
74             nonleap => [
75             'ene.',
76             'feb.',
77             'mar.',
78             'abr.',
79             'may.',
80             'jun.',
81             'jul.',
82             'ago.',
83             'sept.',
84             'oct.',
85             'nov.',
86             'dic.'
87             ],
88             leap => [
89            
90             ],
91             },
92             narrow => {
93             nonleap => [
94             'E',
95             'F',
96             'M',
97             'A',
98             'M',
99             'J',
100             'J',
101             'A',
102             'S',
103             'O',
104             'N',
105             'D'
106             ],
107             leap => [
108            
109             ],
110             },
111             },
112             'stand-alone' => {
113             abbreviated => {
114             nonleap => [
115             'ene.',
116             'feb.',
117             'mar.',
118             'abr.',
119             'may.',
120             'jun.',
121             'jul.',
122             'ago.',
123             'sept.',
124             'oct.',
125             'nov.',
126             'dic.'
127             ],
128             leap => [
129            
130             ],
131             },
132             },
133             },
134             } },
135             );
136              
137             has 'calendar_days' => (
138             is => 'ro',
139             isa => HashRef,
140             init_arg => undef,
141             default => sub { {
142             'gregorian' => {
143             'format' => {
144             short => {
145             mon => 'Lu',
146             tue => 'Ma',
147             wed => 'Mi',
148             thu => 'Ju',
149             fri => 'Vi',
150             sat => 'Sa',
151             sun => 'Do'
152             },
153             },
154             'stand-alone' => {
155             short => {
156             mon => 'Lu',
157             tue => 'Ma',
158             wed => 'Mi',
159             thu => 'Ju',
160             fri => 'Vi',
161             sat => 'Sa',
162             sun => 'Do'
163             },
164             },
165             },
166             } },
167             );
168              
169             has 'calendar_quarters' => (
170             is => 'ro',
171             isa => HashRef,
172             init_arg => undef,
173             default => sub { {
174             'gregorian' => {
175             'format' => {
176             wide => {0 => '1er trimestre',
177             1 => '2do trimestre',
178             2 => '3er trimestre',
179             3 => '4to trimestre'
180             },
181             },
182             'stand-alone' => {
183             wide => {0 => '1er trimestre',
184             1 => '2do trimestre',
185             2 => '3er trimestre',
186             3 => '4to trimestre'
187             },
188             },
189             },
190             } },
191             );
192              
193             has 'day_period_data' => (
194             is => 'ro',
195             isa => CodeRef,
196             init_arg => undef,
197             default => sub { sub {
198             # Time in hhmm format
199             my ($self, $type, $time, $day_period_type) = @_;
200             $day_period_type //= 'default';
201             SWITCH:
202             for ($type) {
203             if ($_ eq 'gregorian') {
204             if($day_period_type eq 'default') {
205             return 'noon' if $time == 1200;
206             return 'evening1' if $time >= 1200
207             && $time < 2000;
208             return 'night1' if $time >= 2000
209             && $time < 2400;
210             return 'morning2' if $time >= 600
211             && $time < 1200;
212             return 'morning1' if $time >= 0
213             && $time < 600;
214             }
215             if($day_period_type eq 'selection') {
216             return 'night1' if $time >= 2000
217             && $time < 2400;
218             return 'morning2' if $time >= 600
219             && $time < 1200;
220             return 'morning1' if $time >= 0
221             && $time < 600;
222             return 'evening1' if $time >= 1200
223             && $time < 2000;
224             }
225             last SWITCH;
226             }
227             }
228             } },
229             );
230              
231             around day_period_data => sub {
232             my ($orig, $self) = @_;
233             return $self->$orig;
234             };
235              
236             has 'day_periods' => (
237             is => 'ro',
238             isa => HashRef,
239             init_arg => undef,
240             default => sub { {
241             'gregorian' => {
242             'format' => {
243             'wide' => {
244             'pm' => q{p. m.},
245             'am' => q{a. m.},
246             },
247             },
248             'stand-alone' => {
249             'narrow' => {
250             'noon' => q{m.},
251             },
252             },
253             },
254             } },
255             );
256              
257             has 'eras' => (
258             is => 'ro',
259             isa => HashRef,
260             init_arg => undef,
261             default => sub { {
262             'gregorian' => {
263             },
264             } },
265             );
266              
267             has 'date_formats' => (
268             is => 'ro',
269             isa => HashRef,
270             init_arg => undef,
271             default => sub { {
272             'gregorian' => {
273             },
274             } },
275             );
276              
277             has 'time_formats' => (
278             is => 'ro',
279             isa => HashRef,
280             init_arg => undef,
281             default => sub { {
282             'gregorian' => {
283             'full' => q{h:mm:ss a zzzz},
284             'long' => q{h:mm:ss a z},
285             'medium' => q{h:mm:ss a},
286             'short' => q{h:mm a},
287             },
288             } },
289             );
290              
291             has 'datetime_formats' => (
292             is => 'ro',
293             isa => HashRef,
294             init_arg => undef,
295             default => sub { {
296             'gregorian' => {
297             },
298             } },
299             );
300              
301             has 'datetime_formats_available_formats' => (
302             is => 'ro',
303             isa => HashRef,
304             init_arg => undef,
305             default => sub { {
306             'gregorian' => {
307             yMMMd => q{d MMM y},
308             },
309             } },
310             );
311              
312             has 'datetime_formats_append_item' => (
313             is => 'ro',
314             isa => HashRef,
315             init_arg => undef,
316             default => sub { {
317             } },
318             );
319              
320             has 'datetime_formats_interval' => (
321             is => 'ro',
322             isa => HashRef,
323             init_arg => undef,
324             default => sub { {
325             } },
326             );
327              
328             has 'time_zone_names' => (
329             is => 'ro',
330             isa => HashRef,
331             init_arg => undef,
332             default => sub { {
333             'Venezuela' => {
334             short => {
335             'standard' => q(VET),
336             },
337             },
338             } }
339             );
340 1     1   4368 no Moo;
  1         2  
  1         9  
341              
342             1;
343              
344             # vim: tabstop=4