File Coverage

blib/lib/Locale/CLDR/Locales/Cad.pm
Criterion Covered Total %
statement 32 32 100.0
branch n/a
condition n/a
subroutine 11 11 100.0
pod n/a
total 43 43 100.0


line stmt bran cond sub pod time code
1             =encoding utf8
2              
3             =head1 NAME
4              
5             Locale::CLDR::Locales::Cad - Package for language Caddo
6              
7             =cut
8              
9             package Locale::CLDR::Locales::Cad;
10             # This file auto generated from Data\common\main\cad.xml
11             # on Fri 17 Jan 12:03:31 pm GMT
12              
13 1     1   1727500 use strict;
  1         2  
  1         41  
14 1     1   5 use warnings;
  1         7  
  1         56  
15 1     1   4 use version;
  1         3  
  1         7  
16              
17             our $VERSION = version->declare('v0.46.0');
18              
19 1     1   129 use v5.12.0;
  1         4  
20 1     1   5 use mro 'c3';
  1         4  
  1         8  
21 1     1   90 use utf8;
  1         2  
  1         10  
22 1     1   61 use feature 'unicode_strings';
  1         3  
  1         202  
23 1     1   9 use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
  1         3  
  1         10  
24 1     1   3026 use Moo;
  1         8  
  1         8  
