File Coverage

blib/lib/Locale/CLDR/Locales/Kcg.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::Kcg - Package for language Tyap
6              
7             =cut
8              
9             package Locale::CLDR::Locales::Kcg;
10             # This file auto generated from Data\common\main\kcg.xml
11             # on Fri 17 Jan 12:03:31 pm GMT
12              
13 1     1   1721407 use strict;
  1         3  
  1         39  
14 1     1   6 use warnings;
  1         3  
  1         63  
15 1     1   14 use version;
  1         3  
  1         10  
16              
17             our $VERSION = version->declare('v0.46.0');
18              
19 1     1   156 use v5.12.0;
  1         5  
20 1     1   8 use mro 'c3';
  1         2  
  1         9  
21 1     1   60 use utf8;
  1         2  
  1         10  
22 1     1   65 use feature 'unicode_strings';
  1         2  
  1         193  
23 1     1   9 use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
  1         4  
  1         11  
24 1     1   3124 use Moo;
  1         9  
  1         7  
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             'kcg' => 'Katab',
35              
36             );
37             if (@_) {
38             return $languages{$_[0]};
39             }
40             return \%languages;
41             }
42             },
43             );
44              
45             has 'characters' => (
46             is => 'ro',
47             isa => HashRef,
48             init_arg => undef,
49             default => $^V ge v5.18.0
50             ? eval <<'EOT'
51             sub {
52             no warnings 'experimental::regex_sets';
53             return {
54             index => ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'],
55             main => qr{[a{a̱} b {ch} {chy} d e f g {gb} {gh} {ghw} {ghy} i{i̱} j {jhy} k {kh} {kp} l m n {ng} {ny} o p r s {sh} {shy} t {ts} u v w y z]},
56             };
57             },
58             EOT
59             : sub {
60             return { index => ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'], };
61             },
62 1     1   249 );
  1         3  
  1         202  
63              
64              
65             has 'currencies' => (
66             is => 'ro',
67             isa => HashRef,
68             init_arg => undef,
69             default => sub { {
70             'NGN' => {
71             symbol => '₦',
72             display_name => {
73             'currency' => q(Nera),
74             },
75             },
76             } },
77             );
78              
79              
80             has 'calendar_months' => (
81             is => 'ro',
82             isa => HashRef,
83             init_arg => undef,
84             default => sub { {
85             'gregorian' => {
86             'format' => {
87             abbreviated => {
88             nonleap => [
89             'Juw',
90             'Swi',
91             'Tsa',
92             'Nya',
93             'Tsw',
94             'Ata',
95             'Ana',
96             'Ari',
97             'Aku',
98             'Swa',
99             'Man',
100             'Mas'
101             ],
102             leap => [
103            
104             ],
105             },
106             wide => {
107             nonleap => [
108             'Zwat Juwung',
109             'Zwat Swiyang',
110             'Zwat Tsat',
111             'Zwat Nyai',
112             'Zwat Tswon',
113             'Zwat Ataah',
114             'Zwat Anatat',
115             'Zwat Arinai',
116             'Zwat Akubunyung',
117             'Zwat Swag',
118             'Zwat Mangjuwang',
119             'Zwat Swag-Ma-Suyang'
120             ],
121             leap => [
122            
123             ],
124             },
125             },
126             },
127             } },
128             );
129              
130             has 'calendar_days' => (
131             is => 'ro',
132             isa => HashRef,
133             init_arg => undef,
134             default => sub { {
135             'gregorian' => {
136             'format' => {
137             abbreviated => {
138             mon => 'Tan',
139             tue => 'Tal',
140             wed => 'Lar',
141             thu => 'Lam',
142             fri => 'Jum',
143             sat => 'Asa',
144             sun => 'Lad'
145             },
146             wide => {
147             mon => 'Tanii',
148             tue => 'Talata',
149             wed => 'Larba',
150             thu => 'Lamit',
151             fri => 'Juma',
152             sat => 'Asabat',
153             sun => 'Ladi'
154             },
155             },
156             },
157             } },
158             );
159              
160             has 'eras' => (
161             is => 'ro',
162             isa => HashRef,
163             init_arg => undef,
164             default => sub { {
165             'generic' => {
166             },
167             'gregorian' => {
168             abbreviated => {
169             '0' => 'GM',
170             '1' => 'M'
171             },
172             wide => {
173             '0' => 'Gabanin Miladi',
174             '1' => 'Miladi'
175             },
176             },
177             } },
178             );
179              
180             has 'date_formats' => (
181             is => 'ro',
182             isa => HashRef,
183             init_arg => undef,
184             default => sub { {
185             'generic' => {
186             'full' => q{EEEE, G y MMMM dd},
187             'long' => q{G y MMMM d},
188             'medium' => q{G y MMM d},
189             'short' => q{GGGGG yy/MM/dd},
190             },
191             'gregorian' => {
192             'full' => q{EEEE, y MMMM dd},
193             'long' => q{y MMMM d},
194             'medium' => q{y MMM d},
195             'short' => q{yy/MM/dd},
196             },
197             } },
198             );
199              
200             has 'time_formats' => (
201             is => 'ro',
202             isa => HashRef,
203             init_arg => undef,
204             default => sub { {
205             'generic' => {
206             },
207             'gregorian' => {
208             'full' => q{HH:mm:ss zzzz},
209             'long' => q{HH:mm:ss z},
210             'medium' => q{HH:mm:ss},
211             'short' => q{HH:mm},
212             },
213             } },
214             );
215              
216             has 'datetime_formats' => (
217             is => 'ro',
218             isa => HashRef,
219             init_arg => undef,
220             default => sub { {
221             'generic' => {
222             },
223             'gregorian' => {
224             },
225             } },
226             );
227              
228             has 'datetime_formats_available_formats' => (
229             is => 'ro',
230             isa => HashRef,
231             init_arg => undef,
232             default => sub { {
233             } },
234             );
235              
236             has 'datetime_formats_append_item' => (
237             is => 'ro',
238             isa => HashRef,
239             init_arg => undef,
240             default => sub { {
241             } },
242             );
243              
244             has 'datetime_formats_interval' => (
245             is => 'ro',
246             isa => HashRef,
247             init_arg => undef,
248             default => sub { {
249             } },
250             );
251              
252 1     1   1936 no Moo;
  1         3  
  1         7  
253              
254             1;
255              
256             # vim: tabstop=4