Mn/Mong/Mn.pm

filter: Statementstmt 45.3% 58 / 128 Branchbran 0.0% 0 / 64 Conditioncond 0.0% 0 / 38 MC/DCmcdc 0.0% 0 / 25 Subroutinesub 25.6% 10 / 39 Podpod n/a totaltotal 23.1% 68 / 294 CC 47 SCAR 70.0
CC
47
Cov
25%
__ANON__
2070.0
__ANON__
6.0
__ANON__
6.0
CRAP 1096.9
« Mn.pm ↑ Summary Mn/Mong.pm »
1 =encoding utf8
2
3 =head1 NAME
4
5 Locale::CLDR::Locales::Mn::Mong::Mn - Package for language Mongolian
6
7 =cut
8
9 package Locale::CLDR::Locales::Mn::Mong::Mn;
10 # This file auto generated from Data\common\main\mn_Mong_MN.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::Mn::Mong');
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 'de' => 'ᠭᠧᠷᠮᠠᠨ',
35 'de_AT' => 'ᠠᠦᠰᠲᠷᠢ ᠭᠧᠷᠮᠠᠨ',
36 'de_CH' => 'ᠰᠸᠢᠼᠸᠵᠯᠡᠨᠳᠠ ᠭᠧᠷᠮᠠᠨ',
37 'en' => 'ᠠᠨᠭᠭᠯᠢ',
38 'en_AU' => 'ᠠᠥ᠋ᠰᠲ᠋ᠠᠷᠠᠯᠢᠢ᠎ᠠ ᠠᠨᠭᠭᠯᠢ',
39 'en_CA' => 'ᠻᠠᠨᠠᠳᠠ ᠠᠨᠭᠭᠯᠢ',
40 'en_GB' => 'ᠪᠷᠢᠲ᠋ᠠᠨᠢ ᠠᠨᠭᠭᠯᠢ',
41 'en_US' => 'ᠠᠮᠧᠷᠢᠺᠠ ᠠᠨᠭᠭᠯᠢ',
42 'es' => 'ᠢᠰᠫᠠᠨᠢ',
43 'es_419' => 'ᠢᠰᠫᠠᠨᠢ (ᠯᠠᠠᠲ᠋ᠢᠨ ᠡᠠᠮᠸᠷᠢᠺᠠ)',
44 'es_ES' => 'ᠢᠰᠫᠠᠨᠢ (ᠢᠰᠫᠠᠨᠢ)',
45 'es_MX' => 'ᠢᠰᠫᠠᠨᠢ (ᠮᠸᠺᠰᠢᠺᠦ)',
46 'fr' => 'ᠹᠷᠠᠨᠼᠠ',
47 'fr_CA' => 'ᠹᠷᠠᠨᠼᠠ ᠹᠷᠠᠨᠼᠠ',
48 'fr_CH' => 'ᠰᠸᠢᠼᠸᠵᠯᠡᠨ᠋ᠳ᠋ ᠹᠷᠠᠨᠼᠠ',
49 'it' => 'ᠢᠲ᠋ᠠᠯᠢ',
50 'ja' => 'ᠶᠡᠫᠥᠠ',
51 'mn' => 'ᠮᠣᠩᠭᠣᠯ',
52 'pt' => 'ᠫᠣᠷᠲ᠋ᠦ᠋ᠭᠠᠯᠢ',
53 'pt_PT' => 'ᠫᠣᠷᠲ᠋ᠦ᠋ᠭᠠᠯᠢ (ᠫᠣᠷᠲ᠋ᠦ᠋ᠭᠠᠯᠢ)',
54 'ru' => 'ᠣᠷᠣᠰ',
55 'und' => 'ᠲᠣᠳᠣᠷᠬᠠᠢ ᠥᠭᠡᠢ ᠬᠡᠯᠡ',
56 'zh' => 'ᠬᠢᠳᠠᠳ',
57 'zh_Hans' => 'ᠬᠢᠯᠪᠠᠷᠰᠢᠭᠣᠯᠣᠭᠰᠠᠨ ᠬᠢᠳᠠᠳ',
58 'zh_Hant' => 'ᠣᠯᠠᠮᠵᠢᠯᠠᠯᠳᠥ ᠬᠢᠳᠠᠳ',
59
60 );
61 0 ▶ if (@_) {
Branch: 1 branch
BranchTrueFalseTotal
if (@_) 0 0 0
62 0 return $languages{$_[0]};
63 }
64 0 return \%languages;
65 }
66 0 },
67 1 );
68
69 has 'display_name_script' => (
70 is => 'ro',
71 isa => CodeRef,
72 init_arg => undef,
73 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
74 0 ▶ sub {
Subroutine __ANON__: not called CC=2 SCAR=17.9
75 0 my %scripts = (
76 'Arab' => 'ᠡᠡᠷᠡᠪ',
77 'Cyrl' => 'ᠻᠢᠷᠢᠯᠯ',
78 'Hans' => 'ᠺᠢᠯᠪᠡᠷᠰᠢᠭᠣᠯᠥᠡᠡᠰᠡᠠ',
79 'Hans@alt=stand-alone' => 'ᠺᠢᠯᠪᠡᠷᠰᠢᠭᠣᠯᠥᠡᠡᠰᠡᠠ ᠬᠠᠠᠵᠢ',
80 'Hant' => 'ᠣᠯᠠᠮᠵᠥᠯᠠᠯᠳᠥ',
81 'Hant@alt=stand-alone' => 'ᠣᠯᠡᠮᠵᠢᠯᠡᠯᠳᠥ ᠬᠠᠨᠵᠢ',
82 'Latn' => 'ᠯᠠᠲ᠋ᠢᠨ',
83 'Mong' => 'ᠮᠣᠩᠭᠣᠯ ᠪᠢᠴᠢᠭ᠌',
84 'Zxxx' => 'ᠪᠢᠴᠢᠭᠳᠡᠭᠡ ᠥᠭᠡᠢ',
85 'Zzzz' => 'ᠳᠥᠳᠥᠷᠬᠠᠢ ᠥᠬᠡᠢ ᠪᠢᠴᠢᠭ᠌',
86
87 );
88 0 ▶ if ( @_ ) {
Branch: 1 branch
BranchTrueFalseTotal
if (@_) 0 0 0
89 0 return $scripts{$_[0]};
90 }
91 0 return \%scripts;
92 }
93 0 }
94 1 );
95
96 has 'display_name_region' => (
97 is => 'ro',
98 isa => HashRef[Str],
99 init_arg => undef,
100 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
101 {
102 0 'BR' => 'ᠪᠷᠠᠽᠢᠯ',
103 'CN' => 'ᠬᠢᠳᠠᠳ',
104 'DE' => 'ᠭᠧᠷᠮᠠᠨ',
105 'FR' => 'ᠫᠷᠠᠨ᠋᠋ᠼᠠ',
106 'GB' => 'ᠶᠡᠺᠡ ᠪᠷᠢᠲ᠋ᠠᠨᠢ',
107 'IN' => 'ᠡᠨᠡᠳᠬᠡᠭ᠌',
108 'IT' => 'ᠢᠲ᠋ᠠᠯᠢ',
109 'JP' => 'ᠶᠠᠫᠣᠨ',
110 'MN' => 'ᠮᠣᠩᠭᠣᠯ',
111 'RU' => 'ᠣᠷᠣᠰ',
112 'US' => 'ᠠᠮᠸᠷᠢᠻᠠ ᠎ᠢᠢᠨ ᠨᠢᠭᠡᠳᠥᠭᠰᠡᠠ ᠡᠣᠯᠣᠰ',
113 'ZZ' => 'ᠳᠣᠳᠣᠷᠬᠠᠢ ᠥᠭᠡᠢ ᠪᠥᠰᠠ',
114
115 }
116 },
117 1 );
118
119 has 'display_name_type' => (
120 is => 'ro',
121 isa => HashRef[HashRef[Str]],
122 init_arg => undef,
123 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
124 {
125 0 'calendar' => {
126 'gregorian' => q{ᠭᠸᠷᠸᠭᠣᠷᠢ ᠢᠨ ᠬᠣᠸᠠᠩᠯᠢ},
127 },
128 'collation' => {
129 'standard' => q{ᠰᠲ᠋ᠠᠨ᠋ᠳᠠᠷᠳ᠋ ᠡᠷᠡᠮᠪᠡᠯᠡᠬᠥ ᠳᠠᠷᠠᠭᠠᠯᠠᠯ},
130 },
131 'numbers' => {
132 'latn' => q{ᠠᠷᠠᠪ ᠲᠣᠭ᠎ᠠ},
133 'mong' => q{ᠮᠣᠩᠭᠣᠯ ᠲᠣᠭ᠎ᠠ},
134 },
135
136 }
137 },
138 1 );
139
140 has 'display_name_measurement_system' => (
141 is => 'ro',
142 isa => HashRef[Str],
143 init_arg => undef,
144 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
145 {
146 0 'metric' => q{ᠮᠧᠲ᠋ᠷ ᠦᠨ},
147 'UK' => q{ᠢ᠂ ᠪ},
148 'US' => q{ᠠ᠂ ᠨ᠂ ᠣ},
149
150 }
151 },
152 1 );
153
154 has 'display_name_code_patterns' => (
155 is => 'ro',
156 isa => HashRef[Str],
157 init_arg => undef,
158 0 ▶ default => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
159 {
160 0 'language' => 'ᠺᠡᠯᠠ᠄ {0}',
161 'script' => 'ᠪᠢᠴᠢᠭ᠌: {0}',
162 'region' => 'ᠮᠣᠵᠢ᠄ {0}',
163
164 }
165 },
166 1 );
167
168 has 'duration_units' => (
169 is => 'ro',
170 isa => HashRef[Str],
171 init_arg => undef,
172 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
173 0 hm => 'hh:mm',
174 hms => 'hh:mm:ss',
175 } }
176 1 );
177
178 has 'units' => (
179 is => 'ro',
180 isa => HashRef[HashRef[HashRef[Str]]],
181 init_arg => undef,
182 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
183 0 } }
184 1 );
185
186 has 'yesstr' => (
187 is => 'ro',
188 isa => RegexpRef,
189 init_arg => undef,
190 0 ▶ default => sub { qr'^(?i:ᠲᠡᠢᠢᠮᠣ᠄ ᠲ|yes|y)$' }
Subroutine __ANON__: not called CC=1 SCAR=6.9
191 1 );
192
193 has 'nostr' => (
194 is => 'ro',
195 isa => RegexpRef,
196 init_arg => undef,
197 0 ▶ default => sub { qr'^(?i:ᠥᠬᠡᠢ᠄ ᠥ|no|n)$' }
Subroutine __ANON__: not called CC=1 SCAR=6.9
198 1 );
199
200 has 'number_currency_formats' => (
201 is => 'ro',
202 isa => HashRef,
203 init_arg => undef,
204 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
205 0 'latn' => {
206 'pattern' => {
207 'default' => {
208 'standard' => {
209 'positive' => '¤#,##0.00',
210 },
211 },
212 },
213 },
214 } },
215 1 );
216
217 has 'currencies' => (
218 is => 'ro',
219 isa => HashRef,
220 init_arg => undef,
221 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
222 0 'BRL' => {
223 display_name => {
224 'currency' => q(ᠪᠷᠠᠽᠢᠯ ᠤᠨ ᠷᠧᠠᠯ),
225 'one' => q(ᠪᠷᠠᠽᠢᠯ ᠤᠨ ᠷᠧᠠᠯ),
226 'other' => q(ᠪᠷᠠᠽᠢᠯ ᠤᠨ ᠷᠧᠠᠯ),
227 },
228 },
229 'CNY' => {
230 display_name => {
231 'currency' => q(ᠬᠢᠲᠠᠳ ᠶᠤᠸᠠᠨ),
232 'one' => q(ᠬᠢᠲᠠᠳ ᠶᠤᠸᠠᠨ),
233 'other' => q(ᠬᠢᠲᠠᠳ ᠶᠤᠸᠠᠨ),
234 },
235 },
236 'EUR' => {
237 display_name => {
238 'currency' => q(ᠶᠧᠸᠷᠣ),
239 'one' => q(ᠶᠧᠸᠷᠣ),
240 'other' => q(ᠶᠧᠸᠷᠣ),
241 },
242 },
243 'GBP' => {
244 display_name => {
245 'currency' => q(ᠪᠷᠢᠲ᠋ᠠᠨᠢ ᠢᠢᠨ ᠫᠤᠢᠨᠳ᠋),
246 'one' => q(ᠪᠷᠢᠲ᠋ᠠᠨᠢ ᠢᠢᠨ ᠫᠤᠢᠨᠳ᠋),
247 'other' => q(ᠪᠷᠢᠲ᠋ᠠᠨᠢ ᠢᠢᠨ ᠫᠤᠢᠨᠳ᠋),
248 },
249 },
250 'INR' => {
251 display_name => {
252 'currency' => q(ᠡᠨᠡᠳᠬᠡᠭ᠌ ᠷᠦᠫᠢ),
253 'one' => q(ᠡᠨᠡᠳᠬᠡᠭ᠌ ᠷᠦᠫᠢ),
254 'other' => q(ᠡᠨᠡᠳᠬᠡᠭ᠌ ᠷᠦᠫᠢ),
255 },
256 },
257 'JPY' => {
258 display_name => {
259 'currency' => q(ᠶᠠᠫᠣᠨ ᠧᠨ),
260 'one' => q(ᠶᠠᠫᠣᠨ ᠧᠨ),
261 'other' => q(ᠶᠠᠫᠣᠨ ᠧᠨ),
262 },
263 },
264 'MNT' => {
265 symbol => '₮',
266 display_name => {
267 'currency' => q(ᠳᠥᠬᠥᠷᠢᠭ᠌),
268 'one' => q(ᠳᠥᠬᠥᠷᠢᠭ᠌),
269 'other' => q(ᠳᠥᠬᠥᠷᠢᠭ᠌),
270 },
271 },
272 'RUB' => {
273 display_name => {
274 'currency' => q(ᠣᠷᠥᠰ ᠷᠥᠪᠯᠢ),
275 'one' => q(ᠣᠷᠥᠰ ᠷᠥᠪᠯᠢ),
276 'other' => q(ᠣᠷᠥᠰ ᠷᠥᠪᠯᠢ),
277 },
278 },
279 'USD' => {
280 display_name => {
281 'currency' => q(ᠠᠮᠸᠷᠢᠻᠠ ᠳ᠋ᠣᠯᠯᠠᠷ),
282 'one' => q(ᠠᠮᠸᠷᠢᠻᠠ ᠳ᠋ᠣᠯᠯᠠᠷ),
283 'other' => q(ᠠᠮᠸᠷᠢᠻᠠ ᠳ᠋ᠣᠯᠯᠠᠷ),
284 },
285 },
286 'XXX' => {
287 display_name => {
288 'currency' => q(ᠲᠣᠳᠣᠷᠬᠠᠢ ᠥᠭᠡᠢ ᠮᠥᠩᠭᠥᠨ ᠲᠡᠮᠳᠡᠭᠳᠥ),
289 'one' => q(ᠲᠣᠳᠣᠷᠬᠠᠢ ᠥᠭᠡᠢ ᠮᠥᠩᠭᠥᠨ ᠲᠡᠮᠳᠡᠭᠳᠥ ᠢᠢᠨ ᠨᠢᠭᠡᠴᠡ),
290 'other' => q(\(ᠲᠣᠳᠣᠷᠬᠠᠢ ᠥᠭᠡᠢ ᠮᠥᠩᠭᠥᠨ ᠲᠡᠮᠳᠡᠭᠳᠥ\)),
291 },
292 },
293 } },
294 1 );
295
296
297 has 'calendar_months' => (
298 is => 'ro',
299 isa => HashRef,
300 init_arg => undef,
301 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
302 0 'gregorian' => {
303 'format' => {
304 abbreviated => {
305 nonleap => [
306 '1 ᠊ᠷ ᠰᠠᠷ᠎ᠠ',
307 '2 ᠊ᠷ ᠰᠠᠷ᠎ᠠ',
308 '3᠊ᠷ ᠰᠠᠷ᠎ᠠ',
309 '4 ᠊ᠷ ᠰᠠᠷ᠎ᠠ',
310 '5 ᠊ᠷ ᠰᠠᠷ᠎ᠠ',
311 '6 ᠊ᠷ ᠰᠠᠷ᠎ᠠ',
312 '7 ᠊ᠷ ᠰᠠᠷ᠎ᠠ',
313 '8᠊ᠷ ᠰᠠᠷ᠎ᠠ',
314 '9 ᠊ᠷ ᠰᠠᠷ᠎ᠠ',
315 '10 ᠊ᠷ ᠰᠠᠷ᠎ᠠ',
316 '11 ᠊ᠷ ᠰᠠᠷ᠎ᠠ',
317 '12 ᠊ᠷ ᠰᠠᠷ᠎ᠠ'
318 ],
319 leap => [
320
321 ],
322 },
323 wide => {
324 nonleap => [
325 'ᠨᠢᠭᠡᠳᠥᠭᠡᠷ ᠰᠠᠷ᠎ᠠ',
326 'ᠬᠣᠶᠠᠳᠣᠭᠠᠷ ᠰᠠᠷ ᠠ',
327 'ᠭᠣᠷᠪᠡᠳᠣᠭᠠᠷ ᠰᠠᠷ ᠠ',
328 'ᠳᠥᠷᠪᠡᠳᠥᠭᠡᠷ ᠰᠠᠷ᠎ᠠ',
329 'ᠲᠠᠪᠣᠳᠣᠭᠠᠷ ᠰᠠᠷ ᠠ',
330 'ᠵᠢᠷᠭᠣᠭᠠᠳᠣᠭᠠᠷ ᠰᠠᠷ᠎ᠠ',
331 'ᠲᠣᠯᠣᠭᠠᠳᠣᠭᠠᠷ ᠰᠠᠷ᠎ᠠ',
332 'ᠨᠠᠢᠮᠠᠳᠥᠭᠠᠷ ᠰᠠᠷ᠎ᠠ',
333 'ᠶᠢᠰᠥᠳᠥᠭᠡᠷ ᠰᠠᠷ᠎ᠠ',
334 'ᠠᠷᠪᠠᠳᠣᠭᠠᠷ ᠰᠠᠷ᠎ᠠ',
335 'ᠠᠷᠪᠠᠨ ᠨᠢᠭᠡᠳᠥᠭᠡᠷ ᠰᠠᠷ᠎ᠠ',
336 'ᠠᠷᠪᠠᠨ ᠬᠣᠶᠠᠳᠣᠭᠠᠷ ᠰᠠᠷ᠎ᠠ'
337 ],
338 leap => [
339
340 ],
341 },
342 },
343 'stand-alone' => {
344 abbreviated => {
345 nonleap => [
346 '1 ᠊ᠷ ᠰᠠᠷ᠎ᠠ',
347 '2 ᠊ᠷ ᠰᠠᠷ᠎ᠠ',
348 '3᠊ᠷ ᠰᠠᠷ᠎ᠠ',
349 '4 ᠊ᠷ ᠰᠠᠷ᠎ᠠ',
350 '5 ᠊ᠷ ᠰᠠᠷ᠎ᠠ',
351 '6 ᠊ᠷ ᠰᠠᠷ᠎ᠠ',
352 '7 ᠊ᠷ ᠰᠠᠷ᠎ᠠ',
353 '8 ᠊ᠷ ᠰᠠᠷ᠎ᠠ',
354 '9 ᠊ᠷ ᠰᠠᠷ᠎ᠠ',
355 '10 ᠊ᠷ ᠰᠠᠷ᠎ᠠ',
356 '11᠊ᠷ ᠰᠠᠷ᠎ᠠ',
357 '12᠊ᠷ ᠰᠠᠷ᠎ᠠ'
358 ],
359 leap => [
360
361 ],
362 },
363 narrow => {
364 nonleap => [
365 'I',
366 'II',
367 'III',
368 'IV',
369 'V',
370 'VI',
371 'VII',
372 'VIII',
373 'IX',
374 'X',
375 'XI',
376 'XII'
377 ],
378 leap => [
379
380 ],
381 },
382 },
383 },
384 } },
385 1 );
386
387 has 'calendar_days' => (
388 is => 'ro',
389 isa => HashRef,
390 init_arg => undef,
391 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
392 0 'gregorian' => {
393 'format' => {
394 abbreviated => {
395 mon => 'ᠲᠠ',
396 tue => 'ᠮᠢᠭ',
397 wed => 'ᡀᠠ',
398 thu => 'ᠫᠥᠷ',
399 fri => 'ᠪᠠ',
400 sat => 'ᠪᠢᠮ',
401 sun => 'ᠨᠢ'
402 },
403 narrow => {
404 mon => 'ᠳᠠ',
405 tue => 'ᠮᠢᠭ',
406 wed => 'ᡀᠠ',
407 thu => 'ᠫᠥᠷ',
408 fri => 'ᠪᠠ',
409 sat => 'ᠪᠢ',
410 sun => 'ᠨᠢ'
411 },
412 wide => {
413 mon => 'ᠳᠠᠸᠠ',
414 tue => 'ᠮᠢᠠᠠᠮᠠᠷ',
415 wed => 'ᡀᠠᠭᠪᠠ',
416 thu => 'ᠫᠦᠷᠪᠦ',
417 fri => 'ᠪᠠᠰᠠᠩ',
418 sat => 'ᠪᠢᠮᠪᠠ',
419 sun => 'ᠨᠢᠮ᠎ᠠ'
420 },
421 },
422 'stand-alone' => {
423 abbreviated => {
424 mon => 'ᠳᠠ',
425 tue => 'ᠮᠢᠭ',
426 wed => 'ᡀᠠ',
427 thu => 'ᠫᠦᠷ',
428 fri => 'ᠪᠠ',
429 sat => 'ᠪᠢᠮ',
430 sun => 'ᠨᠢ'
431 },
432 narrow => {
433 mon => 'ᠳᠠ',
434 tue => 'ᠮᠢᠭ',
435 wed => 'ᡀᠠ',
436 thu => 'ᠫᠥᠷ',
437 fri => 'ᠪᠠ',
438 sat => 'ᠪᠢᠮ',
439 sun => 'ᠨᠢ'
440 },
441 },
442 },
443 } },
444 1 );
445
446 has 'calendar_quarters' => (
447 is => 'ro',
448 isa => HashRef,
449 init_arg => undef,
450 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
451 0 'gregorian' => {
452 'format' => {
453 abbreviated => {0 => '1 ᠣᠯᠠᠷᠢᠯ',
454 1 => '2 ᠣᠯᠠᠷᠢᠯ',
455 2 => '3 ᠣᠯᠠᠷᠢᠯ',
456 3 => '4 ᠣᠯᠠᠷᠢᠯ'
457 },
458 wide => {0 => '1 ᠊ᠷ ᠣᠯᠠᠷᠢᠯ',
459 1 => '2 ᠊ᠷ ᠣᠯᠠᠷᠢᠯ',
460 2 => '3 ᠊ᠷ ᠣᠯᠠᠷᠢᠯ',
461 3 => '4 ᠊ᠷ ᠣᠯᠠᠷᠢᠯ'
462 },
463 },
464 'stand-alone' => {
465 abbreviated => {0 => 'I',
466 1 => 'II',
467 2 => 'III',
468 3 => 'IV'
469 },
470 narrow => {0 => 'I',
471 1 => 'II',
472 2 => 'III',
473 3 => 'IV'
474 },
475 },
476 },
477 } },
478 1 );
479
480 has 'day_period_data' => (
481 is => 'ro',
482 isa => CodeRef,
483 init_arg => undef,
484 0 ▶ default => sub { sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
Subroutine __ANON__: not called CC=45 SCAR=76.4
485 # Time in hhmm format
486 0 my ($self, $type, $time, $day_period_type) = @_;
487 0 ▶ $day_period_type //= 'default';
Condition0%0/2
$day_period_type //= "default"
l!l
00
MC/DC0%0/1
$day_period_type //= "default"
$day_period_type
Truth table0%0/2
A
A= $day_period_type
Aresult
11
00
488 SWITCH:
489 0 for ($type) {
490 0 ▶ if ($_ eq 'generic') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "generic") 0 0 0
491 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
492 0 ▶ return 'midnight' if $time == 0;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 0 0 0 0
493 0 ▶ return 'noon' if $time == 1200;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 1200 0 0 0
494 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1800 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1800
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1800
$time >= 1200 $time < 1800
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1800
ABresult
0X0
100
111
495 && $time < 1800;
496 0 ▶ return 'evening1' if $time >= 1800
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1800 and $time < 2100 0 0 0
Condition0%0/3
$time >= 1800 and $time < 2100
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1800 and $time < 2100
$time >= 1800 $time < 2100
Truth table0%0/3
A and B
A= $time >= 1800B= $time < 2100
ABresult
0X0
100
111
497 && $time < 2100;
498 0 ▶ return 'morning1' if $time >= 600
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 600 and $time < 1200 0 0 0
Condition0%0/3
$time >= 600 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 600 and $time < 1200
$time >= 600 $time < 1200
Truth table0%0/3
A and B
A= $time >= 600B= $time < 1200
ABresult
0X0
100
111
499 && $time < 1200;
500 0 ▶ return 'night1' if $time >= 2100;
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 2100 0 0 0
501 0 ▶ return 'night1' if $time < 600;
Branch: 1 branch
BranchTrueFalseTotal
if $time < 600 0 0 0
502 }
503 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
504 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1800 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1800
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1800
$time >= 1200 $time < 1800
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1800
ABresult
0X0
100
111
505 && $time < 1800;
506 0 ▶ return 'evening1' if $time >= 1800
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1800 and $time < 2100 0 0 0
Condition0%0/3
$time >= 1800 and $time < 2100
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1800 and $time < 2100
$time >= 1800 $time < 2100
Truth table0%0/3
A and B
A= $time >= 1800B= $time < 2100
ABresult
0X0
100
111
507 && $time < 2100;
508 0 ▶ return 'morning1' if $time >= 600
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 600 and $time < 1200 0 0 0
Condition0%0/3
$time >= 600 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 600 and $time < 1200
$time >= 600 $time < 1200
Truth table0%0/3
A and B
A= $time >= 600B= $time < 1200
ABresult
0X0
100
111
509 && $time < 1200;
510 0 ▶ return 'night1' if $time >= 2100;
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 2100 0 0 0
511 0 ▶ return 'night1' if $time < 600;
Branch: 1 branch
BranchTrueFalseTotal
if $time < 600 0 0 0
512 }
513 0 last SWITCH;
514 }
515 0 ▶ if ($_ eq 'gregorian') {
Branch: 1 branch
BranchTrueFalseTotal
if ($_ eq "gregorian") 0 0 0
516 0 ▶ if($day_period_type eq 'default') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "default") 0 0 0
517 0 ▶ return 'midnight' if $time == 0;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 0 0 0 0
518 0 ▶ return 'noon' if $time == 1200;
Branch: 1 branch
BranchTrueFalseTotal
if $time == 1200 0 0 0
519 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1800 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1800
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1800
$time >= 1200 $time < 1800
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1800
ABresult
0X0
100
111
520 && $time < 1800;
521 0 ▶ return 'evening1' if $time >= 1800
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1800 and $time < 2100 0 0 0
Condition0%0/3
$time >= 1800 and $time < 2100
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1800 and $time < 2100
$time >= 1800 $time < 2100
Truth table0%0/3
A and B
A= $time >= 1800B= $time < 2100
ABresult
0X0
100
111
522 && $time < 2100;
523 0 ▶ return 'morning1' if $time >= 600
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 600 and $time < 1200 0 0 0
Condition0%0/3
$time >= 600 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 600 and $time < 1200
$time >= 600 $time < 1200
Truth table0%0/3
A and B
A= $time >= 600B= $time < 1200
ABresult
0X0
100
111
524 && $time < 1200;
525 0 ▶ return 'night1' if $time >= 2100;
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 2100 0 0 0
526 0 ▶ return 'night1' if $time < 600;
Branch: 1 branch
BranchTrueFalseTotal
if $time < 600 0 0 0
527 }
528 0 ▶ if($day_period_type eq 'selection') {
Branch: 1 branch
BranchTrueFalseTotal
if ($day_period_type eq "selection") 0 0 0
529 0 ▶ return 'afternoon1' if $time >= 1200
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1200 and $time < 1800 0 0 0
Condition0%0/3
$time >= 1200 and $time < 1800
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1200 and $time < 1800
$time >= 1200 $time < 1800
Truth table0%0/3
A and B
A= $time >= 1200B= $time < 1800
ABresult
0X0
100
111
530 && $time < 1800;
531 0 ▶ return 'evening1' if $time >= 1800
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 1800 and $time < 2100 0 0 0
Condition0%0/3
$time >= 1800 and $time < 2100
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 1800 and $time < 2100
$time >= 1800 $time < 2100
Truth table0%0/3
A and B
A= $time >= 1800B= $time < 2100
ABresult
0X0
100
111
532 && $time < 2100;
533 0 ▶ return 'morning1' if $time >= 600
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 600 and $time < 1200 0 0 0
Condition0%0/3
$time >= 600 and $time < 1200
!ll&&!rl&&r
000
MC/DC0%0/2
$time >= 600 and $time < 1200
$time >= 600 $time < 1200
Truth table0%0/3
A and B
A= $time >= 600B= $time < 1200
ABresult
0X0
100
111
534 && $time < 1200;
535 0 ▶ return 'night1' if $time >= 2100;
Branch: 1 branch
BranchTrueFalseTotal
if $time >= 2100 0 0 0
536 0 ▶ return 'night1' if $time < 600;
Branch: 1 branch
BranchTrueFalseTotal
if $time < 600 0 0 0
537 }
538 0 last SWITCH;
539 }
540 }
541 0 } },
542 1 );
543
544 0 ▶around day_period_data => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
545 0 my ($orig, $self) = @_;
546 0 return $self->$orig;
547 1 };
548
549 has 'day_periods' => (
550 is => 'ro',
551 isa => HashRef,
552 init_arg => undef,
553 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
554 0 'gregorian' => {
555 'format' => {
556 'wide' => {
557 'am' => q{ᠦ᠂ ᠥ},
558 'pm' => q{ᠦ᠂ ᠬᠣ},
559 },
560 },
561 },
562 } },
563 1 );
564
565 has 'eras' => (
566 is => 'ro',
567 isa => HashRef,
568 init_arg => undef,
569 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
570 0 'generic' => {
571 },
572 'gregorian' => {
573 abbreviated => {
574 '0' => 'ᠮ᠂ ᠡᠡ᠂ ᠦ',
575 '1' => 'ᠮ᠂ ᠡ'
576 },
577 },
578 } },
579 1 );
580
581 has 'date_formats' => (
582 is => 'ro',
583 isa => HashRef,
584 init_arg => undef,
585 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
586 0 'generic' => {
587 'full' => q{y ᠤᠨ ᠣ MM ᠰᠠᠷ ᠠ ᠢᠢᠨ dd},
588 'long' => q{y ᠣᠨ ᠎ᠤ MM ᠰᠠᠷ᠎ᠠ ᠎ᠢᠢᠨ dd},
589 'medium' => q{y MM d},
590 'short' => q{y-MM-dd},
591 },
592 'gregorian' => {
593 'full' => q{y ᠣᠨ ᠎᠎᠎ᠤ MMMM᠎᠎ᠢᠢᠨd. EEEE ᠋ᠭᠠᠷᠠᠭ},
594 'long' => q{y ᠋ᠣᠨ ᠤMMMM᠎᠎ ᠤᠩ d},
595 'medium' => q{y.MM.dd},
596 'short' => q{y.MM.dd},
597 },
598 } },
599 1 );
600
601 has 'time_formats' => (
602 is => 'ro',
603 isa => HashRef,
604 init_arg => undef,
605 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
606 0 'generic' => {
607 },
608 'gregorian' => {
609 'full' => q{HH:mm:ss (zzzz)},
610 'long' => q{HH:mm:ss (z)},
611 },
612 } },
613 1 );
614
615 has 'datetime_formats' => (
616 is => 'ro',
617 isa => HashRef,
618 init_arg => undef,
619 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
620 0 'generic' => {
621 },
622 'gregorian' => {
623 },
624 } },
625 1 );
626
627 has 'datetime_formats_available_formats' => (
628 is => 'ro',
629 isa => HashRef,
630 init_arg => undef,
631 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
632 0 } },
633 1 );
634
635 has 'datetime_formats_append_item' => (
636 is => 'ro',
637 isa => HashRef,
638 init_arg => undef,
639 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
640 0 } },
641 1 );
642
643 has 'datetime_formats_interval' => (
644 is => 'ro',
645 isa => HashRef,
646 init_arg => undef,
647 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
648 0 'generic' => {
649 fallback => '{0} - {1}',
650 },
651 } },
652 1 );
653
654 has 'time_zone_names' => (
655 is => 'ro',
656 isa => HashRef,
657 init_arg => undef,
658 0 ▶ default => sub { {
Subroutine __ANON__: not called CC=1 SCAR=6.9
659 0 gmtFormat => q(GMT {0}),
660 regionFormat => q({0} ᠴᠠᠭ),
661 regionFormat => q({0} ᠵᠣᠨ ᠎᠎᠎ᠤ ᠴᠠᠭ),
662 regionFormat => q({0} ᠰᠲ᠋ᠠᠨ᠋ᠳᠠᠷᠳ᠋ ᠴᠠᠭ),
663 'America_Central' => {
664 long => {
665 'daylight' => q#ᠲᠥᠪ ᠵᠣᠨ ᠎᠎᠎ᠤ ᠴᠠᠭ#,
666 'generic' => q#ᠲᠥᠪ ᠴᠠᠭ#,
667 'standard' => q#ᠳᠥᠪ ᠰᠲ᠋ᠠᠨ᠋ᠳᠠᠷᠳ᠋ ᠴᠠᠭ#,
668 },
669 },
670 'America_Eastern' => {
671 long => {
672 'daylight' => q#ᠵᠡᠭᠥᠨ ᠡᠷᠭᠡ ᠎ᠢᠢᠨ ᠵᠣᠨ ᠎᠎᠎ᠤ ᠴᠠᠭ#,
673 'generic' => q#ᠵᠡᠭᠥᠨ ᠡᠷᠭᠡ ᠎ᠢᠢᠨ ᠴᠠᠭ#,
674 'standard' => q#ᠵᠡᠭᠥᠨ ᠡᠷᠭᠡ ᠎ᠢᠢᠨ ᠰᠲ᠋ᠠᠨ᠋ᠳᠠᠷᠳ᠋ ᠴᠠᠭ#,
675 },
676 },
677 'America_Mountain' => {
678 long => {
679 'daylight' => q#ᠠᠭᠣᠯᠠ ᠎ᠢᠢᠨ ᠵᠣᠨ ᠎᠎ᠤ ᠴᠠᠭ#,
680 'generic' => q#ᠠᠭᠣᠯᠠ ᠎᠎᠎᠎ᠢᠢᠨ ᠴᠠᠭ#,
681 'standard' => q#ᠠᠭᠣᠯᠠ ᠎᠎᠎᠎ᠢᠢᠨ ᠰᠲ᠋ᠠᠨ᠋ᠳᠠᠷᠳ᠋ ᠴᠠᠭ#,
682 },
683 },
684 'America_Pacific' => {
685 long => {
686 'daylight' => q#ᠨᠣᠮᠣᠬᠠᠨ ᠳᠠᠯᠠᠢ ᠎ᠢᠢᠨ ᠵᠣᠨ ᠎᠎᠎ᠪ ᠴᠠᠭ#,
687 'generic' => q#ᠨᠣᠮᠣᠬᠠᠨ ᠳᠠᠯᠠᠢ ᠎ᠢᠢᠨ ᠴᠠᠭ#,
688 'standard' => q#ᠨᠣᠮᠣᠬᠠᠨ ᠳᠠᠯᠠᠢ ᠎᠎ᠢᠢᠨ ᠰᠲ᠋ᠠᠨ᠋ᠳᠠᠷᠳ᠋ ᠴᠠᠭ#,
689 },
690 },
691 'Asia/Hovd' => {
692 exemplarCity => q#ᠬᠣᠪᠳᠣ#,
693 },
694 'Asia/Ulaanbaatar' => {
695 exemplarCity => q#ᠣᠯᠠᠭᠠᠨᠪᠠᠭᠠᠳᠣᠷ#,
696 },
697 'Atlantic' => {
698 long => {
699 'daylight' => q#ᠠᠲ᠋ᠯᠠᠨ᠋ᠲ ᠎ᠤᠨ ᠵᠣᠨ ᠎ᠪ ᠴᠠᠭ#,
700 'generic' => q#ᠠᠲ᠋ᠯᠠᠨ᠋ᠲ᠋ ᠎ᠤᠨ ᠴᠠᠭ#,
701 'standard' => q#ᠠᠲ᠋ᠯᠠᠨ᠋ᠲ ᠎ᠤᠨ ᠰᠲ᠋ᠠᠨ᠋ᠳᠠᠷᠳ᠋ ᠴᠠᠭ#,
702 },
703 },
704 'Etc/UTC' => {
705 long => {
706 'standard' => q#ᠣᠯᠠᠨ ᠣᠯᠣᠰ ᠤᠨ ᠵᠣᠬᠢᠴᠡᠭᠣᠯᠣᠯᠳᠠᠳᠠᠢ ᠴᠠᠭ#,
707 },
708 },
709 'Etc/Unknown' => {
710 exemplarCity => q#ᠥᠯᠥ ᠮᠡᠳᠡᠭᠳᠡᠬᠥ ᠬᠣᠳᠠ#,
711 },
712 'Europe_Central' => {
713 long => {
714 'daylight' => q#ᠲᠥᠪ ᠡᠸᠣᠢᠷᠤᠫᠠ ᠢᠢᠨ ᠵᠣᠨ ᠎᠎ᠤ ᠴᠠᠭ#,
715 'generic' => q#ᠲᠥᠪ ᠡᠸᠣᠢᠷᠤᠫᠠ ᠢᠢᠨ ᠴᠠᠭ#,
716 'standard' => q#ᠲᠥᠪ ᠡᠸᠣᠢᠷᠤᠫᠠ ᠢᠢᠨ ᠰᠲ᠋ᠠᠨ᠋ᠳᠠᠷᠳ᠋ ᠴᠠᠭ#,
717 },
718 },
719 'Europe_Eastern' => {
720 long => {
721 'daylight' => q#ᠵᠡᠭᠦᠨ ᠡᠸᠣᠢᠷᠤᠫᠠ ᠢᠢᠨ ᠵᠣᠨ ᠎᠎ᠤ ᠴᠠᠭ#,
722 'generic' => q#ᠵᠡᠭᠦᠨ ᠡᠸᠣᠢᠷᠤᠫᠠ ᠢᠢᠨ ᠴᠠᠭ#,
723 'standard' => q#ᠵᠡᠭᠦᠨ ᠡᠸᠣᠢᠷᠤᠫᠠ ᠢᠢᠨ ᠰᠲ᠋ᠠᠨ᠋ᠳᠠᠷᠳ᠋ ᠴᠠᠭ#,
724 },
725 },
726 'Europe_Western' => {
727 long => {
728 'daylight' => q#ᠪᠠᠷᠠᠭᠣᠨ ᠡᠸᠣᠢᠷᠤᠫᠠ ᠢᠢᠨ ᠵᠣᠨ ᠎᠎ᠤ ᠴᠠᠭ#,
729 'generic' => q#ᠪᠠᠷᠠᠭᠣᠨ ᠡᠸᠣᠢᠷᠤᠫᠠ ᠢᠢᠨ ᠴᠠᠭ#,
730 'standard' => q#ᠪᠠᠷᠠᠭᠣᠨ ᠡᠸᠣᠢᠷᠤᠫᠠ ᠢᠢᠨ ᠰᠲ᠋ᠠᠨ᠋ᠳᠠᠷᠳ᠋ ᠴᠠᠭ#,
731 },
732 },
733 'GMT' => {
734 long => {
735 'standard' => q#ᠭᠷᠢᠨ᠋ᠸᠢᠴᠢ ᠢᠢᠨ ᠴᠠᠭ#,
736 },
737 },
738 } }
739 1 );
740 1 ▶no Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
741
742 1 1;
743
744 # vim: tabstop=4
« Mn.pm ↑ Summary Mn/Mong.pm »