25              
26             extends('Locale::CLDR::Locales::Root');
27             has 'display_name_language' => (
28             is => 'ro',
29             isa => CodeRef,
30             init_arg => undef,
31             default => sub {
32             sub {
33             my %languages = (
34             'cad' => 'Caddo',
35              
36             );
37             if (@_) {
38             return $languages{$_[0]};
39             }
40             return \%languages;
41             }
42             },
43             );
44              
45             has 'display_name_region' => (
46             is => 'ro',
47             isa => HashRef[Str],
48             init_arg => undef,
49             default => sub {
50             {
51             'US' => 'United States',
52              
53             }
54             },
55             );
56              
57             has 'characters' => (
58             is => 'ro',
59             isa => HashRef,
60             init_arg => undef,
61             default => $^V ge v5.18.0
62             ? eval <<'EOT'
63             sub {
64             no warnings 'experimental::regex_sets';
65             return {
66             auxiliary => qr{[c f g j l q r v x z]},
67             index => ['A', 'B', '{CH}', 'D', 'E', 'H', 'I', 'K', 'M', 'N', 'O', 'P', 'S', '{SH}', 'T', '{TS}', 'U', 'W', 'Y'],
68             main => qr{[aáà {aː}{áː}{àː} b {ch} {chʼ} d eéè {eː}{éː}{èː} h iíì {iː}{íː}{ìː} k {kʼ} m n oóò {oː}{óː}{òː} p s t {tsʼ} {tʼ} uúù {uː}{úː}{ùː} w y ˀ ʼ]},
69             punctuation => qr{[\- ‐‑ – — , ; \: ! ? . … '‘’ "“” ( ) \[ \] § @ * / \& # † ‡ ′ ″]},
70             };
71             },
72             EOT
73             : sub {
74             return { index => ['A', 'B', '{CH}', 'D', 'E', 'H', 'I', 'K', 'M', 'N', 'O', 'P', 'S', '{SH}', 'T', '{TS}', 'U', 'W', 'Y'], };
75             },
76 1     1   210 );
  1         3  
  1         349  
77              
78              
79             has 'units' => (
80             is => 'ro',
81             isa => HashRef[HashRef[HashRef[Str]]],
82             init_arg => undef,
83             default => sub { {
84             'long' => {
85             # Long Unit Identifier
86             'duration-day' => {
87             'name' => q(Kaˀisch’áyˀah),
88             'other' => q({0} Kaˀisch’áyˀah),
89             },
90             # Core Unit Identifier
91             'day' => {
92             'name' => q(Kaˀisch’áyˀah),
93             'other' => q({0} Kaˀisch’áyˀah),
94             },
95             # Long Unit Identifier
96             'duration-month' => {
97             'name' => q(Nish),
98             'other' => q(Nish {0}),
99             },
100             # Core Unit Identifier
101             'month' => {
102             'name' => q(Nish),
103             'other' => q(Nish {0}),
104             },
105             # Long Unit Identifier
106             'duration-week' => {
107             'name' => q(Wísts’iˀ inikuˀ),
108             'other' => q(Wísts’iˀ inikuˀ {0}),
109             },
110             # Core Unit Identifier
111             'week' => {
112             'name' => q(Wísts’iˀ inikuˀ),
113             'other' => q(Wísts’iˀ inikuˀ {0}),
114             },
115             },
116             } }
117             );
118              
119             has 'currencies' => (
120             is => 'ro',
121             isa => HashRef,
122             init_arg => undef,
123             default => sub { {
124             'USD' => {
125             symbol => '$',
126             },
127             } },
128             );
129              
130              
131             has 'calendar_months' => (
132             is => 'ro',
133             isa => HashRef,
134             init_arg => undef,
135             default => sub { {
136             'gregorian' => {
137             'format' => {
138             wide => {
139             nonleap => [
140             'Cháykáhday Haˀimay',
141             'Tsahkápbiˀ',
142             'Wánit',
143             'Háshnihtiˀtiˀ',
144             'Háshnih Haˀimay',
145             'Háshnihtsiˀ',
146             'Násˀahˀatsus',
147             'Dahósikah nish',
148             'Híisikah nish',
149             'Nípbaatiˀtiˀ',
150             'Nípbaa Haˀimay',
151             'Cháykáhdaytiˀtiˀ'
152             ],
153             leap => [
154            
155             ],
156             },
157             },
158             },
159             } },
160             );
161              
162             has 'calendar_days' => (
163             is => 'ro',
164             isa => HashRef,
165             init_arg => undef,
166             default => sub { {
167             'gregorian' => {
168             'format' => {
169             wide => {
170             mon => 'Wísts’i hayashuh',
171             tue => 'Bít hayashuh',
172             wed => 'Dahó hayashuh',
173             thu => 'Hiwí hayashuh',
174             fri => 'Dissik’an hayashuh',
175             sat => 'Inikuˀtiˀtiˀ',
176             sun => 'Inikuˀ'
177             },
178             },
179             },
180             } },
181             );
182              
183             has 'eras' => (
184             is => 'ro',
185             isa => HashRef,
186             init_arg => undef,
187             default => sub { {
188             'generic' => {
189             },
190             'gregorian' => {
191             },
192             } },
193             );
194              
195             has 'date_formats' => (
196             is => 'ro',
197             isa => HashRef,
198             init_arg => undef,
199             default => sub { {
200             'generic' => {
201             'full' => q{EEEE, MMMM d, y G},
202             'long' => q{MMMM d, y G},
203             'medium' => q{MMM d, y G},
204             'short' => q{M/d/y GGGGG},
205             },
206             'gregorian' => {
207             'full' => q{EEEE, MMMM d, y},
208             'long' => q{MMMM d, y},
209             'medium' => q{MMM d, y},
210             'short' => q{M/d/yy},
211             },
212             } },
213             );
214              
215             has 'time_formats' => (
216             is => 'ro',
217             isa => HashRef,
218             init_arg => undef,
219             default => sub { {
220             'generic' => {
221             },
222             'gregorian' => {
223             'full' => q{h:mm:ss a zzzz},
224             'long' => q{h:mm:ss a z},
225             'medium' => q{h:mm:ss a},
226             'short' => q{h:mm a},
227             },
228             } },
229             );
230              
231             has 'datetime_formats' => (
232             is => 'ro',
233             isa => HashRef,
234             init_arg => undef,
235             default => sub { {
236             'generic' => {
237             },
238             'gregorian' => {
239             },
240             } },
241             );
242              
243             has 'datetime_formats_available_formats' => (
244             is => 'ro',
245             isa => HashRef,
246             init_arg => undef,
247             default => sub { {
248             } },
249             );
250              
251             has 'datetime_formats_append_item' => (
252             is => 'ro',
253             isa => HashRef,
254             init_arg => undef,
255             default => sub { {
256             } },
257             );
258              
259             has 'datetime_formats_interval' => (
260             is => 'ro',
261             isa => HashRef,
262             init_arg => undef,
263             default => sub { {
264             } },
265             );
266              
267 1     1   2259 no Moo;
  1         3  
  1         7  
268              
269             1;
270              
271             # vim: tabstop=4