line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
=head1 |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
Locale::CLDR::Locales::Sw::Any::Cd - Package for language Swahili |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
=cut |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
package Locale::CLDR::Locales::Sw::Any::Cd; |
8
|
|
|
|
|
|
|
# This file auto generated from Data\common\main\sw_CD.xml |
9
|
|
|
|
|
|
|
# on Sun 24 Apr 8:52:37 am GMT |
10
|
|
|
|
|
|
|
|
11
|
1
|
|
|
1
|
|
844
|
use version; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
6
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
our $VERSION = version->declare('v0.29.0'); |
14
|
|
|
|
|
|
|
|
15
|
1
|
|
|
1
|
|
377
|
use v5.10.1; |
|
1
|
|
|
|
|
2
|
|
16
|
1
|
|
|
1
|
|
3
|
use mro 'c3'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
6
|
|
17
|
1
|
|
|
1
|
|
35
|
use utf8; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
7
|
|
18
|
1
|
|
|
1
|
|
25
|
use if $^V ge v5.12.0, feature => 'unicode_strings'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
11
|
|
19
|
|
|
|
|
|
|
|
20
|
1
|
|
|
1
|
|
106
|
use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef ); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
8
|
|
21
|
1
|
|
|
1
|
|
677
|
use Moo; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
7
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
extends('Locale::CLDR::Locales::Sw::Any'); |
24
|
|
|
|
|
|
|
has 'display_name_language' => ( |
25
|
|
|
|
|
|
|
is => 'ro', |
26
|
|
|
|
|
|
|
isa => CodeRef, |
27
|
|
|
|
|
|
|
init_arg => undef, |
28
|
|
|
|
|
|
|
default => sub { |
29
|
|
|
|
|
|
|
sub { |
30
|
|
|
|
|
|
|
my %languages = ( |
31
|
|
|
|
|
|
|
'ak' => 'Kiakan', |
32
|
|
|
|
|
|
|
'bn' => 'Kibangla', |
33
|
|
|
|
|
|
|
'cs' => 'Kichecki', |
34
|
|
|
|
|
|
|
'en' => 'Kingereza', |
35
|
|
|
|
|
|
|
'sw_CD' => 'Kiswahili ya Kongo', |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
); |
38
|
|
|
|
|
|
|
if (@_) { |
39
|
|
|
|
|
|
|
return $languages{$_[0]}; |
40
|
|
|
|
|
|
|
} |
41
|
|
|
|
|
|
|
return \%languages; |
42
|
|
|
|
|
|
|
} |
43
|
|
|
|
|
|
|
}, |
44
|
|
|
|
|
|
|
); |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
has 'display_name_region' => ( |
47
|
|
|
|
|
|
|
is => 'ro', |
48
|
|
|
|
|
|
|
isa => HashRef[Str], |
49
|
|
|
|
|
|
|
init_arg => undef, |
50
|
|
|
|
|
|
|
default => sub { |
51
|
|
|
|
|
|
|
{ |
52
|
|
|
|
|
|
|
'AF' => 'Afuganistani', |
53
|
|
|
|
|
|
|
'BJ' => 'Benini', |
54
|
|
|
|
|
|
|
'CG' => 'Kongo', |
55
|
|
|
|
|
|
|
'CI' => 'Kodivaa', |
56
|
|
|
|
|
|
|
'CY' => 'Kuprosi', |
57
|
|
|
|
|
|
|
'IR' => 'Uajemi', |
58
|
|
|
|
|
|
|
'LI' => 'Lishenteni', |
59
|
|
|
|
|
|
|
'MG' => 'Bukini', |
60
|
|
|
|
|
|
|
'MM' => 'Myama', |
61
|
|
|
|
|
|
|
'NF' => 'Kisiwa cha Norfok', |
62
|
|
|
|
|
|
|
'NG' => 'Nijeria', |
63
|
|
|
|
|
|
|
'TL' => 'Timori ya Mashariki', |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
} |
66
|
|
|
|
|
|
|
}, |
67
|
|
|
|
|
|
|
); |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
has 'characters' => ( |
70
|
|
|
|
|
|
|
is => 'ro', |
71
|
|
|
|
|
|
|
isa => HashRef, |
72
|
|
|
|
|
|
|
init_arg => undef, |
73
|
|
|
|
|
|
|
default => $^V ge v5.18.0 |
74
|
|
|
|
|
|
|
? eval <<'EOT' |
75
|
|
|
|
|
|
|
sub { |
76
|
|
|
|
|
|
|
no warnings 'experimental::regex_sets'; |
77
|
|
|
|
|
|
|
return { |
78
|
|
|
|
|
|
|
auxiliary => qr{(?^u:[q x])}, |
79
|
|
|
|
|
|
|
main => qr{(?^u:[a b c d e f g h i j k l m n o p r s t u v w y z])}, |
80
|
|
|
|
|
|
|
}; |
81
|
|
|
|
|
|
|
}, |
82
|
|
|
|
|
|
|
EOT |
83
|
|
|
|
|
|
|
: sub { |
84
|
|
|
|
|
|
|
return {}; |
85
|
|
|
|
|
|
|
}, |
86
|
1
|
|
|
1
|
|
95
|
); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
77
|
|
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
has 'number_symbols' => ( |
90
|
|
|
|
|
|
|
is => 'ro', |
91
|
|
|
|
|
|
|
isa => HashRef, |
92
|
|
|
|
|
|
|
init_arg => undef, |
93
|
|
|
|
|
|
|
default => sub { { |
94
|
|
|
|
|
|
|
'latn' => { |
95
|
|
|
|
|
|
|
'decimal' => q(,), |
96
|
|
|
|
|
|
|
'group' => q(.), |
97
|
|
|
|
|
|
|
}, |
98
|
|
|
|
|
|
|
} } |
99
|
|
|
|
|
|
|
); |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
has 'currencies' => ( |
102
|
|
|
|
|
|
|
is => 'ro', |
103
|
|
|
|
|
|
|
isa => HashRef, |
104
|
|
|
|
|
|
|
init_arg => undef, |
105
|
|
|
|
|
|
|
default => sub { { |
106
|
|
|
|
|
|
|
'CDF' => { |
107
|
|
|
|
|
|
|
symbol => 'FC', |
108
|
|
|
|
|
|
|
}, |
109
|
|
|
|
|
|
|
'CNY' => { |
110
|
|
|
|
|
|
|
display_name => { |
111
|
|
|
|
|
|
|
'currency' => q(Yuan Renminbi ya China), |
112
|
|
|
|
|
|
|
}, |
113
|
|
|
|
|
|
|
}, |
114
|
|
|
|
|
|
|
'ETB' => { |
115
|
|
|
|
|
|
|
display_name => { |
116
|
|
|
|
|
|
|
'currency' => q(Bir ya Uhabeshi), |
117
|
|
|
|
|
|
|
}, |
118
|
|
|
|
|
|
|
}, |
119
|
|
|
|
|
|
|
'JPY' => { |
120
|
|
|
|
|
|
|
display_name => { |
121
|
|
|
|
|
|
|
'currency' => q(Sarafu ya Kijapani), |
122
|
|
|
|
|
|
|
}, |
123
|
|
|
|
|
|
|
}, |
124
|
|
|
|
|
|
|
'MGA' => { |
125
|
|
|
|
|
|
|
display_name => { |
126
|
|
|
|
|
|
|
'currency' => q(Ariary ya Bukini), |
127
|
|
|
|
|
|
|
}, |
128
|
|
|
|
|
|
|
}, |
129
|
|
|
|
|
|
|
'MRO' => { |
130
|
|
|
|
|
|
|
display_name => { |
131
|
|
|
|
|
|
|
'currency' => q(Ugwiya ya Moritania), |
132
|
|
|
|
|
|
|
}, |
133
|
|
|
|
|
|
|
}, |
134
|
|
|
|
|
|
|
'SCR' => { |
135
|
|
|
|
|
|
|
display_name => { |
136
|
|
|
|
|
|
|
'currency' => q(Rupia ya Shelisheli), |
137
|
|
|
|
|
|
|
}, |
138
|
|
|
|
|
|
|
}, |
139
|
|
|
|
|
|
|
'XAF' => { |
140
|
|
|
|
|
|
|
display_name => { |
141
|
|
|
|
|
|
|
'currency' => q(Faranga CFA BEAC), |
142
|
|
|
|
|
|
|
}, |
143
|
|
|
|
|
|
|
}, |
144
|
|
|
|
|
|
|
'XOF' => { |
145
|
|
|
|
|
|
|
display_name => { |
146
|
|
|
|
|
|
|
'currency' => q(Faranga CFA BCEAO), |
147
|
|
|
|
|
|
|
}, |
148
|
|
|
|
|
|
|
}, |
149
|
|
|
|
|
|
|
} }, |
150
|
|
|
|
|
|
|
); |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
has 'calendar_months' => ( |
154
|
|
|
|
|
|
|
is => 'ro', |
155
|
|
|
|
|
|
|
isa => HashRef, |
156
|
|
|
|
|
|
|
init_arg => undef, |
157
|
|
|
|
|
|
|
default => sub { { |
158
|
|
|
|
|
|
|
'gregorian' => { |
159
|
|
|
|
|
|
|
'format' => { |
160
|
|
|
|
|
|
|
abbreviated => { |
161
|
|
|
|
|
|
|
nonleap => [ |
162
|
|
|
|
|
|
|
'mkw', |
163
|
|
|
|
|
|
|
'mpi', |
164
|
|
|
|
|
|
|
'mtu', |
165
|
|
|
|
|
|
|
'min', |
166
|
|
|
|
|
|
|
'mtn', |
167
|
|
|
|
|
|
|
'mst', |
168
|
|
|
|
|
|
|
'msb', |
169
|
|
|
|
|
|
|
'mun', |
170
|
|
|
|
|
|
|
'mts', |
171
|
|
|
|
|
|
|
'mku', |
172
|
|
|
|
|
|
|
'mkm', |
173
|
|
|
|
|
|
|
'mkb' |
174
|
|
|
|
|
|
|
], |
175
|
|
|
|
|
|
|
leap => [ |
176
|
|
|
|
|
|
|
|
177
|
|
|
|
|
|
|
], |
178
|
|
|
|
|
|
|
}, |
179
|
|
|
|
|
|
|
wide => { |
180
|
|
|
|
|
|
|
nonleap => [ |
181
|
|
|
|
|
|
|
'mwezi ya kwanja', |
182
|
|
|
|
|
|
|
'mwezi ya pili', |
183
|
|
|
|
|
|
|
'mwezi ya tatu', |
184
|
|
|
|
|
|
|
'mwezi ya ine', |
185
|
|
|
|
|
|
|
'mwezi ya tanu', |
186
|
|
|
|
|
|
|
'mwezi ya sita', |
187
|
|
|
|
|
|
|
'mwezi ya saba', |
188
|
|
|
|
|
|
|
'mwezi ya munane', |
189
|
|
|
|
|
|
|
'mwezi ya tisa', |
190
|
|
|
|
|
|
|
'mwezi ya kumi', |
191
|
|
|
|
|
|
|
'mwezi ya kumi na moya', |
192
|
|
|
|
|
|
|
'mwezi ya kumi ya mbili' |
193
|
|
|
|
|
|
|
], |
194
|
|
|
|
|
|
|
leap => [ |
195
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
], |
197
|
|
|
|
|
|
|
}, |
198
|
|
|
|
|
|
|
}, |
199
|
|
|
|
|
|
|
'stand-alone' => { |
200
|
|
|
|
|
|
|
narrow => { |
201
|
|
|
|
|
|
|
nonleap => [ |
202
|
|
|
|
|
|
|
'k', |
203
|
|
|
|
|
|
|
'p', |
204
|
|
|
|
|
|
|
't', |
205
|
|
|
|
|
|
|
'i', |
206
|
|
|
|
|
|
|
't', |
207
|
|
|
|
|
|
|
's', |
208
|
|
|
|
|
|
|
's', |
209
|
|
|
|
|
|
|
'm', |
210
|
|
|
|
|
|
|
't', |
211
|
|
|
|
|
|
|
'k', |
212
|
|
|
|
|
|
|
'm', |
213
|
|
|
|
|
|
|
'm' |
214
|
|
|
|
|
|
|
], |
215
|
|
|
|
|
|
|
leap => [ |
216
|
|
|
|
|
|
|
|
217
|
|
|
|
|
|
|
], |
218
|
|
|
|
|
|
|
}, |
219
|
|
|
|
|
|
|
}, |
220
|
|
|
|
|
|
|
}, |
221
|
|
|
|
|
|
|
} }, |
222
|
|
|
|
|
|
|
); |
223
|
|
|
|
|
|
|
|
224
|
|
|
|
|
|
|
has 'calendar_days' => ( |
225
|
|
|
|
|
|
|
is => 'ro', |
226
|
|
|
|
|
|
|
isa => HashRef, |
227
|
|
|
|
|
|
|
init_arg => undef, |
228
|
|
|
|
|
|
|
default => sub { { |
229
|
|
|
|
|
|
|
'gregorian' => { |
230
|
|
|
|
|
|
|
'format' => { |
231
|
|
|
|
|
|
|
abbreviated => { |
232
|
|
|
|
|
|
|
mon => 'kwa', |
233
|
|
|
|
|
|
|
tue => 'pil', |
234
|
|
|
|
|
|
|
wed => 'tat', |
235
|
|
|
|
|
|
|
thu => 'ine', |
236
|
|
|
|
|
|
|
fri => 'tan', |
237
|
|
|
|
|
|
|
sat => 'sit', |
238
|
|
|
|
|
|
|
sun => 'yen' |
239
|
|
|
|
|
|
|
}, |
240
|
|
|
|
|
|
|
wide => { |
241
|
|
|
|
|
|
|
mon => 'siku ya kwanza', |
242
|
|
|
|
|
|
|
tue => 'siku ya pili', |
243
|
|
|
|
|
|
|
wed => 'siku ya tatu', |
244
|
|
|
|
|
|
|
thu => 'siku ya ine', |
245
|
|
|
|
|
|
|
fri => 'siku ya tanu', |
246
|
|
|
|
|
|
|
sat => 'siku ya sita', |
247
|
|
|
|
|
|
|
sun => 'siku ya yenga' |
248
|
|
|
|
|
|
|
}, |
249
|
|
|
|
|
|
|
}, |
250
|
|
|
|
|
|
|
'stand-alone' => { |
251
|
|
|
|
|
|
|
narrow => { |
252
|
|
|
|
|
|
|
mon => 'k', |
253
|
|
|
|
|
|
|
tue => 'p', |
254
|
|
|
|
|
|
|
wed => 't', |
255
|
|
|
|
|
|
|
thu => 'i', |
256
|
|
|
|
|
|
|
fri => 't', |
257
|
|
|
|
|
|
|
sat => 's', |
258
|
|
|
|
|
|
|
sun => 'y' |
259
|
|
|
|
|
|
|
}, |
260
|
|
|
|
|
|
|
}, |
261
|
|
|
|
|
|
|
}, |
262
|
|
|
|
|
|
|
} }, |
263
|
|
|
|
|
|
|
); |
264
|
|
|
|
|
|
|
|
265
|
|
|
|
|
|
|
has 'day_period_data' => ( |
266
|
|
|
|
|
|
|
is => 'ro', |
267
|
|
|
|
|
|
|
isa => CodeRef, |
268
|
|
|
|
|
|
|
init_arg => undef, |
269
|
|
|
|
|
|
|
default => sub { sub { |
270
|
|
|
|
|
|
|
# Time in hhmm format |
271
|
|
|
|
|
|
|
my ($self, $type, $time, $day_period_type) = @_; |
272
|
|
|
|
|
|
|
$day_period_type //= 'default'; |
273
|
|
|
|
|
|
|
SWITCH: |
274
|
|
|
|
|
|
|
for ($type) { |
275
|
|
|
|
|
|
|
if ($_ eq 'gregorian') { |
276
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
277
|
|
|
|
|
|
|
return 'midnight' if $time == 0; |
278
|
|
|
|
|
|
|
return 'noon' if $time == 1200; |
279
|
|
|
|
|
|
|
return 'morning1' if $time >= 400 |
280
|
|
|
|
|
|
|
&& $time < 700; |
281
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
282
|
|
|
|
|
|
|
&& $time < 1600; |
283
|
|
|
|
|
|
|
return 'night1' if $time >= 1900; |
284
|
|
|
|
|
|
|
return 'night1' if $time < 400; |
285
|
|
|
|
|
|
|
return 'morning2' if $time >= 700 |
286
|
|
|
|
|
|
|
&& $time < 1200; |
287
|
|
|
|
|
|
|
return 'evening1' if $time >= 1600 |
288
|
|
|
|
|
|
|
&& $time < 1900; |
289
|
|
|
|
|
|
|
} |
290
|
|
|
|
|
|
|
if($day_period_type eq 'selection') { |
291
|
|
|
|
|
|
|
return 'evening1' if $time >= 1600 |
292
|
|
|
|
|
|
|
&& $time < 1900; |
293
|
|
|
|
|
|
|
return 'morning2' if $time >= 700 |
294
|
|
|
|
|
|
|
&& $time < 1200; |
295
|
|
|
|
|
|
|
return 'night1' if $time >= 1900; |
296
|
|
|
|
|
|
|
return 'night1' if $time < 400; |
297
|
|
|
|
|
|
|
return 'morning1' if $time >= 400 |
298
|
|
|
|
|
|
|
&& $time < 700; |
299
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
300
|
|
|
|
|
|
|
&& $time < 1600; |
301
|
|
|
|
|
|
|
} |
302
|
|
|
|
|
|
|
last SWITCH; |
303
|
|
|
|
|
|
|
} |
304
|
|
|
|
|
|
|
if ($_ eq 'generic') { |
305
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
306
|
|
|
|
|
|
|
return 'midnight' if $time == 0; |
307
|
|
|
|
|
|
|
return 'noon' if $time == 1200; |
308
|
|
|
|
|
|
|
return 'morning1' if $time >= 400 |
309
|
|
|
|
|
|
|
&& $time < 700; |
310
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
311
|
|
|
|
|
|
|
&& $time < 1600; |
312
|
|
|
|
|
|
|
return 'night1' if $time >= 1900; |
313
|
|
|
|
|
|
|
return 'night1' if $time < 400; |
314
|
|
|
|
|
|
|
return 'morning2' if $time >= 700 |
315
|
|
|
|
|
|
|
&& $time < 1200; |
316
|
|
|
|
|
|
|
return 'evening1' if $time >= 1600 |
317
|
|
|
|
|
|
|
&& $time < 1900; |
318
|
|
|
|
|
|
|
} |
319
|
|
|
|
|
|
|
if($day_period_type eq 'selection') { |
320
|
|
|
|
|
|
|
return 'evening1' if $time >= 1600 |
321
|
|
|
|
|
|
|
&& $time < 1900; |
322
|
|
|
|
|
|
|
return 'morning2' if $time >= 700 |
323
|
|
|
|
|
|
|
&& $time < 1200; |
324
|
|
|
|
|
|
|
return 'night1' if $time >= 1900; |
325
|
|
|
|
|
|
|
return 'night1' if $time < 400; |
326
|
|
|
|
|
|
|
return 'morning1' if $time >= 400 |
327
|
|
|
|
|
|
|
&& $time < 700; |
328
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
329
|
|
|
|
|
|
|
&& $time < 1600; |
330
|
|
|
|
|
|
|
} |
331
|
|
|
|
|
|
|
last SWITCH; |
332
|
|
|
|
|
|
|
} |
333
|
|
|
|
|
|
|
} |
334
|
|
|
|
|
|
|
} }, |
335
|
|
|
|
|
|
|
); |
336
|
|
|
|
|
|
|
|
337
|
|
|
|
|
|
|
around day_period_data => sub { |
338
|
|
|
|
|
|
|
my ($orig, $self) = @_; |
339
|
|
|
|
|
|
|
return $self->$orig; |
340
|
|
|
|
|
|
|
}; |
341
|
|
|
|
|
|
|
|
342
|
|
|
|
|
|
|
has 'day_periods' => ( |
343
|
|
|
|
|
|
|
is => 'ro', |
344
|
|
|
|
|
|
|
isa => HashRef, |
345
|
|
|
|
|
|
|
init_arg => undef, |
346
|
|
|
|
|
|
|
default => sub { { |
347
|
|
|
|
|
|
|
'gregorian' => { |
348
|
|
|
|
|
|
|
'format' => { |
349
|
|
|
|
|
|
|
'wide' => { |
350
|
|
|
|
|
|
|
'am' => q{ya asubuyi}, |
351
|
|
|
|
|
|
|
'pm' => q{ya muchana}, |
352
|
|
|
|
|
|
|
}, |
353
|
|
|
|
|
|
|
}, |
354
|
|
|
|
|
|
|
}, |
355
|
|
|
|
|
|
|
} }, |
356
|
|
|
|
|
|
|
); |
357
|
|
|
|
|
|
|
|
358
|
|
|
|
|
|
|
has 'eras' => ( |
359
|
|
|
|
|
|
|
is => 'ro', |
360
|
|
|
|
|
|
|
isa => HashRef, |
361
|
|
|
|
|
|
|
init_arg => undef, |
362
|
|
|
|
|
|
|
default => sub { { |
363
|
|
|
|
|
|
|
'generic' => { |
364
|
|
|
|
|
|
|
}, |
365
|
|
|
|
|
|
|
'gregorian' => { |
366
|
|
|
|
|
|
|
}, |
367
|
|
|
|
|
|
|
} }, |
368
|
|
|
|
|
|
|
); |
369
|
|
|
|
|
|
|
|
370
|
|
|
|
|
|
|
has 'date_formats' => ( |
371
|
|
|
|
|
|
|
is => 'ro', |
372
|
|
|
|
|
|
|
isa => HashRef, |
373
|
|
|
|
|
|
|
init_arg => undef, |
374
|
|
|
|
|
|
|
default => sub { { |
375
|
|
|
|
|
|
|
'generic' => { |
376
|
|
|
|
|
|
|
'full' => q{EEEE d MMMM y G}, |
377
|
|
|
|
|
|
|
'short' => q{d/M/y GGGGG}, |
378
|
|
|
|
|
|
|
}, |
379
|
|
|
|
|
|
|
'gregorian' => { |
380
|
|
|
|
|
|
|
'full' => q{EEEE d MMMM y}, |
381
|
|
|
|
|
|
|
'short' => q{d/M/y}, |
382
|
|
|
|
|
|
|
}, |
383
|
|
|
|
|
|
|
} }, |
384
|
|
|
|
|
|
|
); |
385
|
|
|
|
|
|
|
|
386
|
|
|
|
|
|
|
has 'time_formats' => ( |
387
|
|
|
|
|
|
|
is => 'ro', |
388
|
|
|
|
|
|
|
isa => HashRef, |
389
|
|
|
|
|
|
|
init_arg => undef, |
390
|
|
|
|
|
|
|
default => sub { { |
391
|
|
|
|
|
|
|
'generic' => { |
392
|
|
|
|
|
|
|
}, |
393
|
|
|
|
|
|
|
'gregorian' => { |
394
|
|
|
|
|
|
|
}, |
395
|
|
|
|
|
|
|
} }, |
396
|
|
|
|
|
|
|
); |
397
|
|
|
|
|
|
|
|
398
|
|
|
|
|
|
|
has 'datetime_formats' => ( |
399
|
|
|
|
|
|
|
is => 'ro', |
400
|
|
|
|
|
|
|
isa => HashRef, |
401
|
|
|
|
|
|
|
init_arg => undef, |
402
|
|
|
|
|
|
|
default => sub { { |
403
|
|
|
|
|
|
|
'generic' => { |
404
|
|
|
|
|
|
|
}, |
405
|
|
|
|
|
|
|
'gregorian' => { |
406
|
|
|
|
|
|
|
}, |
407
|
|
|
|
|
|
|
} }, |
408
|
|
|
|
|
|
|
); |
409
|
|
|
|
|
|
|
|
410
|
|
|
|
|
|
|
has 'datetime_formats_available_formats' => ( |
411
|
|
|
|
|
|
|
is => 'ro', |
412
|
|
|
|
|
|
|
isa => HashRef, |
413
|
|
|
|
|
|
|
init_arg => undef, |
414
|
|
|
|
|
|
|
default => sub { { |
415
|
|
|
|
|
|
|
'generic' => { |
416
|
|
|
|
|
|
|
MEd => q{E d/M}, |
417
|
|
|
|
|
|
|
MMMEd => q{E d MMM}, |
418
|
|
|
|
|
|
|
Md => q{d/M}, |
419
|
|
|
|
|
|
|
hms => q{h:mm:ss a}, |
420
|
|
|
|
|
|
|
ms => q{m:ss}, |
421
|
|
|
|
|
|
|
y => q{y}, |
422
|
|
|
|
|
|
|
yM => q{M/y}, |
423
|
|
|
|
|
|
|
yMEd => q{E d/M/y}, |
424
|
|
|
|
|
|
|
yMMM => q{MMM y}, |
425
|
|
|
|
|
|
|
yMMMEd => q{E d MMM y}, |
426
|
|
|
|
|
|
|
yMMMd => q{d MMM y}, |
427
|
|
|
|
|
|
|
yMd => q{d/M/y}, |
428
|
|
|
|
|
|
|
yQQQ => q{QQQ y}, |
429
|
|
|
|
|
|
|
yQQQQ => q{QQQQ y}, |
430
|
|
|
|
|
|
|
}, |
431
|
|
|
|
|
|
|
'gregorian' => { |
432
|
|
|
|
|
|
|
MEd => q{E d/M}, |
433
|
|
|
|
|
|
|
MMMEd => q{E d MMM}, |
434
|
|
|
|
|
|
|
ms => q{m:ss}, |
435
|
|
|
|
|
|
|
yMEd => q{E d/M/y}, |
436
|
|
|
|
|
|
|
yMMMEd => q{E d MMM y}, |
437
|
|
|
|
|
|
|
}, |
438
|
|
|
|
|
|
|
} }, |
439
|
|
|
|
|
|
|
); |
440
|
|
|
|
|
|
|
|
441
|
|
|
|
|
|
|
has 'datetime_formats_append_item' => ( |
442
|
|
|
|
|
|
|
is => 'ro', |
443
|
|
|
|
|
|
|
isa => HashRef, |
444
|
|
|
|
|
|
|
init_arg => undef, |
445
|
|
|
|
|
|
|
default => sub { { |
446
|
|
|
|
|
|
|
} }, |
447
|
|
|
|
|
|
|
); |
448
|
|
|
|
|
|
|
|
449
|
|
|
|
|
|
|
has 'datetime_formats_interval' => ( |
450
|
|
|
|
|
|
|
is => 'ro', |
451
|
|
|
|
|
|
|
isa => HashRef, |
452
|
|
|
|
|
|
|
init_arg => undef, |
453
|
|
|
|
|
|
|
default => sub { { |
454
|
|
|
|
|
|
|
} }, |
455
|
|
|
|
|
|
|
); |
456
|
|
|
|
|
|
|
|
457
|
1
|
|
|
1
|
|
2719
|
no Moo; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
5
|
|
458
|
|
|
|
|
|
|
|
459
|
|
|
|
|
|
|
1; |
460
|
|
|
|
|
|
|
|
461
|
|
|
|
|
|
|
# vim: tabstop=4 |