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