line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
=encoding utf8 |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=head1 |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
Locale::CLDR::Locales::Ar::Any::Ma - Package for language Arabic |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=cut |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
package Locale::CLDR::Locales::Ar::Any::Ma; |
10
|
|
|
|
|
|
|
# This file auto generated from Data\common\main\ar_MA.xml |
11
|
|
|
|
|
|
|
# on Sun 16 Dec 4:05:43 pm GMT |
12
|
|
|
|
|
|
|
|
13
|
1
|
|
|
1
|
|
988
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
26
|
|
14
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
20
|
|
15
|
1
|
|
|
1
|
|
5
|
use version; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
our $VERSION = version->declare('v0.34.0'); |
18
|
|
|
|
|
|
|
|
19
|
1
|
|
|
1
|
|
87
|
use v5.10.1; |
|
1
|
|
|
|
|
3
|
|
20
|
1
|
|
|
1
|
|
5
|
use mro 'c3'; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
6
|
|
21
|
1
|
|
|
1
|
|
20
|
use utf8; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
6
|
|
22
|
1
|
|
|
1
|
|
40
|
use if $^V ge v5.12.0, feature => 'unicode_strings'; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
11
|
|
23
|
1
|
|
|
1
|
|
96
|
use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef ); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
24
|
1
|
|
|
1
|
|
942
|
use Moo; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
extends('Locale::CLDR::Locales::Ar::Any'); |
27
|
|
|
|
|
|
|
has 'characters' => ( |
28
|
|
|
|
|
|
|
is => 'ro', |
29
|
|
|
|
|
|
|
isa => HashRef, |
30
|
|
|
|
|
|
|
init_arg => undef, |
31
|
|
|
|
|
|
|
default => $^V ge v5.18.0 |
32
|
|
|
|
|
|
|
? eval <<'EOT' |
33
|
|
|
|
|
|
|
sub { |
34
|
|
|
|
|
|
|
no warnings 'experimental::regex_sets'; |
35
|
|
|
|
|
|
|
return { |
36
|
|
|
|
|
|
|
auxiliary => qr{[ââââ Ù¾ Ú Ú Ú Ú¢ Ú¤ Ú¥ Ù¯ Ú§ Ú¨ Ú© Ú Ú¯ Ý£ Û]}, |
37
|
|
|
|
|
|
|
numbers => qr{[â \- , . % â° + 0 1 2 3 4 5 6 7 8 9]}, |
38
|
|
|
|
|
|
|
}; |
39
|
|
|
|
|
|
|
}, |
40
|
|
|
|
|
|
|
EOT |
41
|
|
|
|
|
|
|
: sub { |
42
|
|
|
|
|
|
|
return {}; |
43
|
|
|
|
|
|
|
}, |
44
|
1
|
|
|
1
|
|
88
|
); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
94
|
|
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
has 'default_numbering_system' => ( |
48
|
|
|
|
|
|
|
is => 'ro', |
49
|
|
|
|
|
|
|
isa => Str, |
50
|
|
|
|
|
|
|
init_arg => undef, |
51
|
|
|
|
|
|
|
default => 'latn', |
52
|
|
|
|
|
|
|
); |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
has 'number_symbols' => ( |
55
|
|
|
|
|
|
|
is => 'ro', |
56
|
|
|
|
|
|
|
isa => HashRef, |
57
|
|
|
|
|
|
|
init_arg => undef, |
58
|
|
|
|
|
|
|
default => sub { { |
59
|
|
|
|
|
|
|
'latn' => { |
60
|
|
|
|
|
|
|
'decimal' => q(,), |
61
|
|
|
|
|
|
|
'group' => q(.), |
62
|
|
|
|
|
|
|
}, |
63
|
|
|
|
|
|
|
} } |
64
|
|
|
|
|
|
|
); |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
has 'calendar_months' => ( |
67
|
|
|
|
|
|
|
is => 'ro', |
68
|
|
|
|
|
|
|
isa => HashRef, |
69
|
|
|
|
|
|
|
init_arg => undef, |
70
|
|
|
|
|
|
|
default => sub { { |
71
|
|
|
|
|
|
|
'gregorian' => { |
72
|
|
|
|
|
|
|
'format' => { |
73
|
|
|
|
|
|
|
abbreviated => { |
74
|
|
|
|
|
|
|
nonleap => [ |
75
|
|
|
|
|
|
|
'ÙÙاÙر', |
76
|
|
|
|
|
|
|
'ÙبراÙر', |
77
|
|
|
|
|
|
|
'Ù
ارس', |
78
|
|
|
|
|
|
|
'أبرÙÙ', |
79
|
|
|
|
|
|
|
'Ù
اÙ', |
80
|
|
|
|
|
|
|
'ÙÙÙÙÙ', |
81
|
|
|
|
|
|
|
'ÙÙÙÙÙز', |
82
|
|
|
|
|
|
|
'غشت', |
83
|
|
|
|
|
|
|
'شتÙبر', |
84
|
|
|
|
|
|
|
'Ø£ÙتÙبر', |
85
|
|
|
|
|
|
|
'ÙÙÙبر', |
86
|
|
|
|
|
|
|
'دجÙبر' |
87
|
|
|
|
|
|
|
], |
88
|
|
|
|
|
|
|
leap => [ |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
], |
91
|
|
|
|
|
|
|
}, |
92
|
|
|
|
|
|
|
narrow => { |
93
|
|
|
|
|
|
|
nonleap => [ |
94
|
|
|
|
|
|
|
'Ù', |
95
|
|
|
|
|
|
|
'Ù', |
96
|
|
|
|
|
|
|
'Ù
', |
97
|
|
|
|
|
|
|
'Ø£', |
98
|
|
|
|
|
|
|
'Ù
', |
99
|
|
|
|
|
|
|
'Ù', |
100
|
|
|
|
|
|
|
'Ù', |
101
|
|
|
|
|
|
|
'غ', |
102
|
|
|
|
|
|
|
'Ø´', |
103
|
|
|
|
|
|
|
'Ù', |
104
|
|
|
|
|
|
|
'ب', |
105
|
|
|
|
|
|
|
'د' |
106
|
|
|
|
|
|
|
], |
107
|
|
|
|
|
|
|
leap => [ |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
], |
110
|
|
|
|
|
|
|
}, |
111
|
|
|
|
|
|
|
wide => { |
112
|
|
|
|
|
|
|
nonleap => [ |
113
|
|
|
|
|
|
|
'ÙÙاÙر', |
114
|
|
|
|
|
|
|
'ÙبراÙر', |
115
|
|
|
|
|
|
|
'Ù
ارس', |
116
|
|
|
|
|
|
|
'أبرÙÙ', |
117
|
|
|
|
|
|
|
'Ù
اÙ', |
118
|
|
|
|
|
|
|
'ÙÙÙÙÙ', |
119
|
|
|
|
|
|
|
'ÙÙÙÙÙز', |
120
|
|
|
|
|
|
|
'غشت', |
121
|
|
|
|
|
|
|
'شتÙبر', |
122
|
|
|
|
|
|
|
'Ø£ÙتÙبر', |
123
|
|
|
|
|
|
|
'ÙÙÙبر', |
124
|
|
|
|
|
|
|
'دجÙبر' |
125
|
|
|
|
|
|
|
], |
126
|
|
|
|
|
|
|
leap => [ |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
], |
129
|
|
|
|
|
|
|
}, |
130
|
|
|
|
|
|
|
}, |
131
|
|
|
|
|
|
|
'stand-alone' => { |
132
|
|
|
|
|
|
|
abbreviated => { |
133
|
|
|
|
|
|
|
nonleap => [ |
134
|
|
|
|
|
|
|
'ÙÙاÙر', |
135
|
|
|
|
|
|
|
'ÙبراÙر', |
136
|
|
|
|
|
|
|
'Ù
ارس', |
137
|
|
|
|
|
|
|
'أبرÙÙ', |
138
|
|
|
|
|
|
|
'Ù
اÙ', |
139
|
|
|
|
|
|
|
'ÙÙÙÙÙ', |
140
|
|
|
|
|
|
|
'ÙÙÙÙÙز', |
141
|
|
|
|
|
|
|
'غشت', |
142
|
|
|
|
|
|
|
'شتÙبر', |
143
|
|
|
|
|
|
|
'Ø£ÙتÙبر', |
144
|
|
|
|
|
|
|
'ÙÙÙبر', |
145
|
|
|
|
|
|
|
'دجÙبر' |
146
|
|
|
|
|
|
|
], |
147
|
|
|
|
|
|
|
leap => [ |
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
], |
150
|
|
|
|
|
|
|
}, |
151
|
|
|
|
|
|
|
narrow => { |
152
|
|
|
|
|
|
|
nonleap => [ |
153
|
|
|
|
|
|
|
'Ù', |
154
|
|
|
|
|
|
|
'Ù', |
155
|
|
|
|
|
|
|
'Ù
', |
156
|
|
|
|
|
|
|
'Ø£', |
157
|
|
|
|
|
|
|
'Ù
', |
158
|
|
|
|
|
|
|
'Ù', |
159
|
|
|
|
|
|
|
'Ù', |
160
|
|
|
|
|
|
|
'غ', |
161
|
|
|
|
|
|
|
'Ø´', |
162
|
|
|
|
|
|
|
'Ù', |
163
|
|
|
|
|
|
|
'ب', |
164
|
|
|
|
|
|
|
'د' |
165
|
|
|
|
|
|
|
], |
166
|
|
|
|
|
|
|
leap => [ |
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
], |
169
|
|
|
|
|
|
|
}, |
170
|
|
|
|
|
|
|
wide => { |
171
|
|
|
|
|
|
|
nonleap => [ |
172
|
|
|
|
|
|
|
'ÙÙاÙر', |
173
|
|
|
|
|
|
|
'ÙبراÙر', |
174
|
|
|
|
|
|
|
'Ù
ارس', |
175
|
|
|
|
|
|
|
'أبرÙÙ', |
176
|
|
|
|
|
|
|
'Ù
اÙ', |
177
|
|
|
|
|
|
|
'ÙÙÙÙÙ', |
178
|
|
|
|
|
|
|
'ÙÙÙÙÙز', |
179
|
|
|
|
|
|
|
'غشت', |
180
|
|
|
|
|
|
|
'شتÙبر', |
181
|
|
|
|
|
|
|
'Ø£ÙتÙبر', |
182
|
|
|
|
|
|
|
'ÙÙÙبر', |
183
|
|
|
|
|
|
|
'دجÙبر' |
184
|
|
|
|
|
|
|
], |
185
|
|
|
|
|
|
|
leap => [ |
186
|
|
|
|
|
|
|
|
187
|
|
|
|
|
|
|
], |
188
|
|
|
|
|
|
|
}, |
189
|
|
|
|
|
|
|
}, |
190
|
|
|
|
|
|
|
}, |
191
|
|
|
|
|
|
|
} }, |
192
|
|
|
|
|
|
|
); |
193
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
has 'day_period_data' => ( |
195
|
|
|
|
|
|
|
is => 'ro', |
196
|
|
|
|
|
|
|
isa => CodeRef, |
197
|
|
|
|
|
|
|
init_arg => undef, |
198
|
|
|
|
|
|
|
default => sub { sub { |
199
|
|
|
|
|
|
|
# Time in hhmm format |
200
|
|
|
|
|
|
|
my ($self, $type, $time, $day_period_type) = @_; |
201
|
|
|
|
|
|
|
$day_period_type //= 'default'; |
202
|
|
|
|
|
|
|
SWITCH: |
203
|
|
|
|
|
|
|
for ($type) { |
204
|
|
|
|
|
|
|
if ($_ eq 'gregorian') { |
205
|
|
|
|
|
|
|
if($day_period_type eq 'selection') { |
206
|
|
|
|
|
|
|
return 'night2' if $time >= 100 |
207
|
|
|
|
|
|
|
&& $time < 300; |
208
|
|
|
|
|
|
|
return 'morning1' if $time >= 300 |
209
|
|
|
|
|
|
|
&& $time < 600; |
210
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
211
|
|
|
|
|
|
|
&& $time < 1300; |
212
|
|
|
|
|
|
|
return 'morning2' if $time >= 600 |
213
|
|
|
|
|
|
|
&& $time < 1200; |
214
|
|
|
|
|
|
|
return 'evening1' if $time >= 1800 |
215
|
|
|
|
|
|
|
&& $time < 2400; |
216
|
|
|
|
|
|
|
return 'afternoon2' if $time >= 1300 |
217
|
|
|
|
|
|
|
&& $time < 1800; |
218
|
|
|
|
|
|
|
return 'night1' if $time >= 0 |
219
|
|
|
|
|
|
|
&& $time < 100; |
220
|
|
|
|
|
|
|
} |
221
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
222
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
223
|
|
|
|
|
|
|
&& $time < 1300; |
224
|
|
|
|
|
|
|
return 'night2' if $time >= 100 |
225
|
|
|
|
|
|
|
&& $time < 300; |
226
|
|
|
|
|
|
|
return 'morning1' if $time >= 300 |
227
|
|
|
|
|
|
|
&& $time < 600; |
228
|
|
|
|
|
|
|
return 'night1' if $time >= 0 |
229
|
|
|
|
|
|
|
&& $time < 100; |
230
|
|
|
|
|
|
|
return 'afternoon2' if $time >= 1300 |
231
|
|
|
|
|
|
|
&& $time < 1800; |
232
|
|
|
|
|
|
|
return 'evening1' if $time >= 1800 |
233
|
|
|
|
|
|
|
&& $time < 2400; |
234
|
|
|
|
|
|
|
return 'morning2' if $time >= 600 |
235
|
|
|
|
|
|
|
&& $time < 1200; |
236
|
|
|
|
|
|
|
} |
237
|
|
|
|
|
|
|
last SWITCH; |
238
|
|
|
|
|
|
|
} |
239
|
|
|
|
|
|
|
} |
240
|
|
|
|
|
|
|
} }, |
241
|
|
|
|
|
|
|
); |
242
|
|
|
|
|
|
|
|
243
|
|
|
|
|
|
|
around day_period_data => sub { |
244
|
|
|
|
|
|
|
my ($orig, $self) = @_; |
245
|
|
|
|
|
|
|
return $self->$orig; |
246
|
|
|
|
|
|
|
}; |
247
|
|
|
|
|
|
|
|
248
|
|
|
|
|
|
|
has 'eras' => ( |
249
|
|
|
|
|
|
|
is => 'ro', |
250
|
|
|
|
|
|
|
isa => HashRef, |
251
|
|
|
|
|
|
|
init_arg => undef, |
252
|
|
|
|
|
|
|
default => sub { { |
253
|
|
|
|
|
|
|
'gregorian' => { |
254
|
|
|
|
|
|
|
}, |
255
|
|
|
|
|
|
|
} }, |
256
|
|
|
|
|
|
|
); |
257
|
|
|
|
|
|
|
|
258
|
|
|
|
|
|
|
has 'date_formats' => ( |
259
|
|
|
|
|
|
|
is => 'ro', |
260
|
|
|
|
|
|
|
isa => HashRef, |
261
|
|
|
|
|
|
|
init_arg => undef, |
262
|
|
|
|
|
|
|
default => sub { { |
263
|
|
|
|
|
|
|
'gregorian' => { |
264
|
|
|
|
|
|
|
}, |
265
|
|
|
|
|
|
|
} }, |
266
|
|
|
|
|
|
|
); |
267
|
|
|
|
|
|
|
|
268
|
|
|
|
|
|
|
has 'time_formats' => ( |
269
|
|
|
|
|
|
|
is => 'ro', |
270
|
|
|
|
|
|
|
isa => HashRef, |
271
|
|
|
|
|
|
|
init_arg => undef, |
272
|
|
|
|
|
|
|
default => sub { { |
273
|
|
|
|
|
|
|
'gregorian' => { |
274
|
|
|
|
|
|
|
'full' => q{HH:mm:ss zzzz}, |
275
|
|
|
|
|
|
|
'long' => q{HH:mm:ss z}, |
276
|
|
|
|
|
|
|
'medium' => q{HH:mm:ss}, |
277
|
|
|
|
|
|
|
'short' => q{HH:mm}, |
278
|
|
|
|
|
|
|
}, |
279
|
|
|
|
|
|
|
} }, |
280
|
|
|
|
|
|
|
); |
281
|
|
|
|
|
|
|
|
282
|
|
|
|
|
|
|
has 'datetime_formats' => ( |
283
|
|
|
|
|
|
|
is => 'ro', |
284
|
|
|
|
|
|
|
isa => HashRef, |
285
|
|
|
|
|
|
|
init_arg => undef, |
286
|
|
|
|
|
|
|
default => sub { { |
287
|
|
|
|
|
|
|
'gregorian' => { |
288
|
|
|
|
|
|
|
}, |
289
|
|
|
|
|
|
|
} }, |
290
|
|
|
|
|
|
|
); |
291
|
|
|
|
|
|
|
|
292
|
|
|
|
|
|
|
has 'datetime_formats_available_formats' => ( |
293
|
|
|
|
|
|
|
is => 'ro', |
294
|
|
|
|
|
|
|
isa => HashRef, |
295
|
|
|
|
|
|
|
init_arg => undef, |
296
|
|
|
|
|
|
|
default => sub { { |
297
|
|
|
|
|
|
|
} }, |
298
|
|
|
|
|
|
|
); |
299
|
|
|
|
|
|
|
|
300
|
|
|
|
|
|
|
has 'datetime_formats_append_item' => ( |
301
|
|
|
|
|
|
|
is => 'ro', |
302
|
|
|
|
|
|
|
isa => HashRef, |
303
|
|
|
|
|
|
|
init_arg => undef, |
304
|
|
|
|
|
|
|
default => sub { { |
305
|
|
|
|
|
|
|
} }, |
306
|
|
|
|
|
|
|
); |
307
|
|
|
|
|
|
|
|
308
|
|
|
|
|
|
|
has 'datetime_formats_interval' => ( |
309
|
|
|
|
|
|
|
is => 'ro', |
310
|
|
|
|
|
|
|
isa => HashRef, |
311
|
|
|
|
|
|
|
init_arg => undef, |
312
|
|
|
|
|
|
|
default => sub { { |
313
|
|
|
|
|
|
|
} }, |
314
|
|
|
|
|
|
|
); |
315
|
|
|
|
|
|
|
|
316
|
1
|
|
|
1
|
|
1138
|
no Moo; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
317
|
|
|
|
|
|
|
|
318
|
|
|
|
|
|
|
1; |
319
|
|
|
|
|
|
|
|
320
|
|
|
|
|
|
|
# vim: tabstop=4 |