line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
=head1 |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
Locale::CLDR::Locales::Pa::Arab - Package for language Punjabi |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
=cut |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
package Locale::CLDR::Locales::Pa::Arab; |
8
|
|
|
|
|
|
|
# This file auto generated from Data\common\main\pa_Arab.xml |
9
|
|
|
|
|
|
|
# on Sun 24 Apr 8:45:57 am GMT |
10
|
|
|
|
|
|
|
|
11
|
1
|
|
|
1
|
|
445
|
use version; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
4
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
our $VERSION = version->declare('v0.29.0'); |
14
|
|
|
|
|
|
|
|
15
|
1
|
|
|
1
|
|
76
|
use v5.10.1; |
|
1
|
|
|
|
|
2
|
|
16
|
1
|
|
|
1
|
|
17
|
use mro 'c3'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
4
|
|
17
|
1
|
|
|
1
|
|
28
|
use utf8; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
4
|
|
18
|
1
|
|
|
1
|
|
25
|
use if $^V ge v5.12.0, feature => 'unicode_strings'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
9
|
|
19
|
|
|
|
|
|
|
|
20
|
1
|
|
|
1
|
|
76
|
use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef ); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
9
|
|
21
|
1
|
|
|
1
|
|
622
|
use Moo; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
4
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
extends('Locale::CLDR::Locales::Pa'); |
24
|
|
|
|
|
|
|
has 'display_name_language' => ( |
25
|
|
|
|
|
|
|
is => 'ro', |
26
|
|
|
|
|
|
|
isa => CodeRef, |
27
|
|
|
|
|
|
|
init_arg => undef, |
28
|
|
|
|
|
|
|
default => sub { |
29
|
|
|
|
|
|
|
sub { |
30
|
|
|
|
|
|
|
my %languages = ( |
31
|
|
|
|
|
|
|
'pa' => 'Ù¾ÙجابÛ', |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
); |
34
|
|
|
|
|
|
|
if (@_) { |
35
|
|
|
|
|
|
|
return $languages{$_[0]}; |
36
|
|
|
|
|
|
|
} |
37
|
|
|
|
|
|
|
return \%languages; |
38
|
|
|
|
|
|
|
} |
39
|
|
|
|
|
|
|
}, |
40
|
|
|
|
|
|
|
); |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
has 'display_name_script' => ( |
43
|
|
|
|
|
|
|
is => 'ro', |
44
|
|
|
|
|
|
|
isa => CodeRef, |
45
|
|
|
|
|
|
|
init_arg => undef, |
46
|
|
|
|
|
|
|
default => sub { |
47
|
|
|
|
|
|
|
sub { |
48
|
|
|
|
|
|
|
my %scripts = ( |
49
|
|
|
|
|
|
|
'Arab' => 'عربÛ', |
50
|
|
|
|
|
|
|
'Guru' => 'Ú¯ÙرÙ
ÙÚ©Ú¾Û', |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
); |
53
|
|
|
|
|
|
|
if ( @_ ) { |
54
|
|
|
|
|
|
|
return $scripts{$_[0]}; |
55
|
|
|
|
|
|
|
} |
56
|
|
|
|
|
|
|
return \%scripts; |
57
|
|
|
|
|
|
|
} |
58
|
|
|
|
|
|
|
} |
59
|
|
|
|
|
|
|
); |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
has 'display_name_region' => ( |
62
|
|
|
|
|
|
|
is => 'ro', |
63
|
|
|
|
|
|
|
isa => HashRef[Str], |
64
|
|
|
|
|
|
|
init_arg => undef, |
65
|
|
|
|
|
|
|
default => sub { |
66
|
|
|
|
|
|
|
{ |
67
|
|
|
|
|
|
|
'PK' => 'پکستاÙ', |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
} |
70
|
|
|
|
|
|
|
}, |
71
|
|
|
|
|
|
|
); |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
has 'text_orientation' => ( |
74
|
|
|
|
|
|
|
is => 'ro', |
75
|
|
|
|
|
|
|
isa => HashRef[Str], |
76
|
|
|
|
|
|
|
init_arg => undef, |
77
|
|
|
|
|
|
|
default => sub { return { |
78
|
|
|
|
|
|
|
lines => '', |
79
|
|
|
|
|
|
|
characters => 'right-to-left', |
80
|
|
|
|
|
|
|
}} |
81
|
|
|
|
|
|
|
); |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
has 'characters' => ( |
84
|
|
|
|
|
|
|
is => 'ro', |
85
|
|
|
|
|
|
|
isa => HashRef, |
86
|
|
|
|
|
|
|
init_arg => undef, |
87
|
|
|
|
|
|
|
default => $^V ge v5.18.0 |
88
|
|
|
|
|
|
|
? eval <<'EOT' |
89
|
|
|
|
|
|
|
sub { |
90
|
|
|
|
|
|
|
no warnings 'experimental::regex_sets'; |
91
|
|
|
|
|
|
|
return { |
92
|
|
|
|
|
|
|
auxiliary => qr{(?^u:[ââ Ø£ Ù» Ø© Ùº Ù¼ Ù½])}, |
93
|
|
|
|
|
|
|
index => ['Ø¡', 'Ø¢', 'ؤ', 'ئ', 'ا', 'ب', 'Ù¾', 'ت', 'Ø«', 'Ù¹', 'ج', 'Ú', 'Ø', 'Ø®', 'د', 'Ø°', 'Ú', 'ر', 'ز', 'Ú', 'Ú', 'س', 'Ø´', 'ص', 'ض', 'Ø·', 'ظ', 'ع', 'غ', 'Ù', 'Ù', 'Ú©', 'Ú¯', 'Ù', 'Ù
', 'Ù', 'Úº', 'Ù', 'Ú¾', 'Û', 'Ù', 'Û', 'Û'], |
94
|
|
|
|
|
|
|
main => qr{(?^u:[Ù Ø¡ Ø¢ ؤ ئ ا ب Ù¾ ت Ø« Ù¹ ج Ú Ø Ø® د Ø° Ú Ø± ز Ú Ú Ø³ Ø´ ص ض Ø· ظ ع غ Ù Ù Ú© Ú¯ Ù Ù
Ù Úº Ù Ú¾ Û Ù Û Û])}, |
95
|
|
|
|
|
|
|
}; |
96
|
|
|
|
|
|
|
}, |
97
|
|
|
|
|
|
|
EOT |
98
|
|
|
|
|
|
|
: sub { |
99
|
|
|
|
|
|
|
return { index => ['Ø¡', 'Ø¢', 'ؤ', 'ئ', 'ا', 'ب', 'Ù¾', 'ت', 'Ø«', 'Ù¹', 'ج', 'Ú', 'Ø', 'Ø®', 'د', 'Ø°', 'Ú', 'ر', 'ز', 'Ú', 'Ú', 'س', 'Ø´', 'ص', 'ض', 'Ø·', 'ظ', 'ع', 'غ', 'Ù', 'Ù', 'Ú©', 'Ú¯', 'Ù', 'Ù
', 'Ù', 'Úº', 'Ù', 'Ú¾', 'Û', 'Ù', 'Û', 'Û'], }; |
100
|
|
|
|
|
|
|
}, |
101
|
1
|
|
|
1
|
|
137
|
); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
223
|
|
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
has 'yesstr' => ( |
105
|
|
|
|
|
|
|
is => 'ro', |
106
|
|
|
|
|
|
|
isa => RegexpRef, |
107
|
|
|
|
|
|
|
init_arg => undef, |
108
|
|
|
|
|
|
|
default => sub { qr'^(?i:Ûاں|yes|y)$' } |
109
|
|
|
|
|
|
|
); |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
has 'nostr' => ( |
112
|
|
|
|
|
|
|
is => 'ro', |
113
|
|
|
|
|
|
|
isa => RegexpRef, |
114
|
|
|
|
|
|
|
init_arg => undef, |
115
|
|
|
|
|
|
|
default => sub { qr'^(?i:ÙÛÙÚº|no|n)$' } |
116
|
|
|
|
|
|
|
); |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
has 'default_numbering_system' => ( |
119
|
|
|
|
|
|
|
is => 'ro', |
120
|
|
|
|
|
|
|
isa => Str, |
121
|
|
|
|
|
|
|
init_arg => undef, |
122
|
|
|
|
|
|
|
default => 'arabext', |
123
|
|
|
|
|
|
|
); |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
has native_numbering_system => ( |
126
|
|
|
|
|
|
|
is => 'ro', |
127
|
|
|
|
|
|
|
isa => Str, |
128
|
|
|
|
|
|
|
init_arg => undef, |
129
|
|
|
|
|
|
|
default => 'arabext', |
130
|
|
|
|
|
|
|
); |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
has 'number_symbols' => ( |
133
|
|
|
|
|
|
|
is => 'ro', |
134
|
|
|
|
|
|
|
isa => HashRef, |
135
|
|
|
|
|
|
|
init_arg => undef, |
136
|
|
|
|
|
|
|
default => sub { { |
137
|
|
|
|
|
|
|
'latn' => { |
138
|
|
|
|
|
|
|
'minusSign' => q(â-), |
139
|
|
|
|
|
|
|
'plusSign' => q(â+), |
140
|
|
|
|
|
|
|
}, |
141
|
|
|
|
|
|
|
} } |
142
|
|
|
|
|
|
|
); |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
has 'currencies' => ( |
145
|
|
|
|
|
|
|
is => 'ro', |
146
|
|
|
|
|
|
|
isa => HashRef, |
147
|
|
|
|
|
|
|
init_arg => undef, |
148
|
|
|
|
|
|
|
default => sub { { |
149
|
|
|
|
|
|
|
'EUR' => { |
150
|
|
|
|
|
|
|
display_name => { |
151
|
|
|
|
|
|
|
'currency' => q(ÙÙرÙ), |
152
|
|
|
|
|
|
|
}, |
153
|
|
|
|
|
|
|
}, |
154
|
|
|
|
|
|
|
'INR' => { |
155
|
|
|
|
|
|
|
display_name => { |
156
|
|
|
|
|
|
|
'currency' => q(رÙپئÛÛ [INR]), |
157
|
|
|
|
|
|
|
}, |
158
|
|
|
|
|
|
|
}, |
159
|
|
|
|
|
|
|
'PKR' => { |
160
|
|
|
|
|
|
|
symbol => 'ر', |
161
|
|
|
|
|
|
|
display_name => { |
162
|
|
|
|
|
|
|
'currency' => q(رÙپئÛÛ), |
163
|
|
|
|
|
|
|
}, |
164
|
|
|
|
|
|
|
}, |
165
|
|
|
|
|
|
|
} }, |
166
|
|
|
|
|
|
|
); |
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
|
169
|
|
|
|
|
|
|
has 'calendar_months' => ( |
170
|
|
|
|
|
|
|
is => 'ro', |
171
|
|
|
|
|
|
|
isa => HashRef, |
172
|
|
|
|
|
|
|
init_arg => undef, |
173
|
|
|
|
|
|
|
default => sub { { |
174
|
|
|
|
|
|
|
'gregorian' => { |
175
|
|
|
|
|
|
|
'format' => { |
176
|
|
|
|
|
|
|
wide => { |
177
|
|
|
|
|
|
|
nonleap => [ |
178
|
|
|
|
|
|
|
'جÙÙرÛ', |
179
|
|
|
|
|
|
|
'ÙرÙرÛ', |
180
|
|
|
|
|
|
|
'Ù
ارÚ', |
181
|
|
|
|
|
|
|
'اپرÛÙ', |
182
|
|
|
|
|
|
|
'Ù
ئ', |
183
|
|
|
|
|
|
|
'جÙÙ', |
184
|
|
|
|
|
|
|
'جÙÙائÛ', |
185
|
|
|
|
|
|
|
'اگست', |
186
|
|
|
|
|
|
|
'ستÙ
بر', |
187
|
|
|
|
|
|
|
'اکتÙبر', |
188
|
|
|
|
|
|
|
'ÙÙÙ
بر', |
189
|
|
|
|
|
|
|
'دسÙ
بر' |
190
|
|
|
|
|
|
|
], |
191
|
|
|
|
|
|
|
leap => [ |
192
|
|
|
|
|
|
|
|
193
|
|
|
|
|
|
|
], |
194
|
|
|
|
|
|
|
}, |
195
|
|
|
|
|
|
|
}, |
196
|
|
|
|
|
|
|
}, |
197
|
|
|
|
|
|
|
} }, |
198
|
|
|
|
|
|
|
); |
199
|
|
|
|
|
|
|
|
200
|
|
|
|
|
|
|
has 'calendar_days' => ( |
201
|
|
|
|
|
|
|
is => 'ro', |
202
|
|
|
|
|
|
|
isa => HashRef, |
203
|
|
|
|
|
|
|
init_arg => undef, |
204
|
|
|
|
|
|
|
default => sub { { |
205
|
|
|
|
|
|
|
'gregorian' => { |
206
|
|
|
|
|
|
|
'format' => { |
207
|
|
|
|
|
|
|
wide => { |
208
|
|
|
|
|
|
|
mon => 'Ù¾Ûر', |
209
|
|
|
|
|
|
|
tue => 'Ù
ÙÚ¯Ù', |
210
|
|
|
|
|
|
|
wed => 'بÙدھ', |
211
|
|
|
|
|
|
|
thu => 'جÙ
عرات', |
212
|
|
|
|
|
|
|
fri => 'جÙ
عÛ', |
213
|
|
|
|
|
|
|
sat => 'ÛÙتÛ', |
214
|
|
|
|
|
|
|
sun => 'اتÙار' |
215
|
|
|
|
|
|
|
}, |
216
|
|
|
|
|
|
|
}, |
217
|
|
|
|
|
|
|
}, |
218
|
|
|
|
|
|
|
} }, |
219
|
|
|
|
|
|
|
); |
220
|
|
|
|
|
|
|
|
221
|
|
|
|
|
|
|
has 'calendar_quarters' => ( |
222
|
|
|
|
|
|
|
is => 'ro', |
223
|
|
|
|
|
|
|
isa => HashRef, |
224
|
|
|
|
|
|
|
init_arg => undef, |
225
|
|
|
|
|
|
|
default => sub { { |
226
|
|
|
|
|
|
|
'gregorian' => { |
227
|
|
|
|
|
|
|
'format' => { |
228
|
|
|
|
|
|
|
wide => {0 => 'ÚÙتھا٠پÛÙاں', |
229
|
|
|
|
|
|
|
1 => 'ÚÙتھا٠دÙجا', |
230
|
|
|
|
|
|
|
2 => 'ÚÙتھا٠تÙجا', |
231
|
|
|
|
|
|
|
3 => 'ÚÙتھا٠ÚÙتھا' |
232
|
|
|
|
|
|
|
}, |
233
|
|
|
|
|
|
|
}, |
234
|
|
|
|
|
|
|
}, |
235
|
|
|
|
|
|
|
} }, |
236
|
|
|
|
|
|
|
); |
237
|
|
|
|
|
|
|
|
238
|
|
|
|
|
|
|
has 'day_period_data' => ( |
239
|
|
|
|
|
|
|
is => 'ro', |
240
|
|
|
|
|
|
|
isa => CodeRef, |
241
|
|
|
|
|
|
|
init_arg => undef, |
242
|
|
|
|
|
|
|
default => sub { sub { |
243
|
|
|
|
|
|
|
# Time in hhmm format |
244
|
|
|
|
|
|
|
my ($self, $type, $time, $day_period_type) = @_; |
245
|
|
|
|
|
|
|
$day_period_type //= 'default'; |
246
|
|
|
|
|
|
|
SWITCH: |
247
|
|
|
|
|
|
|
for ($type) { |
248
|
|
|
|
|
|
|
if ($_ eq 'generic') { |
249
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
250
|
|
|
|
|
|
|
return 'midnight' if $time == 0; |
251
|
|
|
|
|
|
|
return 'evening1' if $time >= 1600 |
252
|
|
|
|
|
|
|
&& $time < 2100; |
253
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
254
|
|
|
|
|
|
|
&& $time < 1600; |
255
|
|
|
|
|
|
|
return 'morning1' if $time >= 400 |
256
|
|
|
|
|
|
|
&& $time < 1200; |
257
|
|
|
|
|
|
|
return 'night1' if $time >= 2100; |
258
|
|
|
|
|
|
|
return 'night1' if $time < 400; |
259
|
|
|
|
|
|
|
} |
260
|
|
|
|
|
|
|
if($day_period_type eq 'selection') { |
261
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
262
|
|
|
|
|
|
|
&& $time < 1600; |
263
|
|
|
|
|
|
|
return 'morning1' if $time >= 400 |
264
|
|
|
|
|
|
|
&& $time < 1200; |
265
|
|
|
|
|
|
|
return 'night1' if $time >= 2100; |
266
|
|
|
|
|
|
|
return 'night1' if $time < 400; |
267
|
|
|
|
|
|
|
return 'evening1' if $time >= 1600 |
268
|
|
|
|
|
|
|
&& $time < 2100; |
269
|
|
|
|
|
|
|
} |
270
|
|
|
|
|
|
|
last SWITCH; |
271
|
|
|
|
|
|
|
} |
272
|
|
|
|
|
|
|
if ($_ eq 'gregorian') { |
273
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
274
|
|
|
|
|
|
|
return 'midnight' if $time == 0; |
275
|
|
|
|
|
|
|
return 'evening1' if $time >= 1600 |
276
|
|
|
|
|
|
|
&& $time < 2100; |
277
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
278
|
|
|
|
|
|
|
&& $time < 1600; |
279
|
|
|
|
|
|
|
return 'morning1' if $time >= 400 |
280
|
|
|
|
|
|
|
&& $time < 1200; |
281
|
|
|
|
|
|
|
return 'night1' if $time >= 2100; |
282
|
|
|
|
|
|
|
return 'night1' if $time < 400; |
283
|
|
|
|
|
|
|
} |
284
|
|
|
|
|
|
|
if($day_period_type eq 'selection') { |
285
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
286
|
|
|
|
|
|
|
&& $time < 1600; |
287
|
|
|
|
|
|
|
return 'morning1' if $time >= 400 |
288
|
|
|
|
|
|
|
&& $time < 1200; |
289
|
|
|
|
|
|
|
return 'night1' if $time >= 2100; |
290
|
|
|
|
|
|
|
return 'night1' if $time < 400; |
291
|
|
|
|
|
|
|
return 'evening1' if $time >= 1600 |
292
|
|
|
|
|
|
|
&& $time < 2100; |
293
|
|
|
|
|
|
|
} |
294
|
|
|
|
|
|
|
last SWITCH; |
295
|
|
|
|
|
|
|
} |
296
|
|
|
|
|
|
|
} |
297
|
|
|
|
|
|
|
} }, |
298
|
|
|
|
|
|
|
); |
299
|
|
|
|
|
|
|
|
300
|
|
|
|
|
|
|
around day_period_data => sub { |
301
|
|
|
|
|
|
|
my ($orig, $self) = @_; |
302
|
|
|
|
|
|
|
return $self->$orig; |
303
|
|
|
|
|
|
|
}; |
304
|
|
|
|
|
|
|
|
305
|
|
|
|
|
|
|
has 'eras' => ( |
306
|
|
|
|
|
|
|
is => 'ro', |
307
|
|
|
|
|
|
|
isa => HashRef, |
308
|
|
|
|
|
|
|
init_arg => undef, |
309
|
|
|
|
|
|
|
default => sub { { |
310
|
|
|
|
|
|
|
'generic' => { |
311
|
|
|
|
|
|
|
}, |
312
|
|
|
|
|
|
|
'gregorian' => { |
313
|
|
|
|
|
|
|
abbreviated => { |
314
|
|
|
|
|
|
|
'0' => 'اÙساپÙرÙ', |
315
|
|
|
|
|
|
|
'1' => 'سں' |
316
|
|
|
|
|
|
|
}, |
317
|
|
|
|
|
|
|
wide => { |
318
|
|
|
|
|
|
|
'0' => 'اÙساپÙرÙ', |
319
|
|
|
|
|
|
|
'1' => 'سں' |
320
|
|
|
|
|
|
|
}, |
321
|
|
|
|
|
|
|
}, |
322
|
|
|
|
|
|
|
} }, |
323
|
|
|
|
|
|
|
); |
324
|
|
|
|
|
|
|
|
325
|
|
|
|
|
|
|
has 'date_formats' => ( |
326
|
|
|
|
|
|
|
is => 'ro', |
327
|
|
|
|
|
|
|
isa => HashRef, |
328
|
|
|
|
|
|
|
init_arg => undef, |
329
|
|
|
|
|
|
|
default => sub { { |
330
|
|
|
|
|
|
|
'generic' => { |
331
|
|
|
|
|
|
|
'full' => q{EEEE, dd MMMM y G}, |
332
|
|
|
|
|
|
|
'long' => q{d MMMM y G}, |
333
|
|
|
|
|
|
|
'medium' => q{d MMM y G}, |
334
|
|
|
|
|
|
|
'short' => q{dd/MM/y GGGGG}, |
335
|
|
|
|
|
|
|
}, |
336
|
|
|
|
|
|
|
'gregorian' => { |
337
|
|
|
|
|
|
|
'full' => q{EEEE, dd MMMM y}, |
338
|
|
|
|
|
|
|
'long' => q{d MMMM y}, |
339
|
|
|
|
|
|
|
'medium' => q{d MMM y}, |
340
|
|
|
|
|
|
|
'short' => q{dd/MM/y}, |
341
|
|
|
|
|
|
|
}, |
342
|
|
|
|
|
|
|
} }, |
343
|
|
|
|
|
|
|
); |
344
|
|
|
|
|
|
|
|
345
|
|
|
|
|
|
|
has 'time_formats' => ( |
346
|
|
|
|
|
|
|
is => 'ro', |
347
|
|
|
|
|
|
|
isa => HashRef, |
348
|
|
|
|
|
|
|
init_arg => undef, |
349
|
|
|
|
|
|
|
default => sub { { |
350
|
|
|
|
|
|
|
'generic' => { |
351
|
|
|
|
|
|
|
}, |
352
|
|
|
|
|
|
|
'gregorian' => { |
353
|
|
|
|
|
|
|
'full' => q{h:mm:ss a zzzz}, |
354
|
|
|
|
|
|
|
'long' => q{h:mm:ss a z}, |
355
|
|
|
|
|
|
|
'medium' => q{h:mm:ss a}, |
356
|
|
|
|
|
|
|
'short' => q{h:mm a}, |
357
|
|
|
|
|
|
|
}, |
358
|
|
|
|
|
|
|
} }, |
359
|
|
|
|
|
|
|
); |
360
|
|
|
|
|
|
|
|
361
|
|
|
|
|
|
|
has 'datetime_formats' => ( |
362
|
|
|
|
|
|
|
is => 'ro', |
363
|
|
|
|
|
|
|
isa => HashRef, |
364
|
|
|
|
|
|
|
init_arg => undef, |
365
|
|
|
|
|
|
|
default => sub { { |
366
|
|
|
|
|
|
|
'generic' => { |
367
|
|
|
|
|
|
|
}, |
368
|
|
|
|
|
|
|
'gregorian' => { |
369
|
|
|
|
|
|
|
}, |
370
|
|
|
|
|
|
|
} }, |
371
|
|
|
|
|
|
|
); |
372
|
|
|
|
|
|
|
|
373
|
|
|
|
|
|
|
has 'datetime_formats_available_formats' => ( |
374
|
|
|
|
|
|
|
is => 'ro', |
375
|
|
|
|
|
|
|
isa => HashRef, |
376
|
|
|
|
|
|
|
init_arg => undef, |
377
|
|
|
|
|
|
|
default => sub { { |
378
|
|
|
|
|
|
|
'gregorian' => { |
379
|
|
|
|
|
|
|
HHmmss => q{HH:mm:ss}, |
380
|
|
|
|
|
|
|
Md => q{d/M}, |
381
|
|
|
|
|
|
|
mmss => q{mm:ss}, |
382
|
|
|
|
|
|
|
yMMM => q{MMM y}, |
383
|
|
|
|
|
|
|
yQQQ => q{QQQ y}, |
384
|
|
|
|
|
|
|
}, |
385
|
|
|
|
|
|
|
'generic' => { |
386
|
|
|
|
|
|
|
HHmmss => q{HH:mm:ss}, |
387
|
|
|
|
|
|
|
Md => q{d/M}, |
388
|
|
|
|
|
|
|
ms => q{mm:ss}, |
389
|
|
|
|
|
|
|
yMMM => q{MMM y}, |
390
|
|
|
|
|
|
|
yQQQ => q{QQQ y}, |
391
|
|
|
|
|
|
|
}, |
392
|
|
|
|
|
|
|
} }, |
393
|
|
|
|
|
|
|
); |
394
|
|
|
|
|
|
|
|
395
|
|
|
|
|
|
|
has 'datetime_formats_append_item' => ( |
396
|
|
|
|
|
|
|
is => 'ro', |
397
|
|
|
|
|
|
|
isa => HashRef, |
398
|
|
|
|
|
|
|
init_arg => undef, |
399
|
|
|
|
|
|
|
default => sub { { |
400
|
|
|
|
|
|
|
} }, |
401
|
|
|
|
|
|
|
); |
402
|
|
|
|
|
|
|
|
403
|
|
|
|
|
|
|
has 'datetime_formats_interval' => ( |
404
|
|
|
|
|
|
|
is => 'ro', |
405
|
|
|
|
|
|
|
isa => HashRef, |
406
|
|
|
|
|
|
|
init_arg => undef, |
407
|
|
|
|
|
|
|
default => sub { { |
408
|
|
|
|
|
|
|
} }, |
409
|
|
|
|
|
|
|
); |
410
|
|
|
|
|
|
|
|
411
|
1
|
|
|
1
|
|
3001
|
no Moo; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
4
|
|
412
|
|
|
|
|
|
|
|
413
|
|
|
|
|
|
|
1; |
414
|
|
|
|
|
|
|
|
415
|
|
|
|
|
|
|
# vim: tabstop=4 |