Hnj.pm

filter: Statementstmt 68.9% 51 / 74 Branchbran 16.6% 1 / 6 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 39.2% 11 / 28 Podpod n/a totaltotal 58.3% 63 / 108 CC 3 SCAR 7.7
CC
3
Cov
65%
__ANON__
6.0
__ANON__
6.0
__ANON__
2.0
CRAP 2.2
↑ Summary Hnj/Hmnp.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Hnj - Package for language Hmong Njua
6
7 =cut
8
9 package Locale::CLDR::Locales::Hnj;
10 # This file auto generated from Data\common\main\hnj.xml
11 # on Fri 17 Jan 12:03:31 pm GMT
12
13 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
15 1 ▶use version;
Subroutine BEGIN: called CC=1 SCAR=0.0
16
17 1 our $VERSION = version->declare('v0.46.0');
18
19 1 ▶use v5.12.0;
Subroutine BEGIN: called CC=1 SCAR=0.0
20 1 ▶use mro 'c3';
Subroutine BEGIN: called CC=1 SCAR=0.0
21 1 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
22 1 ▶use feature 'unicode_strings';
Subroutine BEGIN: called CC=1 SCAR=0.0
23 1 ▶use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef );
Subroutine BEGIN: called CC=1 SCAR=0.0
24 1 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
25
26 1 extends('Locale::CLDR::Locales::Root');
27 has 'display_name_language' => (
28 is => 'ro',
29 isa => CodeRef,
30 init_arg => undef,
31 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
32 0 ▶ sub {
Subroutine __ANON__: not called CC=2 SCAR=17.9
33 0 my %languages = (
34 'ar' => '๐ž„ค๐ž„ฃ',
35 'bn' => '๐ž„œ๐ž„ค',
36 'en' => '๐ž„ฅ๐ž„ด๐ž„…๐ž„‡๐ž„‰๐ž„ฆ๐ž„ฑ๐ž„Š',
37 'fr' => '๐ž„•๐ž„ค๐ž„ฐ๐ž„Ž๐ž„ฆ๐ž„ด',
38 'hmn' => '๐ž„€๐ž„„๐ž„ฐ๐ž„ฉ',
39 'hnj' => '๐ž„€๐ž„„๐ž„ฐ๐ž„ฉ๐ž„๐ž„œ๐ž„ฐ',
40 'zh' => '๐ž„‹๐ž„„',
41
42 );
43 0 ▶ if (@_) {
Branch: 1 branch
BranchTrueFalseTotal
if (@_) 0 0 0
44 0 return $languages{$_[0]};
45 }
46 0 return \%languages;
47 }
48 0 },
49 1 );
50
51 has 'display_name_script' => (
52 is => 'ro',
53 isa => CodeRef,
54 init_arg => undef,
55 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
56 0 ▶ sub {
Subroutine __ANON__: not called CC=2 SCAR=17.9
57 0 my %scripts = (
58 'Hmnp' => '๐ž„๐ž„ฆ๐ž„ฒ๐ž„ค๐ž„Ž๐ž„ซ๐ž„ฐ ๐ž„š๐ž„œ๐ž„ฒ๐ž„”๐ž„ฌ๐ž„ฑ ๐ž„€๐ž„„๐ž„ฐ๐ž„ฉ',
59
60 );
61 0 ▶ if ( @_ ) {
Branch: 1 branch
BranchTrueFalseTotal
if (@_) 0 0 0
62 0 return $scripts{$_[0]};
63 }
64 0 return \%scripts;
65 }
66 0 }
67 1 );
68
69 has 'display_name_region' => (
70 is => 'ro',
71 isa => HashRef[Str],
72 init_arg => undef,
73 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
74 {
75 0 'US' => '๐ž„’๐ž„ซ๐ž„ฑ๐ž„”๐ž„ฉ๐ž„ด',
76
77 }
78 },
79 1 );
80
81 has 'characters' => (
82 is => 'ro',
83 isa => HashRef,
84 init_arg => undef,
85 default => $^V ge v5.18.0
86 ? eval <<'EOT'
87 sub {
88 no warnings 'experimental::regex_sets';
89 return {
90 index => ['๐ž„€', '๐ž„', '๐ž„‚', '๐ž„ƒ', '๐ž„„', '๐ž„…', '๐ž„†', '๐ž„‡', '๐ž„ˆ', '๐ž„‰', '๐ž„Š', '๐ž„‹', '๐ž„Œ', '๐ž„', '๐ž„Ž', '๐ž„', '๐ž„', '๐ž„‘', '๐ž„’', '๐ž„“', '๐ž„”', '๐ž„•', '๐ž„–', '๐ž„—', '๐ž„˜', '๐ž„™', '๐ž„š', '๐ž„›', '๐ž„œ', '๐ž„', '๐ž„ž', '๐ž„Ÿ', '๐ž„ ', '๐ž„ก', '๐ž„ข', '๐ž„ฃ', '๐ž„ค', '๐ž„ฅ', '๐ž„ฆ', '๐ž„ง', '๐ž„จ', '๐ž„ฉ', '๐ž„ช', '๐ž„ซ', '๐ž„ฌ'],
91 main => qr{[๐ž„ฑ ๐ž„ถ ๐ž„ฒ ๐ž„ณ ๐ž„ฐ ๐ž„ด ๐ž„ต ๐ž… ๐ž„ผ ๐ž„ฝ ๐ž„€ ๐ž„ ๐ž„‚ ๐ž„ƒ ๐ž„„ ๐ž„… ๐ž„† ๐ž„‡ ๐ž„ˆ ๐ž„‰ ๐ž„Š ๐ž„‹ ๐ž„Œ ๐ž„ ๐ž„Ž ๐ž„ ๐ž„ ๐ž„‘ ๐ž„’ ๐ž„“ ๐ž„” ๐ž„• ๐ž„– ๐ž„— ๐ž„˜ ๐ž„™ ๐ž„š ๐ž„› ๐ž„œ ๐ž„ ๐ž„ž ๐ž„Ÿ ๐ž„  ๐ž„ก ๐ž„ข ๐ž„ฃ ๐ž„ค ๐ž„ฅ ๐ž„ฆ ๐ž„ง ๐ž„จ ๐ž„ฉ ๐ž„ช ๐ž„ซ ๐ž„ฌ ๐ž…Ž]},
92 numbers => qr{[\- โ€‘ , . % + ๐ž…€ ๐ž… ๐ž…‚ ๐ž…ƒ ๐ž…„ ๐ž…… ๐ž…† ๐ž…‡ ๐ž…ˆ ๐ž…‰]},
93 punctuation => qr{[\- โ€โ€‘ โ€“ โ€” , ; \: ! ? . โ€ฆ 'โ€˜โ€™ "โ€œโ€ ( ) \[ \] ยง @ * / \& # โ€  โ€ก โ€ฒ โ€ณ]},
94 };
95 },
96 EOT
97 0 ▶: sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
98 0 return { index => ['๐ž„€', '๐ž„', '๐ž„‚', '๐ž„ƒ', '๐ž„„', '๐ž„…', '๐ž„†', '๐ž„‡', '๐ž„ˆ', '๐ž„‰', '๐ž„Š', '๐ž„‹', '๐ž„Œ', '๐ž„', '๐ž„Ž', '๐ž„', '๐ž„', '๐ž„‘', '๐ž„’', '๐ž„“', '๐ž„”', '๐ž„•', '๐ž„–', '๐ž„—', '๐ž„˜', '๐ž„™', '๐ž„š', '๐ž„›', '๐ž„œ', '๐ž„', '๐ž„ž', '๐ž„Ÿ', '๐ž„ ', '๐ž„ก', '๐ž„ข', '๐ž„ฃ', '๐ž„ค', '๐ž„ฅ', '๐ž„ฆ', '๐ž„ง', '๐ž„จ', '๐ž„ฉ', '๐ž„ช', '๐ž„ซ', '๐ž„ฌ'], };
99 },
100 1 ▶);
Subroutine BEGIN: called CC=1 SCAR=0.0
Branch: 1 branch
BranchTrueFalseTotal
$^V ge v5.18.0 ? : 1 0 1
101
102
103 1 has 'default_numbering_system' => (
104 is => 'ro',
105 isa => Str,
106 init_arg => undef,
107 default => 'hmnp',
108 );
109
110 has 'currencies' => (
111 is => 'ro',
112 isa => HashRef,
113 init_arg => undef,
114 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
115 0 'USD' => {
116 symbol => '๐ž…Ž',
117 },
118 } },
119 1 );
120
121
122 has 'calendar_months' => (
123 is => 'ro',
124 isa => HashRef,
125 init_arg => undef,
126 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
127 0 'gregorian' => {
128 'format' => {
129 wide => {
130 nonleap => [
131 '๐ž„†๐ž„ฌ',
132 '๐ž„›๐ž„จ๐ž„ฑ๐ž„„๐ž„ค๐ž„ฒ๐ž„จ',
133 '๐ž„’๐ž„ซ๐ž„ฐ๐ž„’๐ž„ช๐ž„ฑ',
134 '๐ž„ค๐ž„จ๐ž„ฑ',
135 '๐ž„€๐ž„ช๐ž„ด',
136 '๐ž„›๐ž„ค๐ž„ฑ๐ž„ž๐ž„ค๐ž„ฆ',
137 '๐ž„”๐ž„ฉ๐ž„ด๐ž„†๐ž„จ๐ž„ฐ',
138 '๐ž„•๐ž„ฉ๐ž„ฒ๐ž„”๐ž„„๐ž„ฐ๐ž„ค',
139 '๐ž„›๐ž„ค๐ž„ฑ๐ž„’๐ž„ค๐ž„ฐ',
140 '๐ž„ช๐ž„ฑ๐ž„€๐ž„ค๐ž„ด',
141 '๐ž„š๐ž„ฆ๐ž„ฒ๐ž„ค๐ž„š๐ž„„๐ž„ฐ๐ž„ซ',
142 '๐ž„’๐ž„ฉ๐ž„ฑ๐ž„”๐ž„ฌ๐ž„ด'
143 ],
144 leap => [
145
146 ],
147 },
148 },
149 },
150 } },
151 1 );
152
153 has 'calendar_days' => (
154 is => 'ro',
155 isa => HashRef,
156 init_arg => undef,
157 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
158 0 'gregorian' => {
159 'stand-alone' => {
160 wide => {
161 mon => '๐ž„ˆ๐ž„ฆ',
162 tue => '๐ž„†๐ž„จ๐ž„ฐ',
163 wed => '๐ž„—๐ž„„๐ž„ค๐ž„ฐ๐ž„ฆ',
164 thu => '๐ž„™๐ž„ค๐ž„ฑ๐ž„จ',
165 fri => '๐ž„‘๐ž„ค๐ž„ฑ๐ž„จ',
166 sat => '๐ž„Š๐ž„ง๐ž„ณ',
167 sun => '๐ž„Ž๐ž„ค๐ž„ฒ'
168 },
169 },
170 },
171 } },
172 1 );
173
174 has 'calendar_quarters' => (
175 is => 'ro',
176 isa => HashRef,
177 init_arg => undef,
178 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
179 0 'gregorian' => {
180 'stand-alone' => {
181 narrow => {0 => '๐ž…',
182 1 => '๐ž…‚',
183 2 => '๐ž…ƒ',
184 3 => '๐ž…„'
185 },
186 },
187 },
188 } },
189 1 );
190
191 has 'eras' => (
192 is => 'ro',
193 isa => HashRef,
194 init_arg => undef,
195 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
196 0 'gregorian' => {
197 abbreviated => {
198 '0' => '๐ž„œ๐ž„†๐ž„ช'
199 },
200 },
201 } },
202 1 );
203
204 has 'date_formats' => (
205 is => 'ro',
206 isa => HashRef,
207 init_arg => undef,
208 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
209 0 'gregorian' => {
210 },
211 } },
212 1 );
213
214 has 'time_formats' => (
215 is => 'ro',
216 isa => HashRef,
217 init_arg => undef,
218 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
219 0 'gregorian' => {
220 },
221 } },
222 1 );
223
224 has 'datetime_formats' => (
225 is => 'ro',
226 isa => HashRef,
227 init_arg => undef,
228 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
229 0 'gregorian' => {
230 },
231 } },
232 1 );
233
234 has 'datetime_formats_available_formats' => (
235 is => 'ro',
236 isa => HashRef,
237 init_arg => undef,
238 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
239 0 } },
240 1 );
241
242 has 'datetime_formats_append_item' => (
243 is => 'ro',
244 isa => HashRef,
245 init_arg => undef,
246 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
247 0 } },
248 1 );
249
250 has 'datetime_formats_interval' => (
251 is => 'ro',
252 isa => HashRef,
253 init_arg => undef,
254 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
255 0 } },
256 1 );
257
258 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
259
260 1 1;
261
262 # vim: tabstop=4
↑ Summary Hnj/Hmnp.pm »