File Coverage

blib/lib/Locale/CLDR/Locales/Ny.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::Ny - Package for language Nyanja
6              
7             =cut
8              
9             package Locale::CLDR::Locales::Ny;
10             # This file auto generated from Data\common\main\ny.xml
11             # on Fri 17 Jan 12:03:31 pm GMT
12              
13 1     1   1444375 use strict;
  1         4  
  1         47  
14 1     1   5 use warnings;
  1         1  
  1         49  
15 1     1   4 use version;
  1         1  
  1         6  
16              
17             our $VERSION = version->declare('v0.46.0');
18              
19 1     1   87 use v5.12.0;
  1         4  
20 1     1   2 use mro 'c3';
  1         2  
  1         5  
21 1     1   19 use utf8;
  1         1  
  1         7  
22 1     1   37 use feature 'unicode_strings';
  1         2  
  1         122  
23 1     1   4 use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
  1         3  
  1         9  
24 1     1   1687 use Moo;
  1         1  
  1         19  
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             'ny' => 'Nyanja',
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             auxiliary => qr{[q v x]},
55             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'],
56             main => qr{[a b c d e f g h i j k l m n o p r s t u wŵ y z]},
57             };
58             },
59             EOT
60             : sub {
61             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'], };
62             },
63 1     1   131 );
  1         1  
  1         114  
64              
65              
66             has 'currencies' => (
67             is => 'ro',
68             isa => HashRef,
69             init_arg => undef,
70             default => sub { {
71             'MWK' => {
72             display_name => {
73             'currency' => q(Malawian Kwacha),
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             'Jan',
90             'Feb',
91             'Mal',
92             'Epu',
93             'Mei',
94             'Jun',
95             'Jul',
96             'Oga',
97             'Sep',
98             'Oku',
99             'Nov',
100             'Dis'
101             ],
102             leap => [
103            
104             ],
105             },
106             wide => {
107             nonleap => [
108             'Januwale',
109             'Febuluwale',
110             'Malichi',
111             'Epulo',
112             'Mei',
113             'Juni',
114             'Julai',
115             'Ogasiti',
116             'Seputemba',
117             'Okutoba',
118             'Novemba',
119             'Disemba'
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 => 'Lem',
139             tue => 'Wir',
140             wed => 'Tat',
141             thu => 'Nai',
142             fri => 'San',
143             sat => 'Wer',
144             sun => 'Mul'
145             },
146             wide => {
147             mon => 'Lolemba',
148             tue => 'Lachiwiri',
149             wed => 'Lachitatu',
150             thu => 'Lachinayi',
151             fri => 'Lachisanu',
152             sat => 'Loweruka',
153             sun => 'Lamulungu'
154             },
155             },
156             },
157             } },
158             );
159              
160             has 'eras' => (
161             is => 'ro',
162             isa => HashRef,
163             init_arg => undef,
164             default => sub { {
165             'gregorian' => {
166             },
167             } },
168             );
169              
170             has 'date_formats' => (
171             is => 'ro',
172             isa => HashRef,
173             init_arg => undef,
174             default => sub { {
175             'gregorian' => {
176             },
177             } },
178             );
179              
180             has 'time_formats' => (
181             is => 'ro',
182             isa => HashRef,
183             init_arg => undef,
184             default => sub { {
185             'gregorian' => {
186             'full' => q{h:mm:ss a zzzz},
187             'long' => q{h:mm:ss a z},
188             'medium' => q{h:mm:ss a},
189             'short' => q{h:mm a},
190             },
191             } },
192             );
193              
194             has 'datetime_formats' => (
195             is => 'ro',
196             isa => HashRef,
197             init_arg => undef,
198             default => sub { {
199             'gregorian' => {
200             },
201             } },
202             );
203              
204             has 'datetime_formats_available_formats' => (
205             is => 'ro',
206             isa => HashRef,
207             init_arg => undef,
208             default => sub { {
209             } },
210             );
211              
212             has 'datetime_formats_append_item' => (
213             is => 'ro',
214             isa => HashRef,
215             init_arg => undef,
216             default => sub { {
217             } },
218             );
219              
220             has 'datetime_formats_interval' => (
221             is => 'ro',
222             isa => HashRef,
223             init_arg => undef,
224             default => sub { {
225             } },
226             );
227              
228 1     1   935 no Moo;
  1         2  
  1         4  
229              
230             1;
231              
232             # vim: tabstop=4