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