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