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