line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
=encoding utf8 |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=head1 NAME |
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 Fri 13 Oct 9:50:55 am GMT |
12
|
|
|
|
|
|
|
|
13
|
1
|
|
|
1
|
|
980
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
29
|
|
14
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
20
|
|
15
|
1
|
|
|
1
|
|
4
|
use version; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
5
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
our $VERSION = version->declare('v0.34.2'); |
18
|
|
|
|
|
|
|
|
19
|
1
|
|
|
1
|
|
87
|
use v5.10.1; |
|
1
|
|
|
|
|
3
|
|
20
|
1
|
|
|
1
|
|
4
|
use mro 'c3'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
6
|
|
21
|
1
|
|
|
1
|
|
40
|
use utf8; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
22
|
1
|
|
|
1
|
|
64
|
use if $^V ge v5.12.0, feature => 'unicode_strings'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
29
|
|
23
|
1
|
|
|
1
|
|
98
|
use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef ); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
7
|
|
24
|
1
|
|
|
1
|
|
900
|
use Moo; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
4
|
|
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 'chinese') { |
125
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
126
|
|
|
|
|
|
|
return 'midnight' if $time == 0; |
127
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
128
|
|
|
|
|
|
|
&& $time < 1300; |
129
|
|
|
|
|
|
|
return 'afternoon2' if $time >= 1300 |
130
|
|
|
|
|
|
|
&& $time < 1900; |
131
|
|
|
|
|
|
|
return 'evening1' if $time >= 1900 |
132
|
|
|
|
|
|
|
&& $time < 2400; |
133
|
|
|
|
|
|
|
return 'morning1' if $time >= 500 |
134
|
|
|
|
|
|
|
&& $time < 800; |
135
|
|
|
|
|
|
|
return 'morning2' if $time >= 800 |
136
|
|
|
|
|
|
|
&& $time < 1200; |
137
|
|
|
|
|
|
|
return 'night1' if $time >= 0 |
138
|
|
|
|
|
|
|
&& $time < 500; |
139
|
|
|
|
|
|
|
} |
140
|
|
|
|
|
|
|
if($day_period_type eq 'selection') { |
141
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
142
|
|
|
|
|
|
|
&& $time < 1300; |
143
|
|
|
|
|
|
|
return 'afternoon2' if $time >= 1300 |
144
|
|
|
|
|
|
|
&& $time < 1900; |
145
|
|
|
|
|
|
|
return 'evening1' if $time >= 1900 |
146
|
|
|
|
|
|
|
&& $time < 2400; |
147
|
|
|
|
|
|
|
return 'morning1' if $time >= 500 |
148
|
|
|
|
|
|
|
&& $time < 800; |
149
|
|
|
|
|
|
|
return 'morning2' if $time >= 800 |
150
|
|
|
|
|
|
|
&& $time < 1200; |
151
|
|
|
|
|
|
|
return 'night1' if $time >= 0 |
152
|
|
|
|
|
|
|
&& $time < 500; |
153
|
|
|
|
|
|
|
} |
154
|
|
|
|
|
|
|
last SWITCH; |
155
|
|
|
|
|
|
|
} |
156
|
|
|
|
|
|
|
if ($_ eq 'generic') { |
157
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
158
|
|
|
|
|
|
|
return 'midnight' if $time == 0; |
159
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
160
|
|
|
|
|
|
|
&& $time < 1300; |
161
|
|
|
|
|
|
|
return 'afternoon2' if $time >= 1300 |
162
|
|
|
|
|
|
|
&& $time < 1900; |
163
|
|
|
|
|
|
|
return 'evening1' if $time >= 1900 |
164
|
|
|
|
|
|
|
&& $time < 2400; |
165
|
|
|
|
|
|
|
return 'morning1' if $time >= 500 |
166
|
|
|
|
|
|
|
&& $time < 800; |
167
|
|
|
|
|
|
|
return 'morning2' if $time >= 800 |
168
|
|
|
|
|
|
|
&& $time < 1200; |
169
|
|
|
|
|
|
|
return 'night1' if $time >= 0 |
170
|
|
|
|
|
|
|
&& $time < 500; |
171
|
|
|
|
|
|
|
} |
172
|
|
|
|
|
|
|
if($day_period_type eq 'selection') { |
173
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
174
|
|
|
|
|
|
|
&& $time < 1300; |
175
|
|
|
|
|
|
|
return 'afternoon2' if $time >= 1300 |
176
|
|
|
|
|
|
|
&& $time < 1900; |
177
|
|
|
|
|
|
|
return 'evening1' if $time >= 1900 |
178
|
|
|
|
|
|
|
&& $time < 2400; |
179
|
|
|
|
|
|
|
return 'morning1' if $time >= 500 |
180
|
|
|
|
|
|
|
&& $time < 800; |
181
|
|
|
|
|
|
|
return 'morning2' if $time >= 800 |
182
|
|
|
|
|
|
|
&& $time < 1200; |
183
|
|
|
|
|
|
|
return 'night1' if $time >= 0 |
184
|
|
|
|
|
|
|
&& $time < 500; |
185
|
|
|
|
|
|
|
} |
186
|
|
|
|
|
|
|
last SWITCH; |
187
|
|
|
|
|
|
|
} |
188
|
|
|
|
|
|
|
if ($_ eq 'gregorian') { |
189
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
190
|
|
|
|
|
|
|
return 'midnight' if $time == 0; |
191
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
192
|
|
|
|
|
|
|
&& $time < 1300; |
193
|
|
|
|
|
|
|
return 'afternoon2' if $time >= 1300 |
194
|
|
|
|
|
|
|
&& $time < 1900; |
195
|
|
|
|
|
|
|
return 'evening1' if $time >= 1900 |
196
|
|
|
|
|
|
|
&& $time < 2400; |
197
|
|
|
|
|
|
|
return 'morning1' if $time >= 500 |
198
|
|
|
|
|
|
|
&& $time < 800; |
199
|
|
|
|
|
|
|
return 'morning2' if $time >= 800 |
200
|
|
|
|
|
|
|
&& $time < 1200; |
201
|
|
|
|
|
|
|
return 'night1' if $time >= 0 |
202
|
|
|
|
|
|
|
&& $time < 500; |
203
|
|
|
|
|
|
|
} |
204
|
|
|
|
|
|
|
if($day_period_type eq 'selection') { |
205
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
206
|
|
|
|
|
|
|
&& $time < 1300; |
207
|
|
|
|
|
|
|
return 'afternoon2' if $time >= 1300 |
208
|
|
|
|
|
|
|
&& $time < 1900; |
209
|
|
|
|
|
|
|
return 'evening1' if $time >= 1900 |
210
|
|
|
|
|
|
|
&& $time < 2400; |
211
|
|
|
|
|
|
|
return 'morning1' if $time >= 500 |
212
|
|
|
|
|
|
|
&& $time < 800; |
213
|
|
|
|
|
|
|
return 'morning2' if $time >= 800 |
214
|
|
|
|
|
|
|
&& $time < 1200; |
215
|
|
|
|
|
|
|
return 'night1' if $time >= 0 |
216
|
|
|
|
|
|
|
&& $time < 500; |
217
|
|
|
|
|
|
|
} |
218
|
|
|
|
|
|
|
last SWITCH; |
219
|
|
|
|
|
|
|
} |
220
|
|
|
|
|
|
|
if ($_ eq 'islamic') { |
221
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
222
|
|
|
|
|
|
|
return 'midnight' if $time == 0; |
223
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
224
|
|
|
|
|
|
|
&& $time < 1300; |
225
|
|
|
|
|
|
|
return 'afternoon2' if $time >= 1300 |
226
|
|
|
|
|
|
|
&& $time < 1900; |
227
|
|
|
|
|
|
|
return 'evening1' if $time >= 1900 |
228
|
|
|
|
|
|
|
&& $time < 2400; |
229
|
|
|
|
|
|
|
return 'morning1' if $time >= 500 |
230
|
|
|
|
|
|
|
&& $time < 800; |
231
|
|
|
|
|
|
|
return 'morning2' if $time >= 800 |
232
|
|
|
|
|
|
|
&& $time < 1200; |
233
|
|
|
|
|
|
|
return 'night1' if $time >= 0 |
234
|
|
|
|
|
|
|
&& $time < 500; |
235
|
|
|
|
|
|
|
} |
236
|
|
|
|
|
|
|
if($day_period_type eq 'selection') { |
237
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
238
|
|
|
|
|
|
|
&& $time < 1300; |
239
|
|
|
|
|
|
|
return 'afternoon2' if $time >= 1300 |
240
|
|
|
|
|
|
|
&& $time < 1900; |
241
|
|
|
|
|
|
|
return 'evening1' if $time >= 1900 |
242
|
|
|
|
|
|
|
&& $time < 2400; |
243
|
|
|
|
|
|
|
return 'morning1' if $time >= 500 |
244
|
|
|
|
|
|
|
&& $time < 800; |
245
|
|
|
|
|
|
|
return 'morning2' if $time >= 800 |
246
|
|
|
|
|
|
|
&& $time < 1200; |
247
|
|
|
|
|
|
|
return 'night1' if $time >= 0 |
248
|
|
|
|
|
|
|
&& $time < 500; |
249
|
|
|
|
|
|
|
} |
250
|
|
|
|
|
|
|
last SWITCH; |
251
|
|
|
|
|
|
|
} |
252
|
|
|
|
|
|
|
if ($_ eq 'roc') { |
253
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
254
|
|
|
|
|
|
|
return 'midnight' if $time == 0; |
255
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
256
|
|
|
|
|
|
|
&& $time < 1300; |
257
|
|
|
|
|
|
|
return 'afternoon2' if $time >= 1300 |
258
|
|
|
|
|
|
|
&& $time < 1900; |
259
|
|
|
|
|
|
|
return 'evening1' if $time >= 1900 |
260
|
|
|
|
|
|
|
&& $time < 2400; |
261
|
|
|
|
|
|
|
return 'morning1' if $time >= 500 |
262
|
|
|
|
|
|
|
&& $time < 800; |
263
|
|
|
|
|
|
|
return 'morning2' if $time >= 800 |
264
|
|
|
|
|
|
|
&& $time < 1200; |
265
|
|
|
|
|
|
|
return 'night1' if $time >= 0 |
266
|
|
|
|
|
|
|
&& $time < 500; |
267
|
|
|
|
|
|
|
} |
268
|
|
|
|
|
|
|
if($day_period_type eq 'selection') { |
269
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
270
|
|
|
|
|
|
|
&& $time < 1300; |
271
|
|
|
|
|
|
|
return 'afternoon2' if $time >= 1300 |
272
|
|
|
|
|
|
|
&& $time < 1900; |
273
|
|
|
|
|
|
|
return 'evening1' if $time >= 1900 |
274
|
|
|
|
|
|
|
&& $time < 2400; |
275
|
|
|
|
|
|
|
return 'morning1' if $time >= 500 |
276
|
|
|
|
|
|
|
&& $time < 800; |
277
|
|
|
|
|
|
|
return 'morning2' if $time >= 800 |
278
|
|
|
|
|
|
|
&& $time < 1200; |
279
|
|
|
|
|
|
|
return 'night1' if $time >= 0 |
280
|
|
|
|
|
|
|
&& $time < 500; |
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
|
|
|
|
|
|
|
'generic' => { |
378
|
|
|
|
|
|
|
MEd => q{M-dE}, |
379
|
|
|
|
|
|
|
MMMMdd => q{M月d日}, |
380
|
|
|
|
|
|
|
MMdd => q{MM-dd}, |
381
|
|
|
|
|
|
|
Md => q{M-d}, |
382
|
|
|
|
|
|
|
yyyyMEd => q{Gy年M月d日,E}, |
383
|
|
|
|
|
|
|
yyyyMd => q{Gy年M月d日}, |
384
|
|
|
|
|
|
|
}, |
385
|
|
|
|
|
|
|
'gregorian' => { |
386
|
|
|
|
|
|
|
MEd => q{E, d/M}, |
387
|
|
|
|
|
|
|
MMMMdd => q{M月d日}, |
388
|
|
|
|
|
|
|
MMdd => q{dd/MM}, |
389
|
|
|
|
|
|
|
Md => q{d/M}, |
390
|
|
|
|
|
|
|
yMEd => q{y年M月d日,E}, |
391
|
|
|
|
|
|
|
yMd => q{y年M月d日}, |
392
|
|
|
|
|
|
|
}, |
393
|
|
|
|
|
|
|
'roc' => { |
394
|
|
|
|
|
|
|
MEd => q{M-dE}, |
395
|
|
|
|
|
|
|
MMM => q{M月}, |
396
|
|
|
|
|
|
|
Md => q{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
|
|
|
|
|
|
|
'generic' => { |
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
|
|
|
|
|
|
|
fallback => '{0}–{1}', |
434
|
|
|
|
|
|
|
yM => { |
435
|
|
|
|
|
|
|
M => q{y年M月至y年M月}, |
436
|
|
|
|
|
|
|
}, |
437
|
|
|
|
|
|
|
yMEd => { |
438
|
|
|
|
|
|
|
M => q{d/M/yE至d/M/yE}, |
439
|
|
|
|
|
|
|
d => q{d/M/yE至d/M/yE}, |
440
|
|
|
|
|
|
|
y => q{d/M/yE至d/M/yE}, |
441
|
|
|
|
|
|
|
}, |
442
|
|
|
|
|
|
|
yMMMEd => { |
443
|
|
|
|
|
|
|
d => q{y年M月d日E至M月d日E}, |
444
|
|
|
|
|
|
|
}, |
445
|
|
|
|
|
|
|
yMd => { |
446
|
|
|
|
|
|
|
M => q{d/M/y至d/M/y}, |
447
|
|
|
|
|
|
|
d => q{d/M/y至d/M/y}, |
448
|
|
|
|
|
|
|
y => q{d/M/y至d/M/y}, |
449
|
|
|
|
|
|
|
}, |
450
|
|
|
|
|
|
|
}, |
451
|
|
|
|
|
|
|
'gregorian' => { |
452
|
|
|
|
|
|
|
Hmv => { |
453
|
|
|
|
|
|
|
H => q{vHH:mm–HH:mm}, |
454
|
|
|
|
|
|
|
m => q{vHH:mm–HH:mm}, |
455
|
|
|
|
|
|
|
}, |
456
|
|
|
|
|
|
|
Hv => { |
457
|
|
|
|
|
|
|
H => q{vHH–HH}, |
458
|
|
|
|
|
|
|
}, |
459
|
|
|
|
|
|
|
MEd => { |
460
|
|
|
|
|
|
|
M => q{M-dE至M-dE}, |
461
|
|
|
|
|
|
|
d => q{M-dE至M-dE}, |
462
|
|
|
|
|
|
|
}, |
463
|
|
|
|
|
|
|
MMMEd => { |
464
|
|
|
|
|
|
|
d => q{M月d日E至M月d日E}, |
465
|
|
|
|
|
|
|
}, |
466
|
|
|
|
|
|
|
Md => { |
467
|
|
|
|
|
|
|
M => q{M-d至M-d}, |
468
|
|
|
|
|
|
|
d => q{M-d至M-d}, |
469
|
|
|
|
|
|
|
}, |
470
|
|
|
|
|
|
|
d => { |
471
|
|
|
|
|
|
|
d => q{d日至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
|
|
1778
|
no Moo; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
3
|
|
495
|
|
|
|
|
|
|
|
496
|
|
|
|
|
|
|
1; |
497
|
|
|
|
|
|
|
|
498
|
|
|
|
|
|
|
# vim: tabstop=4 |