line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
=head1 |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
Locale::CLDR::Locales::Zh::Hans::Mo - Package for language Chinese |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
=cut |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
package Locale::CLDR::Locales::Zh::Hans::Mo; |
8
|
|
|
|
|
|
|
# This file auto generated from Data\common\main\zh_Hans_MO.xml |
9
|
|
|
|
|
|
|
# on Sun 24 Apr 8:58:25 am GMT |
10
|
|
|
|
|
|
|
|
11
|
1
|
|
|
1
|
|
1216
|
use version; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
8
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
our $VERSION = version->declare('v0.29.0'); |
14
|
|
|
|
|
|
|
|
15
|
1
|
|
|
1
|
|
91
|
use v5.10.1; |
|
1
|
|
|
|
|
2
|
|
16
|
1
|
|
|
1
|
|
5
|
use mro 'c3'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
8
|
|
17
|
1
|
|
|
1
|
|
38
|
use utf8; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
8
|
|
18
|
1
|
|
|
1
|
|
29
|
use if $^V ge v5.12.0, feature => 'unicode_strings'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
17
|
|
19
|
|
|
|
|
|
|
|
20
|
1
|
|
|
1
|
|
128
|
use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef ); |
|
1
|
|
|
|
|
0
|
|
|
1
|
|
|
|
|
11
|
|
21
|
1
|
|
|
1
|
|
751
|
use Moo; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
6
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
extends('Locale::CLDR::Locales::Zh::Hans'); |
24
|
|
|
|
|
|
|
has 'units' => ( |
25
|
|
|
|
|
|
|
is => 'ro', |
26
|
|
|
|
|
|
|
isa => HashRef[HashRef[HashRef[Str]]], |
27
|
|
|
|
|
|
|
init_arg => undef, |
28
|
|
|
|
|
|
|
default => sub { { |
29
|
|
|
|
|
|
|
'long' => { |
30
|
|
|
|
|
|
|
'karat' => { |
31
|
|
|
|
|
|
|
'name' => q(å¼), |
32
|
|
|
|
|
|
|
'other' => q({0}å¼), |
33
|
|
|
|
|
|
|
}, |
34
|
|
|
|
|
|
|
'kelvin' => { |
35
|
|
|
|
|
|
|
'name' => q(å¼æ°åº¦), |
36
|
|
|
|
|
|
|
'other' => q({0}å¼æ°åº¦), |
37
|
|
|
|
|
|
|
}, |
38
|
|
|
|
|
|
|
'per' => { |
39
|
|
|
|
|
|
|
'1' => q({0}/{1}), |
40
|
|
|
|
|
|
|
}, |
41
|
|
|
|
|
|
|
'second' => { |
42
|
|
|
|
|
|
|
'other' => q({0}ç§), |
43
|
|
|
|
|
|
|
}, |
44
|
|
|
|
|
|
|
}, |
45
|
|
|
|
|
|
|
'narrow' => { |
46
|
|
|
|
|
|
|
'celsius' => { |
47
|
|
|
|
|
|
|
'other' => q({0}°C), |
48
|
|
|
|
|
|
|
}, |
49
|
|
|
|
|
|
|
'foot' => { |
50
|
|
|
|
|
|
|
'other' => q({0}è±å°º), |
51
|
|
|
|
|
|
|
}, |
52
|
|
|
|
|
|
|
'inch' => { |
53
|
|
|
|
|
|
|
'other' => q({0}è±å¯¸), |
54
|
|
|
|
|
|
|
}, |
55
|
|
|
|
|
|
|
'light-year' => { |
56
|
|
|
|
|
|
|
'other' => q({0}å
å¹´), |
57
|
|
|
|
|
|
|
}, |
58
|
|
|
|
|
|
|
'mile' => { |
59
|
|
|
|
|
|
|
'other' => q({0}è±é), |
60
|
|
|
|
|
|
|
}, |
61
|
|
|
|
|
|
|
'picometer' => { |
62
|
|
|
|
|
|
|
'other' => q({0}ç®ç±³), |
63
|
|
|
|
|
|
|
}, |
64
|
|
|
|
|
|
|
'yard' => { |
65
|
|
|
|
|
|
|
'other' => q({0}ç ), |
66
|
|
|
|
|
|
|
}, |
67
|
|
|
|
|
|
|
}, |
68
|
|
|
|
|
|
|
'short' => { |
69
|
|
|
|
|
|
|
'g-force' => { |
70
|
|
|
|
|
|
|
'other' => q({0}Gå), |
71
|
|
|
|
|
|
|
}, |
72
|
|
|
|
|
|
|
'karat' => { |
73
|
|
|
|
|
|
|
'name' => q(å¼), |
74
|
|
|
|
|
|
|
'other' => q({0}å¼), |
75
|
|
|
|
|
|
|
}, |
76
|
|
|
|
|
|
|
'kelvin' => { |
77
|
|
|
|
|
|
|
'name' => q(å¼æ°åº¦), |
78
|
|
|
|
|
|
|
'other' => q({0}°K), |
79
|
|
|
|
|
|
|
}, |
80
|
|
|
|
|
|
|
'picometer' => { |
81
|
|
|
|
|
|
|
'other' => q({0}ç®ç±³), |
82
|
|
|
|
|
|
|
}, |
83
|
|
|
|
|
|
|
'yard' => { |
84
|
|
|
|
|
|
|
'other' => q({0}ç ), |
85
|
|
|
|
|
|
|
}, |
86
|
|
|
|
|
|
|
}, |
87
|
|
|
|
|
|
|
} } |
88
|
|
|
|
|
|
|
); |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
has 'currencies' => ( |
91
|
|
|
|
|
|
|
is => 'ro', |
92
|
|
|
|
|
|
|
isa => HashRef, |
93
|
|
|
|
|
|
|
init_arg => undef, |
94
|
|
|
|
|
|
|
default => sub { { |
95
|
|
|
|
|
|
|
'ANG' => { |
96
|
|
|
|
|
|
|
display_name => { |
97
|
|
|
|
|
|
|
'other' => q(è·å
°å®çåæ¯ç¾), |
98
|
|
|
|
|
|
|
}, |
99
|
|
|
|
|
|
|
}, |
100
|
|
|
|
|
|
|
'AWG' => { |
101
|
|
|
|
|
|
|
display_name => { |
102
|
|
|
|
|
|
|
'currency' => q(é¿é²å·´å¼ç½æ), |
103
|
|
|
|
|
|
|
'other' => q(é¿é²å·´å¼ç½æ), |
104
|
|
|
|
|
|
|
}, |
105
|
|
|
|
|
|
|
}, |
106
|
|
|
|
|
|
|
'CNY' => { |
107
|
|
|
|
|
|
|
symbol => 'CNÂ¥', |
108
|
|
|
|
|
|
|
}, |
109
|
|
|
|
|
|
|
'MOP' => { |
110
|
|
|
|
|
|
|
symbol => 'MOP$', |
111
|
|
|
|
|
|
|
}, |
112
|
|
|
|
|
|
|
'NIO' => { |
113
|
|
|
|
|
|
|
display_name => { |
114
|
|
|
|
|
|
|
'currency' => q(å°¼å æçç§å¤å·´), |
115
|
|
|
|
|
|
|
'other' => q(å°¼å æçç§å¤å·´), |
116
|
|
|
|
|
|
|
}, |
117
|
|
|
|
|
|
|
}, |
118
|
|
|
|
|
|
|
'XAG' => { |
119
|
|
|
|
|
|
|
display_name => { |
120
|
|
|
|
|
|
|
'currency' => q(ç½é¶), |
121
|
|
|
|
|
|
|
}, |
122
|
|
|
|
|
|
|
}, |
123
|
|
|
|
|
|
|
} }, |
124
|
|
|
|
|
|
|
); |
125
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
has 'day_period_data' => ( |
128
|
|
|
|
|
|
|
is => 'ro', |
129
|
|
|
|
|
|
|
isa => CodeRef, |
130
|
|
|
|
|
|
|
init_arg => undef, |
131
|
|
|
|
|
|
|
default => sub { sub { |
132
|
|
|
|
|
|
|
# Time in hhmm format |
133
|
|
|
|
|
|
|
my ($self, $type, $time, $day_period_type) = @_; |
134
|
|
|
|
|
|
|
$day_period_type //= 'default'; |
135
|
|
|
|
|
|
|
SWITCH: |
136
|
|
|
|
|
|
|
for ($type) { |
137
|
|
|
|
|
|
|
if ($_ eq 'gregorian') { |
138
|
|
|
|
|
|
|
if($day_period_type eq 'selection') { |
139
|
|
|
|
|
|
|
return 'evening1' if $time >= 1900 |
140
|
|
|
|
|
|
|
&& $time < 2400; |
141
|
|
|
|
|
|
|
return 'afternoon2' if $time >= 1300 |
142
|
|
|
|
|
|
|
&& $time < 1900; |
143
|
|
|
|
|
|
|
return 'morning1' if $time >= 500 |
144
|
|
|
|
|
|
|
&& $time < 800; |
145
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
146
|
|
|
|
|
|
|
&& $time < 1300; |
147
|
|
|
|
|
|
|
return 'night1' if $time >= 0 |
148
|
|
|
|
|
|
|
&& $time < 500; |
149
|
|
|
|
|
|
|
return 'morning2' if $time >= 800 |
150
|
|
|
|
|
|
|
&& $time < 1200; |
151
|
|
|
|
|
|
|
} |
152
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
153
|
|
|
|
|
|
|
return 'midnight' if $time == 0; |
154
|
|
|
|
|
|
|
return 'evening1' if $time >= 1900 |
155
|
|
|
|
|
|
|
&& $time < 2400; |
156
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
157
|
|
|
|
|
|
|
&& $time < 1300; |
158
|
|
|
|
|
|
|
return 'afternoon2' if $time >= 1300 |
159
|
|
|
|
|
|
|
&& $time < 1900; |
160
|
|
|
|
|
|
|
return 'morning1' if $time >= 500 |
161
|
|
|
|
|
|
|
&& $time < 800; |
162
|
|
|
|
|
|
|
return 'morning2' if $time >= 800 |
163
|
|
|
|
|
|
|
&& $time < 1200; |
164
|
|
|
|
|
|
|
return 'night1' if $time >= 0 |
165
|
|
|
|
|
|
|
&& $time < 500; |
166
|
|
|
|
|
|
|
} |
167
|
|
|
|
|
|
|
last SWITCH; |
168
|
|
|
|
|
|
|
} |
169
|
|
|
|
|
|
|
if ($_ eq 'chinese') { |
170
|
|
|
|
|
|
|
if($day_period_type eq 'selection') { |
171
|
|
|
|
|
|
|
return 'evening1' if $time >= 1900 |
172
|
|
|
|
|
|
|
&& $time < 2400; |
173
|
|
|
|
|
|
|
return 'afternoon2' if $time >= 1300 |
174
|
|
|
|
|
|
|
&& $time < 1900; |
175
|
|
|
|
|
|
|
return 'morning1' if $time >= 500 |
176
|
|
|
|
|
|
|
&& $time < 800; |
177
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
178
|
|
|
|
|
|
|
&& $time < 1300; |
179
|
|
|
|
|
|
|
return 'night1' if $time >= 0 |
180
|
|
|
|
|
|
|
&& $time < 500; |
181
|
|
|
|
|
|
|
return 'morning2' if $time >= 800 |
182
|
|
|
|
|
|
|
&& $time < 1200; |
183
|
|
|
|
|
|
|
} |
184
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
185
|
|
|
|
|
|
|
return 'midnight' if $time == 0; |
186
|
|
|
|
|
|
|
return 'evening1' if $time >= 1900 |
187
|
|
|
|
|
|
|
&& $time < 2400; |
188
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
189
|
|
|
|
|
|
|
&& $time < 1300; |
190
|
|
|
|
|
|
|
return 'afternoon2' if $time >= 1300 |
191
|
|
|
|
|
|
|
&& $time < 1900; |
192
|
|
|
|
|
|
|
return 'morning1' if $time >= 500 |
193
|
|
|
|
|
|
|
&& $time < 800; |
194
|
|
|
|
|
|
|
return 'morning2' if $time >= 800 |
195
|
|
|
|
|
|
|
&& $time < 1200; |
196
|
|
|
|
|
|
|
return 'night1' if $time >= 0 |
197
|
|
|
|
|
|
|
&& $time < 500; |
198
|
|
|
|
|
|
|
} |
199
|
|
|
|
|
|
|
last SWITCH; |
200
|
|
|
|
|
|
|
} |
201
|
|
|
|
|
|
|
if ($_ eq 'generic') { |
202
|
|
|
|
|
|
|
if($day_period_type eq 'selection') { |
203
|
|
|
|
|
|
|
return 'evening1' if $time >= 1900 |
204
|
|
|
|
|
|
|
&& $time < 2400; |
205
|
|
|
|
|
|
|
return 'afternoon2' if $time >= 1300 |
206
|
|
|
|
|
|
|
&& $time < 1900; |
207
|
|
|
|
|
|
|
return 'morning1' if $time >= 500 |
208
|
|
|
|
|
|
|
&& $time < 800; |
209
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
210
|
|
|
|
|
|
|
&& $time < 1300; |
211
|
|
|
|
|
|
|
return 'night1' if $time >= 0 |
212
|
|
|
|
|
|
|
&& $time < 500; |
213
|
|
|
|
|
|
|
return 'morning2' if $time >= 800 |
214
|
|
|
|
|
|
|
&& $time < 1200; |
215
|
|
|
|
|
|
|
} |
216
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
217
|
|
|
|
|
|
|
return 'midnight' if $time == 0; |
218
|
|
|
|
|
|
|
return 'evening1' if $time >= 1900 |
219
|
|
|
|
|
|
|
&& $time < 2400; |
220
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
221
|
|
|
|
|
|
|
&& $time < 1300; |
222
|
|
|
|
|
|
|
return 'afternoon2' if $time >= 1300 |
223
|
|
|
|
|
|
|
&& $time < 1900; |
224
|
|
|
|
|
|
|
return 'morning1' if $time >= 500 |
225
|
|
|
|
|
|
|
&& $time < 800; |
226
|
|
|
|
|
|
|
return 'morning2' if $time >= 800 |
227
|
|
|
|
|
|
|
&& $time < 1200; |
228
|
|
|
|
|
|
|
return 'night1' if $time >= 0 |
229
|
|
|
|
|
|
|
&& $time < 500; |
230
|
|
|
|
|
|
|
} |
231
|
|
|
|
|
|
|
last SWITCH; |
232
|
|
|
|
|
|
|
} |
233
|
|
|
|
|
|
|
if ($_ eq 'roc') { |
234
|
|
|
|
|
|
|
if($day_period_type eq 'selection') { |
235
|
|
|
|
|
|
|
return 'evening1' if $time >= 1900 |
236
|
|
|
|
|
|
|
&& $time < 2400; |
237
|
|
|
|
|
|
|
return 'afternoon2' if $time >= 1300 |
238
|
|
|
|
|
|
|
&& $time < 1900; |
239
|
|
|
|
|
|
|
return 'morning1' if $time >= 500 |
240
|
|
|
|
|
|
|
&& $time < 800; |
241
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
242
|
|
|
|
|
|
|
&& $time < 1300; |
243
|
|
|
|
|
|
|
return 'night1' if $time >= 0 |
244
|
|
|
|
|
|
|
&& $time < 500; |
245
|
|
|
|
|
|
|
return 'morning2' if $time >= 800 |
246
|
|
|
|
|
|
|
&& $time < 1200; |
247
|
|
|
|
|
|
|
} |
248
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
249
|
|
|
|
|
|
|
return 'midnight' if $time == 0; |
250
|
|
|
|
|
|
|
return 'evening1' if $time >= 1900 |
251
|
|
|
|
|
|
|
&& $time < 2400; |
252
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
253
|
|
|
|
|
|
|
&& $time < 1300; |
254
|
|
|
|
|
|
|
return 'afternoon2' if $time >= 1300 |
255
|
|
|
|
|
|
|
&& $time < 1900; |
256
|
|
|
|
|
|
|
return 'morning1' if $time >= 500 |
257
|
|
|
|
|
|
|
&& $time < 800; |
258
|
|
|
|
|
|
|
return 'morning2' if $time >= 800 |
259
|
|
|
|
|
|
|
&& $time < 1200; |
260
|
|
|
|
|
|
|
return 'night1' if $time >= 0 |
261
|
|
|
|
|
|
|
&& $time < 500; |
262
|
|
|
|
|
|
|
} |
263
|
|
|
|
|
|
|
last SWITCH; |
264
|
|
|
|
|
|
|
} |
265
|
|
|
|
|
|
|
if ($_ eq 'islamic') { |
266
|
|
|
|
|
|
|
if($day_period_type eq 'selection') { |
267
|
|
|
|
|
|
|
return 'evening1' if $time >= 1900 |
268
|
|
|
|
|
|
|
&& $time < 2400; |
269
|
|
|
|
|
|
|
return 'afternoon2' if $time >= 1300 |
270
|
|
|
|
|
|
|
&& $time < 1900; |
271
|
|
|
|
|
|
|
return 'morning1' if $time >= 500 |
272
|
|
|
|
|
|
|
&& $time < 800; |
273
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
274
|
|
|
|
|
|
|
&& $time < 1300; |
275
|
|
|
|
|
|
|
return 'night1' if $time >= 0 |
276
|
|
|
|
|
|
|
&& $time < 500; |
277
|
|
|
|
|
|
|
return 'morning2' if $time >= 800 |
278
|
|
|
|
|
|
|
&& $time < 1200; |
279
|
|
|
|
|
|
|
} |
280
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
281
|
|
|
|
|
|
|
return 'midnight' if $time == 0; |
282
|
|
|
|
|
|
|
return 'evening1' if $time >= 1900 |
283
|
|
|
|
|
|
|
&& $time < 2400; |
284
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
285
|
|
|
|
|
|
|
&& $time < 1300; |
286
|
|
|
|
|
|
|
return 'afternoon2' if $time >= 1300 |
287
|
|
|
|
|
|
|
&& $time < 1900; |
288
|
|
|
|
|
|
|
return 'morning1' if $time >= 500 |
289
|
|
|
|
|
|
|
&& $time < 800; |
290
|
|
|
|
|
|
|
return 'morning2' if $time >= 800 |
291
|
|
|
|
|
|
|
&& $time < 1200; |
292
|
|
|
|
|
|
|
return 'night1' if $time >= 0 |
293
|
|
|
|
|
|
|
&& $time < 500; |
294
|
|
|
|
|
|
|
} |
295
|
|
|
|
|
|
|
last SWITCH; |
296
|
|
|
|
|
|
|
} |
297
|
|
|
|
|
|
|
} |
298
|
|
|
|
|
|
|
} }, |
299
|
|
|
|
|
|
|
); |
300
|
|
|
|
|
|
|
|
301
|
|
|
|
|
|
|
around day_period_data => sub { |
302
|
|
|
|
|
|
|
my ($orig, $self) = @_; |
303
|
|
|
|
|
|
|
return $self->$orig; |
304
|
|
|
|
|
|
|
}; |
305
|
|
|
|
|
|
|
|
306
|
|
|
|
|
|
|
has 'eras' => ( |
307
|
|
|
|
|
|
|
is => 'ro', |
308
|
|
|
|
|
|
|
isa => HashRef, |
309
|
|
|
|
|
|
|
init_arg => undef, |
310
|
|
|
|
|
|
|
default => sub { { |
311
|
|
|
|
|
|
|
'chinese' => { |
312
|
|
|
|
|
|
|
}, |
313
|
|
|
|
|
|
|
'generic' => { |
314
|
|
|
|
|
|
|
}, |
315
|
|
|
|
|
|
|
'gregorian' => { |
316
|
|
|
|
|
|
|
}, |
317
|
|
|
|
|
|
|
'islamic' => { |
318
|
|
|
|
|
|
|
}, |
319
|
|
|
|
|
|
|
'roc' => { |
320
|
|
|
|
|
|
|
}, |
321
|
|
|
|
|
|
|
} }, |
322
|
|
|
|
|
|
|
); |
323
|
|
|
|
|
|
|
|
324
|
|
|
|
|
|
|
has 'date_formats' => ( |
325
|
|
|
|
|
|
|
is => 'ro', |
326
|
|
|
|
|
|
|
isa => HashRef, |
327
|
|
|
|
|
|
|
init_arg => undef, |
328
|
|
|
|
|
|
|
default => sub { { |
329
|
|
|
|
|
|
|
'chinese' => { |
330
|
|
|
|
|
|
|
'full' => q{Uå¹´MMMdæ¥EEEE}, |
331
|
|
|
|
|
|
|
'long' => q{Uå¹´MMMdæ¥}, |
332
|
|
|
|
|
|
|
'medium' => q{Uå¹´MMMdæ¥}, |
333
|
|
|
|
|
|
|
}, |
334
|
|
|
|
|
|
|
'generic' => { |
335
|
|
|
|
|
|
|
'short' => q{d/M/yyGGGGG}, |
336
|
|
|
|
|
|
|
}, |
337
|
|
|
|
|
|
|
'gregorian' => { |
338
|
|
|
|
|
|
|
'short' => q{d/M/yy}, |
339
|
|
|
|
|
|
|
}, |
340
|
|
|
|
|
|
|
'islamic' => { |
341
|
|
|
|
|
|
|
'short' => q{Gd/M/yy}, |
342
|
|
|
|
|
|
|
}, |
343
|
|
|
|
|
|
|
'roc' => { |
344
|
|
|
|
|
|
|
'short' => q{Gd/M/yy}, |
345
|
|
|
|
|
|
|
}, |
346
|
|
|
|
|
|
|
} }, |
347
|
|
|
|
|
|
|
); |
348
|
|
|
|
|
|
|
|
349
|
|
|
|
|
|
|
has 'time_formats' => ( |
350
|
|
|
|
|
|
|
is => 'ro', |
351
|
|
|
|
|
|
|
isa => HashRef, |
352
|
|
|
|
|
|
|
init_arg => undef, |
353
|
|
|
|
|
|
|
default => sub { { |
354
|
|
|
|
|
|
|
'chinese' => { |
355
|
|
|
|
|
|
|
}, |
356
|
|
|
|
|
|
|
'generic' => { |
357
|
|
|
|
|
|
|
}, |
358
|
|
|
|
|
|
|
'gregorian' => { |
359
|
|
|
|
|
|
|
}, |
360
|
|
|
|
|
|
|
'islamic' => { |
361
|
|
|
|
|
|
|
}, |
362
|
|
|
|
|
|
|
'roc' => { |
363
|
|
|
|
|
|
|
}, |
364
|
|
|
|
|
|
|
} }, |
365
|
|
|
|
|
|
|
); |
366
|
|
|
|
|
|
|
|
367
|
|
|
|
|
|
|
has 'datetime_formats' => ( |
368
|
|
|
|
|
|
|
is => 'ro', |
369
|
|
|
|
|
|
|
isa => HashRef, |
370
|
|
|
|
|
|
|
init_arg => undef, |
371
|
|
|
|
|
|
|
default => sub { { |
372
|
|
|
|
|
|
|
'chinese' => { |
373
|
|
|
|
|
|
|
}, |
374
|
|
|
|
|
|
|
'generic' => { |
375
|
|
|
|
|
|
|
}, |
376
|
|
|
|
|
|
|
'gregorian' => { |
377
|
|
|
|
|
|
|
}, |
378
|
|
|
|
|
|
|
'islamic' => { |
379
|
|
|
|
|
|
|
}, |
380
|
|
|
|
|
|
|
'roc' => { |
381
|
|
|
|
|
|
|
}, |
382
|
|
|
|
|
|
|
} }, |
383
|
|
|
|
|
|
|
); |
384
|
|
|
|
|
|
|
|
385
|
|
|
|
|
|
|
has 'datetime_formats_available_formats' => ( |
386
|
|
|
|
|
|
|
is => 'ro', |
387
|
|
|
|
|
|
|
isa => HashRef, |
388
|
|
|
|
|
|
|
init_arg => undef, |
389
|
|
|
|
|
|
|
default => sub { { |
390
|
|
|
|
|
|
|
'gregorian' => { |
391
|
|
|
|
|
|
|
MEd => q{E, d/M}, |
392
|
|
|
|
|
|
|
MMMMdd => q{Mædæ¥}, |
393
|
|
|
|
|
|
|
MMdd => q{dd/MM}, |
394
|
|
|
|
|
|
|
Md => q{d/M}, |
395
|
|
|
|
|
|
|
yMEd => q{yå¹´Mædæ¥ï¼E}, |
396
|
|
|
|
|
|
|
yMd => q{yå¹´Mædæ¥}, |
397
|
|
|
|
|
|
|
}, |
398
|
|
|
|
|
|
|
'roc' => { |
399
|
|
|
|
|
|
|
MEd => q{M-dE}, |
400
|
|
|
|
|
|
|
MMM => q{Mæ}, |
401
|
|
|
|
|
|
|
Md => q{M-d}, |
402
|
|
|
|
|
|
|
}, |
403
|
|
|
|
|
|
|
'generic' => { |
404
|
|
|
|
|
|
|
MEd => q{M-dE}, |
405
|
|
|
|
|
|
|
MMMMdd => q{Mædæ¥}, |
406
|
|
|
|
|
|
|
MMdd => q{MM-dd}, |
407
|
|
|
|
|
|
|
Md => q{M-d}, |
408
|
|
|
|
|
|
|
yyyyMEd => q{Gyå¹´Mædæ¥ï¼E}, |
409
|
|
|
|
|
|
|
yyyyMd => q{Gyå¹´Mædæ¥}, |
410
|
|
|
|
|
|
|
}, |
411
|
|
|
|
|
|
|
} }, |
412
|
|
|
|
|
|
|
); |
413
|
|
|
|
|
|
|
|
414
|
|
|
|
|
|
|
has 'datetime_formats_append_item' => ( |
415
|
|
|
|
|
|
|
is => 'ro', |
416
|
|
|
|
|
|
|
isa => HashRef, |
417
|
|
|
|
|
|
|
init_arg => undef, |
418
|
|
|
|
|
|
|
default => sub { { |
419
|
|
|
|
|
|
|
} }, |
420
|
|
|
|
|
|
|
); |
421
|
|
|
|
|
|
|
|
422
|
|
|
|
|
|
|
has 'datetime_formats_interval' => ( |
423
|
|
|
|
|
|
|
is => 'ro', |
424
|
|
|
|
|
|
|
isa => HashRef, |
425
|
|
|
|
|
|
|
init_arg => undef, |
426
|
|
|
|
|
|
|
default => sub { { |
427
|
|
|
|
|
|
|
'gregorian' => { |
428
|
|
|
|
|
|
|
Hmv => { |
429
|
|
|
|
|
|
|
H => q{vHH:mmâHH:mm}, |
430
|
|
|
|
|
|
|
m => q{vHH:mmâHH:mm}, |
431
|
|
|
|
|
|
|
}, |
432
|
|
|
|
|
|
|
Hv => { |
433
|
|
|
|
|
|
|
H => q{vHHâHH}, |
434
|
|
|
|
|
|
|
}, |
435
|
|
|
|
|
|
|
MEd => { |
436
|
|
|
|
|
|
|
M => q{M-dEè³M-dE}, |
437
|
|
|
|
|
|
|
d => q{M-dEè³M-dE}, |
438
|
|
|
|
|
|
|
}, |
439
|
|
|
|
|
|
|
MMMEd => { |
440
|
|
|
|
|
|
|
d => q{Mædæ¥Eè³Mædæ¥E}, |
441
|
|
|
|
|
|
|
}, |
442
|
|
|
|
|
|
|
Md => { |
443
|
|
|
|
|
|
|
M => q{M-dè³M-d}, |
444
|
|
|
|
|
|
|
d => q{M-dè³M-d}, |
445
|
|
|
|
|
|
|
}, |
446
|
|
|
|
|
|
|
d => { |
447
|
|
|
|
|
|
|
d => q{dæ¥è³dæ¥}, |
448
|
|
|
|
|
|
|
}, |
449
|
|
|
|
|
|
|
fallback => '{0}â{1}', |
450
|
|
|
|
|
|
|
yM => { |
451
|
|
|
|
|
|
|
M => q{yå¹´Mæè³yå¹´Mæ}, |
452
|
|
|
|
|
|
|
}, |
453
|
|
|
|
|
|
|
yMEd => { |
454
|
|
|
|
|
|
|
M => q{d/M/yEè³d/M/yE}, |
455
|
|
|
|
|
|
|
d => q{d/M/yEè³d/M/yE}, |
456
|
|
|
|
|
|
|
y => q{d/M/yEè³d/M/yE}, |
457
|
|
|
|
|
|
|
}, |
458
|
|
|
|
|
|
|
yMMMEd => { |
459
|
|
|
|
|
|
|
d => q{yå¹´Mædæ¥Eè³Mædæ¥E}, |
460
|
|
|
|
|
|
|
}, |
461
|
|
|
|
|
|
|
yMd => { |
462
|
|
|
|
|
|
|
M => q{d/M/yè³d/M/y}, |
463
|
|
|
|
|
|
|
d => q{d/M/yè³d/M/y}, |
464
|
|
|
|
|
|
|
y => q{d/M/yè³d/M/y}, |
465
|
|
|
|
|
|
|
}, |
466
|
|
|
|
|
|
|
}, |
467
|
|
|
|
|
|
|
'generic' => { |
468
|
|
|
|
|
|
|
Hmv => { |
469
|
|
|
|
|
|
|
H => q{vHH:mmâHH:mm}, |
470
|
|
|
|
|
|
|
m => q{vHH:mmâHH:mm}, |
471
|
|
|
|
|
|
|
}, |
472
|
|
|
|
|
|
|
Hv => { |
473
|
|
|
|
|
|
|
H => q{vHHâHH}, |
474
|
|
|
|
|
|
|
}, |
475
|
|
|
|
|
|
|
MEd => { |
476
|
|
|
|
|
|
|
M => q{M-dEè³M-dE}, |
477
|
|
|
|
|
|
|
d => q{M-dEè³M-dE}, |
478
|
|
|
|
|
|
|
}, |
479
|
|
|
|
|
|
|
MMMEd => { |
480
|
|
|
|
|
|
|
d => q{Mædæ¥Eè³Mædæ¥E}, |
481
|
|
|
|
|
|
|
}, |
482
|
|
|
|
|
|
|
Md => { |
483
|
|
|
|
|
|
|
M => q{M-dè³M-d}, |
484
|
|
|
|
|
|
|
d => q{M-dè³M-d}, |
485
|
|
|
|
|
|
|
}, |
486
|
|
|
|
|
|
|
fallback => '{0}â{1}', |
487
|
|
|
|
|
|
|
yM => { |
488
|
|
|
|
|
|
|
M => q{yå¹´Mæè³yå¹´Mæ}, |
489
|
|
|
|
|
|
|
}, |
490
|
|
|
|
|
|
|
yMEd => { |
491
|
|
|
|
|
|
|
M => q{d/M/yEè³d/M/yE}, |
492
|
|
|
|
|
|
|
d => q{d/M/yEè³d/M/yE}, |
493
|
|
|
|
|
|
|
y => q{d/M/yEè³d/M/yE}, |
494
|
|
|
|
|
|
|
}, |
495
|
|
|
|
|
|
|
yMMMEd => { |
496
|
|
|
|
|
|
|
d => q{yå¹´Mædæ¥Eè³Mædæ¥E}, |
497
|
|
|
|
|
|
|
}, |
498
|
|
|
|
|
|
|
yMd => { |
499
|
|
|
|
|
|
|
M => q{d/M/yè³d/M/y}, |
500
|
|
|
|
|
|
|
d => q{d/M/yè³d/M/y}, |
501
|
|
|
|
|
|
|
y => q{d/M/yè³d/M/y}, |
502
|
|
|
|
|
|
|
}, |
503
|
|
|
|
|
|
|
}, |
504
|
|
|
|
|
|
|
} }, |
505
|
|
|
|
|
|
|
); |
506
|
|
|
|
|
|
|
|
507
|
1
|
|
|
1
|
|
2992
|
no Moo; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
6
|
|
508
|
|
|
|
|
|
|
|
509
|
|
|
|
|
|
|
1; |
510
|
|
|
|
|
|
|
|
511
|
|
|
|
|
|
|
# vim: tabstop=4 |