line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
=encoding utf8 |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=head1 |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
Locale::CLDR::Locales::Sw::Any::Cd - Package for language Swahili |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=cut |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
package Locale::CLDR::Locales::Sw::Any::Cd; |
10
|
|
|
|
|
|
|
# This file auto generated from Data\common\main\sw_CD.xml |
11
|
|
|
|
|
|
|
# on Sun 16 Dec 4:38:59 pm GMT |
12
|
|
|
|
|
|
|
|
13
|
1
|
|
|
1
|
|
6905
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
35
|
|
14
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
30
|
|
15
|
1
|
|
|
1
|
|
5
|
use version; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
7
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
our $VERSION = version->declare('v0.34.0'); |
18
|
|
|
|
|
|
|
|
19
|
1
|
|
|
1
|
|
121
|
use v5.10.1; |
|
1
|
|
|
|
|
4
|
|
20
|
1
|
|
|
1
|
|
6
|
use mro 'c3'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
7
|
|
21
|
1
|
|
|
1
|
|
28
|
use utf8; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
7
|
|
22
|
1
|
|
|
1
|
|
47
|
use if $^V ge v5.12.0, feature => 'unicode_strings'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
17
|
|
23
|
1
|
|
|
1
|
|
126
|
use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef ); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
10
|
|
24
|
1
|
|
|
1
|
|
1551
|
use Moo; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
8
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
extends('Locale::CLDR::Locales::Sw::Any'); |
27
|
|
|
|
|
|
|
has 'display_name_language' => ( |
28
|
|
|
|
|
|
|
is => 'ro', |
29
|
|
|
|
|
|
|
isa => CodeRef, |
30
|
|
|
|
|
|
|
init_arg => undef, |
31
|
|
|
|
|
|
|
default => sub { |
32
|
|
|
|
|
|
|
sub { |
33
|
|
|
|
|
|
|
my %languages = ( |
34
|
|
|
|
|
|
|
'ak' => 'Kiakan', |
35
|
|
|
|
|
|
|
'ar_001' => 'Kiarabu cha Dunia Kilichosanifishwa', |
36
|
|
|
|
|
|
|
'arq' => 'Kiarabu cha Aljeria', |
37
|
|
|
|
|
|
|
'az' => 'Kiazabajani', |
38
|
|
|
|
|
|
|
'gv' => 'Kimanksi', |
39
|
|
|
|
|
|
|
'gwi' => 'Kigwichiin', |
40
|
|
|
|
|
|
|
'hup' => 'Kihupa', |
41
|
|
|
|
|
|
|
'jbo' => 'Kilojban', |
42
|
|
|
|
|
|
|
'kac' => 'Kikachin', |
43
|
|
|
|
|
|
|
'khq' => 'Kikoyra Chiini', |
44
|
|
|
|
|
|
|
'kkj' => 'Kikako', |
45
|
|
|
|
|
|
|
'koi' => 'Kikomipermyak', |
46
|
|
|
|
|
|
|
'kru' => 'Kikurukh', |
47
|
|
|
|
|
|
|
'kum' => 'Kikumyk', |
48
|
|
|
|
|
|
|
'ky' => 'Kikirigizi', |
49
|
|
|
|
|
|
|
'lam' => 'Kilamba', |
50
|
|
|
|
|
|
|
'li' => 'Kilimburgi', |
51
|
|
|
|
|
|
|
'mak' => 'mak', |
52
|
|
|
|
|
|
|
'mdf' => 'Kimoksha', |
53
|
|
|
|
|
|
|
'mic' => 'Kimikmaki', |
54
|
|
|
|
|
|
|
'mk' => 'Kimasedonia', |
55
|
|
|
|
|
|
|
'moh' => 'Kimohoki', |
56
|
|
|
|
|
|
|
'mos' => 'Kimossi', |
57
|
|
|
|
|
|
|
'nnh' => 'Kingiemboon', |
58
|
|
|
|
|
|
|
'nqo' => 'Kiinko', |
59
|
|
|
|
|
|
|
'pcm' => 'Pijini ya Nijeria', |
60
|
|
|
|
|
|
|
'quc' => 'Kikiiche', |
61
|
|
|
|
|
|
|
'shu' => 'Kiarabu cha Chadi', |
62
|
|
|
|
|
|
|
'srn' => 'Kitongo cha Sranan', |
63
|
|
|
|
|
|
|
'swb' => 'Kikomoro', |
64
|
|
|
|
|
|
|
'syr' => 'Kisiria', |
65
|
|
|
|
|
|
|
'udm' => 'Kiudumurti', |
66
|
|
|
|
|
|
|
'yi' => 'Kiyidi', |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
); |
69
|
|
|
|
|
|
|
if (@_) { |
70
|
|
|
|
|
|
|
return $languages{$_[0]}; |
71
|
|
|
|
|
|
|
} |
72
|
|
|
|
|
|
|
return \%languages; |
73
|
|
|
|
|
|
|
} |
74
|
|
|
|
|
|
|
}, |
75
|
|
|
|
|
|
|
); |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
has 'display_name_region' => ( |
78
|
|
|
|
|
|
|
is => 'ro', |
79
|
|
|
|
|
|
|
isa => HashRef[Str], |
80
|
|
|
|
|
|
|
init_arg => undef, |
81
|
|
|
|
|
|
|
default => sub { |
82
|
|
|
|
|
|
|
{ |
83
|
|
|
|
|
|
|
'030' => 'Asia Mashariki', |
84
|
|
|
|
|
|
|
'AF' => 'Afuganistani', |
85
|
|
|
|
|
|
|
'AZ' => 'Azabajani', |
86
|
|
|
|
|
|
|
'BJ' => 'Benini', |
87
|
|
|
|
|
|
|
'CI' => 'Kodivaa', |
88
|
|
|
|
|
|
|
'CX' => 'Kisiwa cha Christmas', |
89
|
|
|
|
|
|
|
'CY' => 'Saiprasi', |
90
|
|
|
|
|
|
|
'DK' => 'Denmaki', |
91
|
|
|
|
|
|
|
'HR' => 'Kroeshia', |
92
|
|
|
|
|
|
|
'JO' => 'Yordani', |
93
|
|
|
|
|
|
|
'LB' => 'Lebanoni', |
94
|
|
|
|
|
|
|
'LI' => 'Lishenteni', |
95
|
|
|
|
|
|
|
'LU' => 'Lasembagi', |
96
|
|
|
|
|
|
|
'LV' => 'Lativia', |
97
|
|
|
|
|
|
|
'MA' => 'Moroko', |
98
|
|
|
|
|
|
|
'MM' => 'Myama', |
99
|
|
|
|
|
|
|
'MV' => 'Maldivi', |
100
|
|
|
|
|
|
|
'NE' => 'Nijeri', |
101
|
|
|
|
|
|
|
'NG' => 'Nijeria', |
102
|
|
|
|
|
|
|
'NO' => 'Norwe', |
103
|
|
|
|
|
|
|
'NP' => 'Nepali', |
104
|
|
|
|
|
|
|
'OM' => 'Omani', |
105
|
|
|
|
|
|
|
'PR' => 'Puetoriko', |
106
|
|
|
|
|
|
|
'QA' => 'Katari', |
107
|
|
|
|
|
|
|
'SD' => 'Sudani', |
108
|
|
|
|
|
|
|
'ST' => 'Sao Tome na Prinsipe', |
109
|
|
|
|
|
|
|
'TD' => 'Chadi', |
110
|
|
|
|
|
|
|
'TL' => 'Timori ya Mashariki', |
111
|
|
|
|
|
|
|
'VN' => 'Vietnamu', |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
} |
114
|
|
|
|
|
|
|
}, |
115
|
|
|
|
|
|
|
); |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
has 'characters' => ( |
118
|
|
|
|
|
|
|
is => 'ro', |
119
|
|
|
|
|
|
|
isa => HashRef, |
120
|
|
|
|
|
|
|
init_arg => undef, |
121
|
|
|
|
|
|
|
default => $^V ge v5.18.0 |
122
|
|
|
|
|
|
|
? eval <<'EOT' |
123
|
|
|
|
|
|
|
sub { |
124
|
|
|
|
|
|
|
no warnings 'experimental::regex_sets'; |
125
|
|
|
|
|
|
|
return { |
126
|
|
|
|
|
|
|
auxiliary => qr{[q x]}, |
127
|
|
|
|
|
|
|
main => qr{[a b c d e f g h i j k l m n o p r s t u v w y z]}, |
128
|
|
|
|
|
|
|
}; |
129
|
|
|
|
|
|
|
}, |
130
|
|
|
|
|
|
|
EOT |
131
|
|
|
|
|
|
|
: sub { |
132
|
|
|
|
|
|
|
return {}; |
133
|
|
|
|
|
|
|
}, |
134
|
1
|
|
|
1
|
|
116
|
); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
134
|
|
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
has 'number_symbols' => ( |
138
|
|
|
|
|
|
|
is => 'ro', |
139
|
|
|
|
|
|
|
isa => HashRef, |
140
|
|
|
|
|
|
|
init_arg => undef, |
141
|
|
|
|
|
|
|
default => sub { { |
142
|
|
|
|
|
|
|
'latn' => { |
143
|
|
|
|
|
|
|
'decimal' => q(,), |
144
|
|
|
|
|
|
|
'group' => q(.), |
145
|
|
|
|
|
|
|
}, |
146
|
|
|
|
|
|
|
} } |
147
|
|
|
|
|
|
|
); |
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
has 'currencies' => ( |
150
|
|
|
|
|
|
|
is => 'ro', |
151
|
|
|
|
|
|
|
isa => HashRef, |
152
|
|
|
|
|
|
|
init_arg => undef, |
153
|
|
|
|
|
|
|
default => sub { { |
154
|
|
|
|
|
|
|
'CDF' => { |
155
|
|
|
|
|
|
|
symbol => 'FC', |
156
|
|
|
|
|
|
|
}, |
157
|
|
|
|
|
|
|
'CNY' => { |
158
|
|
|
|
|
|
|
display_name => { |
159
|
|
|
|
|
|
|
'currency' => q(Yuan Renminbi ya China), |
160
|
|
|
|
|
|
|
}, |
161
|
|
|
|
|
|
|
}, |
162
|
|
|
|
|
|
|
'ETB' => { |
163
|
|
|
|
|
|
|
display_name => { |
164
|
|
|
|
|
|
|
'currency' => q(Bir ya Uhabeshi), |
165
|
|
|
|
|
|
|
}, |
166
|
|
|
|
|
|
|
}, |
167
|
|
|
|
|
|
|
'JPY' => { |
168
|
|
|
|
|
|
|
display_name => { |
169
|
|
|
|
|
|
|
'currency' => q(Sarafu ya Kijapani), |
170
|
|
|
|
|
|
|
}, |
171
|
|
|
|
|
|
|
}, |
172
|
|
|
|
|
|
|
'MGA' => { |
173
|
|
|
|
|
|
|
display_name => { |
174
|
|
|
|
|
|
|
'currency' => q(Ariary ya Bukini), |
175
|
|
|
|
|
|
|
}, |
176
|
|
|
|
|
|
|
}, |
177
|
|
|
|
|
|
|
'MRO' => { |
178
|
|
|
|
|
|
|
display_name => { |
179
|
|
|
|
|
|
|
'currency' => q(Ugwiya ya Moritania \(1973â2017\)), |
180
|
|
|
|
|
|
|
}, |
181
|
|
|
|
|
|
|
}, |
182
|
|
|
|
|
|
|
'MRU' => { |
183
|
|
|
|
|
|
|
display_name => { |
184
|
|
|
|
|
|
|
'currency' => q(Ugwiya ya Moritania), |
185
|
|
|
|
|
|
|
}, |
186
|
|
|
|
|
|
|
}, |
187
|
|
|
|
|
|
|
'SCR' => { |
188
|
|
|
|
|
|
|
display_name => { |
189
|
|
|
|
|
|
|
'currency' => q(Rupia ya Shelisheli), |
190
|
|
|
|
|
|
|
}, |
191
|
|
|
|
|
|
|
}, |
192
|
|
|
|
|
|
|
'XAF' => { |
193
|
|
|
|
|
|
|
display_name => { |
194
|
|
|
|
|
|
|
'currency' => q(Faranga CFA BEAC), |
195
|
|
|
|
|
|
|
}, |
196
|
|
|
|
|
|
|
}, |
197
|
|
|
|
|
|
|
'XOF' => { |
198
|
|
|
|
|
|
|
display_name => { |
199
|
|
|
|
|
|
|
'currency' => q(Faranga CFA BCEAO), |
200
|
|
|
|
|
|
|
}, |
201
|
|
|
|
|
|
|
}, |
202
|
|
|
|
|
|
|
} }, |
203
|
|
|
|
|
|
|
); |
204
|
|
|
|
|
|
|
|
205
|
|
|
|
|
|
|
|
206
|
|
|
|
|
|
|
has 'day_period_data' => ( |
207
|
|
|
|
|
|
|
is => 'ro', |
208
|
|
|
|
|
|
|
isa => CodeRef, |
209
|
|
|
|
|
|
|
init_arg => undef, |
210
|
|
|
|
|
|
|
default => sub { sub { |
211
|
|
|
|
|
|
|
# Time in hhmm format |
212
|
|
|
|
|
|
|
my ($self, $type, $time, $day_period_type) = @_; |
213
|
|
|
|
|
|
|
$day_period_type //= 'default'; |
214
|
|
|
|
|
|
|
SWITCH: |
215
|
|
|
|
|
|
|
for ($type) { |
216
|
|
|
|
|
|
|
if ($_ eq 'generic') { |
217
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
218
|
|
|
|
|
|
|
return 'noon' if $time == 1200; |
219
|
|
|
|
|
|
|
return 'midnight' if $time == 0; |
220
|
|
|
|
|
|
|
return 'evening1' if $time >= 1600 |
221
|
|
|
|
|
|
|
&& $time < 1900; |
222
|
|
|
|
|
|
|
return 'morning2' if $time >= 700 |
223
|
|
|
|
|
|
|
&& $time < 1200; |
224
|
|
|
|
|
|
|
return 'night1' if $time >= 1900; |
225
|
|
|
|
|
|
|
return 'night1' if $time < 400; |
226
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
227
|
|
|
|
|
|
|
&& $time < 1600; |
228
|
|
|
|
|
|
|
return 'morning1' if $time >= 400 |
229
|
|
|
|
|
|
|
&& $time < 700; |
230
|
|
|
|
|
|
|
} |
231
|
|
|
|
|
|
|
if($day_period_type eq 'selection') { |
232
|
|
|
|
|
|
|
return 'morning1' if $time >= 400 |
233
|
|
|
|
|
|
|
&& $time < 700; |
234
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
235
|
|
|
|
|
|
|
&& $time < 1600; |
236
|
|
|
|
|
|
|
return 'night1' if $time >= 1900; |
237
|
|
|
|
|
|
|
return 'night1' if $time < 400; |
238
|
|
|
|
|
|
|
return 'evening1' if $time >= 1600 |
239
|
|
|
|
|
|
|
&& $time < 1900; |
240
|
|
|
|
|
|
|
return 'morning2' if $time >= 700 |
241
|
|
|
|
|
|
|
&& $time < 1200; |
242
|
|
|
|
|
|
|
} |
243
|
|
|
|
|
|
|
last SWITCH; |
244
|
|
|
|
|
|
|
} |
245
|
|
|
|
|
|
|
} |
246
|
|
|
|
|
|
|
} }, |
247
|
|
|
|
|
|
|
); |
248
|
|
|
|
|
|
|
|
249
|
|
|
|
|
|
|
around day_period_data => sub { |
250
|
|
|
|
|
|
|
my ($orig, $self) = @_; |
251
|
|
|
|
|
|
|
return $self->$orig; |
252
|
|
|
|
|
|
|
}; |
253
|
|
|
|
|
|
|
|
254
|
|
|
|
|
|
|
has 'eras' => ( |
255
|
|
|
|
|
|
|
is => 'ro', |
256
|
|
|
|
|
|
|
isa => HashRef, |
257
|
|
|
|
|
|
|
init_arg => undef, |
258
|
|
|
|
|
|
|
default => sub { { |
259
|
|
|
|
|
|
|
'generic' => { |
260
|
|
|
|
|
|
|
}, |
261
|
|
|
|
|
|
|
} }, |
262
|
|
|
|
|
|
|
); |
263
|
|
|
|
|
|
|
|
264
|
|
|
|
|
|
|
has 'date_formats' => ( |
265
|
|
|
|
|
|
|
is => 'ro', |
266
|
|
|
|
|
|
|
isa => HashRef, |
267
|
|
|
|
|
|
|
init_arg => undef, |
268
|
|
|
|
|
|
|
default => sub { { |
269
|
|
|
|
|
|
|
'generic' => { |
270
|
|
|
|
|
|
|
}, |
271
|
|
|
|
|
|
|
} }, |
272
|
|
|
|
|
|
|
); |
273
|
|
|
|
|
|
|
|
274
|
|
|
|
|
|
|
has 'time_formats' => ( |
275
|
|
|
|
|
|
|
is => 'ro', |
276
|
|
|
|
|
|
|
isa => HashRef, |
277
|
|
|
|
|
|
|
init_arg => undef, |
278
|
|
|
|
|
|
|
default => sub { { |
279
|
|
|
|
|
|
|
'generic' => { |
280
|
|
|
|
|
|
|
}, |
281
|
|
|
|
|
|
|
} }, |
282
|
|
|
|
|
|
|
); |
283
|
|
|
|
|
|
|
|
284
|
|
|
|
|
|
|
has 'datetime_formats' => ( |
285
|
|
|
|
|
|
|
is => 'ro', |
286
|
|
|
|
|
|
|
isa => HashRef, |
287
|
|
|
|
|
|
|
init_arg => undef, |
288
|
|
|
|
|
|
|
default => sub { { |
289
|
|
|
|
|
|
|
'generic' => { |
290
|
|
|
|
|
|
|
}, |
291
|
|
|
|
|
|
|
} }, |
292
|
|
|
|
|
|
|
); |
293
|
|
|
|
|
|
|
|
294
|
|
|
|
|
|
|
has 'datetime_formats_available_formats' => ( |
295
|
|
|
|
|
|
|
is => 'ro', |
296
|
|
|
|
|
|
|
isa => HashRef, |
297
|
|
|
|
|
|
|
init_arg => undef, |
298
|
|
|
|
|
|
|
default => sub { { |
299
|
|
|
|
|
|
|
'generic' => { |
300
|
|
|
|
|
|
|
MMMEd => q{E d MMM}, |
301
|
|
|
|
|
|
|
ms => q{m:ss}, |
302
|
|
|
|
|
|
|
}, |
303
|
|
|
|
|
|
|
} }, |
304
|
|
|
|
|
|
|
); |
305
|
|
|
|
|
|
|
|
306
|
|
|
|
|
|
|
has 'datetime_formats_append_item' => ( |
307
|
|
|
|
|
|
|
is => 'ro', |
308
|
|
|
|
|
|
|
isa => HashRef, |
309
|
|
|
|
|
|
|
init_arg => undef, |
310
|
|
|
|
|
|
|
default => sub { { |
311
|
|
|
|
|
|
|
} }, |
312
|
|
|
|
|
|
|
); |
313
|
|
|
|
|
|
|
|
314
|
|
|
|
|
|
|
has 'datetime_formats_interval' => ( |
315
|
|
|
|
|
|
|
is => 'ro', |
316
|
|
|
|
|
|
|
isa => HashRef, |
317
|
|
|
|
|
|
|
init_arg => undef, |
318
|
|
|
|
|
|
|
default => sub { { |
319
|
|
|
|
|
|
|
} }, |
320
|
|
|
|
|
|
|
); |
321
|
|
|
|
|
|
|
|
322
|
1
|
|
|
1
|
|
1472
|
no Moo; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
6
|
|
323
|
|
|
|
|
|
|
|
324
|
|
|
|
|
|
|
1; |
325
|
|
|
|
|
|
|
|
326
|
|
|
|
|
|
|
# vim: tabstop=4 |