line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
=encoding utf8 |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=head1 NAME |
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 Fri 13 Oct 9:05:29 am GMT |
12
|
|
|
|
|
|
|
|
13
|
1
|
|
|
1
|
|
963
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
24
|
|
14
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
21
|
|
15
|
1
|
|
|
1
|
|
4
|
use version; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
our $VERSION = version->declare('v0.34.2'); |
18
|
|
|
|
|
|
|
|
19
|
1
|
|
|
1
|
|
103
|
use v5.10.1; |
|
1
|
|
|
|
|
3
|
|
20
|
1
|
|
|
1
|
|
4
|
use mro 'c3'; |
|
1
|
|
|
|
|
10
|
|
|
1
|
|
|
|
|
7
|
|
21
|
1
|
|
|
1
|
|
26
|
use utf8; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
6
|
|
22
|
1
|
|
|
1
|
|
27
|
use if $^V ge v5.12.0, feature => 'unicode_strings'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
19
|
|
23
|
1
|
|
|
1
|
|
90
|
use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef ); |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
6
|
|
24
|
1
|
|
|
1
|
|
985
|
use Moo; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
4
|
|
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
|
|
95
|
); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
81
|
|
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 'default') { |
206
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
207
|
|
|
|
|
|
|
&& $time < 1300; |
208
|
|
|
|
|
|
|
return 'afternoon2' if $time >= 1300 |
209
|
|
|
|
|
|
|
&& $time < 1800; |
210
|
|
|
|
|
|
|
return 'evening1' if $time >= 1800 |
211
|
|
|
|
|
|
|
&& $time < 2400; |
212
|
|
|
|
|
|
|
return 'morning1' if $time >= 300 |
213
|
|
|
|
|
|
|
&& $time < 600; |
214
|
|
|
|
|
|
|
return 'morning2' if $time >= 600 |
215
|
|
|
|
|
|
|
&& $time < 1200; |
216
|
|
|
|
|
|
|
return 'night1' if $time >= 0 |
217
|
|
|
|
|
|
|
&& $time < 100; |
218
|
|
|
|
|
|
|
return 'night2' if $time >= 100 |
219
|
|
|
|
|
|
|
&& $time < 300; |
220
|
|
|
|
|
|
|
} |
221
|
|
|
|
|
|
|
if($day_period_type eq 'selection') { |
222
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
223
|
|
|
|
|
|
|
&& $time < 1300; |
224
|
|
|
|
|
|
|
return 'afternoon2' if $time >= 1300 |
225
|
|
|
|
|
|
|
&& $time < 1800; |
226
|
|
|
|
|
|
|
return 'evening1' if $time >= 1800 |
227
|
|
|
|
|
|
|
&& $time < 2400; |
228
|
|
|
|
|
|
|
return 'morning1' if $time >= 300 |
229
|
|
|
|
|
|
|
&& $time < 600; |
230
|
|
|
|
|
|
|
return 'morning2' if $time >= 600 |
231
|
|
|
|
|
|
|
&& $time < 1200; |
232
|
|
|
|
|
|
|
return 'night1' if $time >= 0 |
233
|
|
|
|
|
|
|
&& $time < 100; |
234
|
|
|
|
|
|
|
return 'night2' if $time >= 100 |
235
|
|
|
|
|
|
|
&& $time < 300; |
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
|
|
1153
|
no Moo; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
10
|
|
317
|
|
|
|
|
|
|
|
318
|
|
|
|
|
|
|
1; |
319
|
|
|
|
|
|
|
|
320
|
|
|
|
|
|
|
# vim: tabstop=4 |