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