line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
=encoding utf8 |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=head1 |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
Locale::CLDR::Locales::Zh::Hans::Sg - Package for language Chinese |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=cut |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
package Locale::CLDR::Locales::Zh::Hans::Sg; |
10
|
|
|
|
|
|
|
# This file auto generated from Data\common\main\zh_Hans_SG.xml |
11
|
|
|
|
|
|
|
# on Sun 16 Dec 4:46:07 pm GMT |
12
|
|
|
|
|
|
|
|
13
|
1
|
|
|
1
|
|
1259
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
32
|
|
14
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
29
|
|
15
|
1
|
|
|
1
|
|
5
|
use version; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
6
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
our $VERSION = version->declare('v0.34.0'); |
18
|
|
|
|
|
|
|
|
19
|
1
|
|
|
1
|
|
111
|
use v5.10.1; |
|
1
|
|
|
|
|
4
|
|
20
|
1
|
|
|
1
|
|
5
|
use mro 'c3'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
27
|
|
21
|
1
|
|
|
1
|
|
35
|
use utf8; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
8
|
|
22
|
1
|
|
|
1
|
|
46
|
use if $^V ge v5.12.0, feature => 'unicode_strings'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
14
|
|
23
|
1
|
|
|
1
|
|
161
|
use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef ); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
9
|
|
24
|
1
|
|
|
1
|
|
1157
|
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
|
|
|
|
|
|
|
'NIO' => { |
98
|
|
|
|
|
|
|
display_name => { |
99
|
|
|
|
|
|
|
'other' => q(å°¼å æçç§å¤å·´), |
100
|
|
|
|
|
|
|
}, |
101
|
|
|
|
|
|
|
}, |
102
|
|
|
|
|
|
|
'SGD' => { |
103
|
|
|
|
|
|
|
symbol => '$', |
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 'buddhist') { |
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 'japanese') { |
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 'chinese') { |
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 'gregorian') { |
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
|
|
|
|
|
|
|
if ($_ eq 'islamic') { |
285
|
|
|
|
|
|
|
if($day_period_type eq 'selection') { |
286
|
|
|
|
|
|
|
return 'night1' if $time >= 0 |
287
|
|
|
|
|
|
|
&& $time < 500; |
288
|
|
|
|
|
|
|
return 'afternoon2' if $time >= 1300 |
289
|
|
|
|
|
|
|
&& $time < 1900; |
290
|
|
|
|
|
|
|
return 'evening1' if $time >= 1900 |
291
|
|
|
|
|
|
|
&& $time < 2400; |
292
|
|
|
|
|
|
|
return 'morning2' if $time >= 800 |
293
|
|
|
|
|
|
|
&& $time < 1200; |
294
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
295
|
|
|
|
|
|
|
&& $time < 1300; |
296
|
|
|
|
|
|
|
return 'morning1' if $time >= 500 |
297
|
|
|
|
|
|
|
&& $time < 800; |
298
|
|
|
|
|
|
|
} |
299
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
300
|
|
|
|
|
|
|
return 'midnight' if $time == 0; |
301
|
|
|
|
|
|
|
return 'morning1' if $time >= 500 |
302
|
|
|
|
|
|
|
&& $time < 800; |
303
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
304
|
|
|
|
|
|
|
&& $time < 1300; |
305
|
|
|
|
|
|
|
return 'evening1' if $time >= 1900 |
306
|
|
|
|
|
|
|
&& $time < 2400; |
307
|
|
|
|
|
|
|
return 'morning2' if $time >= 800 |
308
|
|
|
|
|
|
|
&& $time < 1200; |
309
|
|
|
|
|
|
|
return 'night1' if $time >= 0 |
310
|
|
|
|
|
|
|
&& $time < 500; |
311
|
|
|
|
|
|
|
return 'afternoon2' if $time >= 1300 |
312
|
|
|
|
|
|
|
&& $time < 1900; |
313
|
|
|
|
|
|
|
} |
314
|
|
|
|
|
|
|
last SWITCH; |
315
|
|
|
|
|
|
|
} |
316
|
|
|
|
|
|
|
if ($_ eq 'roc') { |
317
|
|
|
|
|
|
|
if($day_period_type eq 'selection') { |
318
|
|
|
|
|
|
|
return 'night1' if $time >= 0 |
319
|
|
|
|
|
|
|
&& $time < 500; |
320
|
|
|
|
|
|
|
return 'afternoon2' if $time >= 1300 |
321
|
|
|
|
|
|
|
&& $time < 1900; |
322
|
|
|
|
|
|
|
return 'evening1' if $time >= 1900 |
323
|
|
|
|
|
|
|
&& $time < 2400; |
324
|
|
|
|
|
|
|
return 'morning2' if $time >= 800 |
325
|
|
|
|
|
|
|
&& $time < 1200; |
326
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
327
|
|
|
|
|
|
|
&& $time < 1300; |
328
|
|
|
|
|
|
|
return 'morning1' if $time >= 500 |
329
|
|
|
|
|
|
|
&& $time < 800; |
330
|
|
|
|
|
|
|
} |
331
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
332
|
|
|
|
|
|
|
return 'midnight' if $time == 0; |
333
|
|
|
|
|
|
|
return 'morning1' if $time >= 500 |
334
|
|
|
|
|
|
|
&& $time < 800; |
335
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
336
|
|
|
|
|
|
|
&& $time < 1300; |
337
|
|
|
|
|
|
|
return 'evening1' if $time >= 1900 |
338
|
|
|
|
|
|
|
&& $time < 2400; |
339
|
|
|
|
|
|
|
return 'morning2' if $time >= 800 |
340
|
|
|
|
|
|
|
&& $time < 1200; |
341
|
|
|
|
|
|
|
return 'night1' if $time >= 0 |
342
|
|
|
|
|
|
|
&& $time < 500; |
343
|
|
|
|
|
|
|
return 'afternoon2' if $time >= 1300 |
344
|
|
|
|
|
|
|
&& $time < 1900; |
345
|
|
|
|
|
|
|
} |
346
|
|
|
|
|
|
|
last SWITCH; |
347
|
|
|
|
|
|
|
} |
348
|
|
|
|
|
|
|
} |
349
|
|
|
|
|
|
|
} }, |
350
|
|
|
|
|
|
|
); |
351
|
|
|
|
|
|
|
|
352
|
|
|
|
|
|
|
around day_period_data => sub { |
353
|
|
|
|
|
|
|
my ($orig, $self) = @_; |
354
|
|
|
|
|
|
|
return $self->$orig; |
355
|
|
|
|
|
|
|
}; |
356
|
|
|
|
|
|
|
|
357
|
|
|
|
|
|
|
has 'eras' => ( |
358
|
|
|
|
|
|
|
is => 'ro', |
359
|
|
|
|
|
|
|
isa => HashRef, |
360
|
|
|
|
|
|
|
init_arg => undef, |
361
|
|
|
|
|
|
|
default => sub { { |
362
|
|
|
|
|
|
|
'buddhist' => { |
363
|
|
|
|
|
|
|
}, |
364
|
|
|
|
|
|
|
'chinese' => { |
365
|
|
|
|
|
|
|
}, |
366
|
|
|
|
|
|
|
'generic' => { |
367
|
|
|
|
|
|
|
}, |
368
|
|
|
|
|
|
|
'gregorian' => { |
369
|
|
|
|
|
|
|
}, |
370
|
|
|
|
|
|
|
'islamic' => { |
371
|
|
|
|
|
|
|
}, |
372
|
|
|
|
|
|
|
'japanese' => { |
373
|
|
|
|
|
|
|
}, |
374
|
|
|
|
|
|
|
'roc' => { |
375
|
|
|
|
|
|
|
}, |
376
|
|
|
|
|
|
|
} }, |
377
|
|
|
|
|
|
|
); |
378
|
|
|
|
|
|
|
|
379
|
|
|
|
|
|
|
has 'date_formats' => ( |
380
|
|
|
|
|
|
|
is => 'ro', |
381
|
|
|
|
|
|
|
isa => HashRef, |
382
|
|
|
|
|
|
|
init_arg => undef, |
383
|
|
|
|
|
|
|
default => sub { { |
384
|
|
|
|
|
|
|
'buddhist' => { |
385
|
|
|
|
|
|
|
'short' => q{Gd/M/yy}, |
386
|
|
|
|
|
|
|
}, |
387
|
|
|
|
|
|
|
'chinese' => { |
388
|
|
|
|
|
|
|
'full' => q{Uå¹´MMMdæ¥EEEE}, |
389
|
|
|
|
|
|
|
'long' => q{Uå¹´MMMdæ¥}, |
390
|
|
|
|
|
|
|
'medium' => q{Uå¹´MMMdæ¥}, |
391
|
|
|
|
|
|
|
}, |
392
|
|
|
|
|
|
|
'generic' => { |
393
|
|
|
|
|
|
|
'short' => q{dd/MM/yyGGGGG}, |
394
|
|
|
|
|
|
|
}, |
395
|
|
|
|
|
|
|
'gregorian' => { |
396
|
|
|
|
|
|
|
'short' => q{dd/MM/yy}, |
397
|
|
|
|
|
|
|
}, |
398
|
|
|
|
|
|
|
'islamic' => { |
399
|
|
|
|
|
|
|
'short' => q{Gd/M/yy}, |
400
|
|
|
|
|
|
|
}, |
401
|
|
|
|
|
|
|
'japanese' => { |
402
|
|
|
|
|
|
|
'short' => q{Gd/M/yy}, |
403
|
|
|
|
|
|
|
}, |
404
|
|
|
|
|
|
|
'roc' => { |
405
|
|
|
|
|
|
|
'short' => q{Gd/M/yy}, |
406
|
|
|
|
|
|
|
}, |
407
|
|
|
|
|
|
|
} }, |
408
|
|
|
|
|
|
|
); |
409
|
|
|
|
|
|
|
|
410
|
|
|
|
|
|
|
has 'time_formats' => ( |
411
|
|
|
|
|
|
|
is => 'ro', |
412
|
|
|
|
|
|
|
isa => HashRef, |
413
|
|
|
|
|
|
|
init_arg => undef, |
414
|
|
|
|
|
|
|
default => sub { { |
415
|
|
|
|
|
|
|
'buddhist' => { |
416
|
|
|
|
|
|
|
}, |
417
|
|
|
|
|
|
|
'chinese' => { |
418
|
|
|
|
|
|
|
}, |
419
|
|
|
|
|
|
|
'generic' => { |
420
|
|
|
|
|
|
|
}, |
421
|
|
|
|
|
|
|
'gregorian' => { |
422
|
|
|
|
|
|
|
}, |
423
|
|
|
|
|
|
|
'islamic' => { |
424
|
|
|
|
|
|
|
}, |
425
|
|
|
|
|
|
|
'japanese' => { |
426
|
|
|
|
|
|
|
}, |
427
|
|
|
|
|
|
|
'roc' => { |
428
|
|
|
|
|
|
|
}, |
429
|
|
|
|
|
|
|
} }, |
430
|
|
|
|
|
|
|
); |
431
|
|
|
|
|
|
|
|
432
|
|
|
|
|
|
|
has 'datetime_formats' => ( |
433
|
|
|
|
|
|
|
is => 'ro', |
434
|
|
|
|
|
|
|
isa => HashRef, |
435
|
|
|
|
|
|
|
init_arg => undef, |
436
|
|
|
|
|
|
|
default => sub { { |
437
|
|
|
|
|
|
|
'buddhist' => { |
438
|
|
|
|
|
|
|
}, |
439
|
|
|
|
|
|
|
'chinese' => { |
440
|
|
|
|
|
|
|
}, |
441
|
|
|
|
|
|
|
'generic' => { |
442
|
|
|
|
|
|
|
}, |
443
|
|
|
|
|
|
|
'gregorian' => { |
444
|
|
|
|
|
|
|
}, |
445
|
|
|
|
|
|
|
'islamic' => { |
446
|
|
|
|
|
|
|
}, |
447
|
|
|
|
|
|
|
'japanese' => { |
448
|
|
|
|
|
|
|
}, |
449
|
|
|
|
|
|
|
'roc' => { |
450
|
|
|
|
|
|
|
}, |
451
|
|
|
|
|
|
|
} }, |
452
|
|
|
|
|
|
|
); |
453
|
|
|
|
|
|
|
|
454
|
|
|
|
|
|
|
has 'datetime_formats_available_formats' => ( |
455
|
|
|
|
|
|
|
is => 'ro', |
456
|
|
|
|
|
|
|
isa => HashRef, |
457
|
|
|
|
|
|
|
init_arg => undef, |
458
|
|
|
|
|
|
|
default => sub { { |
459
|
|
|
|
|
|
|
'gregorian' => { |
460
|
|
|
|
|
|
|
MEd => q{M-dE}, |
461
|
|
|
|
|
|
|
MMM => q{Mæ}, |
462
|
|
|
|
|
|
|
MMMMdd => q{Mædæ¥}, |
463
|
|
|
|
|
|
|
MMdd => q{MM-dd}, |
464
|
|
|
|
|
|
|
Md => q{M-d}, |
465
|
|
|
|
|
|
|
yMEd => q{yå¹´Mædæ¥ï¼E}, |
466
|
|
|
|
|
|
|
yMd => q{yå¹´Mædæ¥}, |
467
|
|
|
|
|
|
|
}, |
468
|
|
|
|
|
|
|
'japanese' => { |
469
|
|
|
|
|
|
|
MEd => q{M/dE}, |
470
|
|
|
|
|
|
|
Md => q{M/d}, |
471
|
|
|
|
|
|
|
}, |
472
|
|
|
|
|
|
|
'generic' => { |
473
|
|
|
|
|
|
|
MEd => q{M-dE}, |
474
|
|
|
|
|
|
|
MMMMdd => q{Mædæ¥}, |
475
|
|
|
|
|
|
|
MMdd => q{MM-dd}, |
476
|
|
|
|
|
|
|
Md => q{M-d}, |
477
|
|
|
|
|
|
|
yyyyMEd => q{Gyå¹´Mædæ¥ï¼E}, |
478
|
|
|
|
|
|
|
yyyyMd => q{Gyå¹´Mædæ¥}, |
479
|
|
|
|
|
|
|
}, |
480
|
|
|
|
|
|
|
'roc' => { |
481
|
|
|
|
|
|
|
MEd => q{M-dE}, |
482
|
|
|
|
|
|
|
MMM => q{Mæ}, |
483
|
|
|
|
|
|
|
Md => q{M-d}, |
484
|
|
|
|
|
|
|
}, |
485
|
|
|
|
|
|
|
} }, |
486
|
|
|
|
|
|
|
); |
487
|
|
|
|
|
|
|
|
488
|
|
|
|
|
|
|
has 'datetime_formats_append_item' => ( |
489
|
|
|
|
|
|
|
is => 'ro', |
490
|
|
|
|
|
|
|
isa => HashRef, |
491
|
|
|
|
|
|
|
init_arg => undef, |
492
|
|
|
|
|
|
|
default => sub { { |
493
|
|
|
|
|
|
|
} }, |
494
|
|
|
|
|
|
|
); |
495
|
|
|
|
|
|
|
|
496
|
|
|
|
|
|
|
has 'datetime_formats_interval' => ( |
497
|
|
|
|
|
|
|
is => 'ro', |
498
|
|
|
|
|
|
|
isa => HashRef, |
499
|
|
|
|
|
|
|
init_arg => undef, |
500
|
|
|
|
|
|
|
default => sub { { |
501
|
|
|
|
|
|
|
'gregorian' => { |
502
|
|
|
|
|
|
|
Hmv => { |
503
|
|
|
|
|
|
|
H => q{vHH:mmâHH:mm}, |
504
|
|
|
|
|
|
|
m => q{vHH:mmâHH:mm}, |
505
|
|
|
|
|
|
|
}, |
506
|
|
|
|
|
|
|
Hv => { |
507
|
|
|
|
|
|
|
H => q{vHHâHH}, |
508
|
|
|
|
|
|
|
}, |
509
|
|
|
|
|
|
|
MEd => { |
510
|
|
|
|
|
|
|
M => q{M-dEè³M-dE}, |
511
|
|
|
|
|
|
|
d => q{M-dEè³M-dE}, |
512
|
|
|
|
|
|
|
}, |
513
|
|
|
|
|
|
|
MMMEd => { |
514
|
|
|
|
|
|
|
d => q{Mædæ¥Eè³Mædæ¥E}, |
515
|
|
|
|
|
|
|
}, |
516
|
|
|
|
|
|
|
Md => { |
517
|
|
|
|
|
|
|
M => q{M-dè³M-d}, |
518
|
|
|
|
|
|
|
d => q{M-dè³M-d}, |
519
|
|
|
|
|
|
|
}, |
520
|
|
|
|
|
|
|
d => { |
521
|
|
|
|
|
|
|
d => q{dæ¥è³dæ¥}, |
522
|
|
|
|
|
|
|
}, |
523
|
|
|
|
|
|
|
fallback => '{0}è³{1}', |
524
|
|
|
|
|
|
|
yM => { |
525
|
|
|
|
|
|
|
M => q{yå¹´Mæè³yå¹´Mæ}, |
526
|
|
|
|
|
|
|
}, |
527
|
|
|
|
|
|
|
yMEd => { |
528
|
|
|
|
|
|
|
M => q{d/M/yEè³d/M/yE}, |
529
|
|
|
|
|
|
|
d => q{d/M/yEè³d/M/yE}, |
530
|
|
|
|
|
|
|
y => q{d/M/yEè³d/M/yE}, |
531
|
|
|
|
|
|
|
}, |
532
|
|
|
|
|
|
|
yMd => { |
533
|
|
|
|
|
|
|
M => q{d/M/yè³d/M/y}, |
534
|
|
|
|
|
|
|
d => q{d/M/yè³d/M/y}, |
535
|
|
|
|
|
|
|
y => q{d/M/yè³d/M/y}, |
536
|
|
|
|
|
|
|
}, |
537
|
|
|
|
|
|
|
}, |
538
|
|
|
|
|
|
|
'generic' => { |
539
|
|
|
|
|
|
|
Hmv => { |
540
|
|
|
|
|
|
|
H => q{vHH:mmâHH:mm}, |
541
|
|
|
|
|
|
|
m => q{vHH:mmâHH:mm}, |
542
|
|
|
|
|
|
|
}, |
543
|
|
|
|
|
|
|
Hv => { |
544
|
|
|
|
|
|
|
H => q{vHHâHH}, |
545
|
|
|
|
|
|
|
}, |
546
|
|
|
|
|
|
|
MEd => { |
547
|
|
|
|
|
|
|
M => q{M-dEè³M-dE}, |
548
|
|
|
|
|
|
|
d => q{M-dEè³M-dE}, |
549
|
|
|
|
|
|
|
}, |
550
|
|
|
|
|
|
|
MMMEd => { |
551
|
|
|
|
|
|
|
d => q{Mædæ¥Eè³Mædæ¥E}, |
552
|
|
|
|
|
|
|
}, |
553
|
|
|
|
|
|
|
Md => { |
554
|
|
|
|
|
|
|
M => q{M-dè³M-d}, |
555
|
|
|
|
|
|
|
d => q{M-dè³M-d}, |
556
|
|
|
|
|
|
|
}, |
557
|
|
|
|
|
|
|
fallback => '{0}è³{1}', |
558
|
|
|
|
|
|
|
yM => { |
559
|
|
|
|
|
|
|
M => q{yå¹´Mæè³yå¹´Mæ}, |
560
|
|
|
|
|
|
|
}, |
561
|
|
|
|
|
|
|
yMEd => { |
562
|
|
|
|
|
|
|
M => q{d/M/yEè³d/M/yE}, |
563
|
|
|
|
|
|
|
d => q{d/M/yEè³d/M/yE}, |
564
|
|
|
|
|
|
|
y => q{d/M/yEè³d/M/yE}, |
565
|
|
|
|
|
|
|
}, |
566
|
|
|
|
|
|
|
yMd => { |
567
|
|
|
|
|
|
|
M => q{d/M/yè³d/M/y}, |
568
|
|
|
|
|
|
|
d => q{d/M/yè³d/M/y}, |
569
|
|
|
|
|
|
|
y => q{d/M/yè³d/M/y}, |
570
|
|
|
|
|
|
|
}, |
571
|
|
|
|
|
|
|
}, |
572
|
|
|
|
|
|
|
} }, |
573
|
|
|
|
|
|
|
); |
574
|
|
|
|
|
|
|
|
575
|
|
|
|
|
|
|
has 'time_zone_names' => ( |
576
|
|
|
|
|
|
|
is => 'ro', |
577
|
|
|
|
|
|
|
isa => HashRef, |
578
|
|
|
|
|
|
|
init_arg => undef, |
579
|
|
|
|
|
|
|
default => sub { { |
580
|
|
|
|
|
|
|
'America/Scoresbysund' => { |
581
|
|
|
|
|
|
|
exemplarCity => q#æ¯èæ¯ä¼¯æ¾å¾·#, |
582
|
|
|
|
|
|
|
}, |
583
|
|
|
|
|
|
|
'Malaysia' => { |
584
|
|
|
|
|
|
|
short => { |
585
|
|
|
|
|
|
|
'standard' => q#MYT#, |
586
|
|
|
|
|
|
|
}, |
587
|
|
|
|
|
|
|
}, |
588
|
|
|
|
|
|
|
'Singapore' => { |
589
|
|
|
|
|
|
|
short => { |
590
|
|
|
|
|
|
|
'standard' => q#SGT#, |
591
|
|
|
|
|
|
|
}, |
592
|
|
|
|
|
|
|
}, |
593
|
|
|
|
|
|
|
} } |
594
|
|
|
|
|
|
|
); |
595
|
1
|
|
|
1
|
|
2444
|
no Moo; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
6
|
|
596
|
|
|
|
|
|
|
|
597
|
|
|
|
|
|
|
1; |
598
|
|
|
|
|
|
|
|
599
|
|
|
|
|
|
|
# vim: tabstop=4 |