line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
=encoding utf8 |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=head1 |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
Locale::CLDR::Locales::It::Any::Ch - Package for language Italian |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=cut |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
package Locale::CLDR::Locales::It::Any::Ch; |
10
|
|
|
|
|
|
|
# This file auto generated from Data\common\main\it_CH.xml |
11
|
|
|
|
|
|
|
# on Sun 16 Dec 4:21:31 pm GMT |
12
|
|
|
|
|
|
|
|
13
|
1
|
|
|
1
|
|
1132
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
27
|
|
14
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
25
|
|
15
|
1
|
|
|
1
|
|
6
|
use version; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
14
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
our $VERSION = version->declare('v0.34.0'); |
18
|
|
|
|
|
|
|
|
19
|
1
|
|
|
1
|
|
102
|
use v5.10.1; |
|
1
|
|
|
|
|
3
|
|
20
|
1
|
|
|
1
|
|
5
|
use mro 'c3'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
6
|
|
21
|
1
|
|
|
1
|
|
23
|
use utf8; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
37
|
|
22
|
1
|
|
|
1
|
|
45
|
use if $^V ge v5.12.0, feature => 'unicode_strings'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
12
|
|
23
|
1
|
|
|
1
|
|
112
|
use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef ); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
8
|
|
24
|
1
|
|
|
1
|
|
994
|
use Moo; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
7
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
extends('Locale::CLDR::Locales::It::Any'); |
27
|
|
|
|
|
|
|
has 'characters' => ( |
28
|
|
|
|
|
|
|
is => 'ro', |
29
|
|
|
|
|
|
|
isa => HashRef, |
30
|
|
|
|
|
|
|
init_arg => undef, |
31
|
|
|
|
|
|
|
default => $^V ge v5.18.0 |
32
|
|
|
|
|
|
|
? eval <<'EOT' |
33
|
|
|
|
|
|
|
sub { |
34
|
|
|
|
|
|
|
no warnings 'experimental::regex_sets'; |
35
|
|
|
|
|
|
|
return { |
36
|
|
|
|
|
|
|
numbers => qr{[\- . â % â° + 0 1 2 3 4 5 6 7 8 9]}, |
37
|
|
|
|
|
|
|
}; |
38
|
|
|
|
|
|
|
}, |
39
|
|
|
|
|
|
|
EOT |
40
|
|
|
|
|
|
|
: sub { |
41
|
|
|
|
|
|
|
return {}; |
42
|
|
|
|
|
|
|
}, |
43
|
1
|
|
|
1
|
|
97
|
); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
74
|
|
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
has 'alternate_quote_start' => ( |
47
|
|
|
|
|
|
|
is => 'ro', |
48
|
|
|
|
|
|
|
isa => Str, |
49
|
|
|
|
|
|
|
init_arg => undef, |
50
|
|
|
|
|
|
|
default => qq{â¹}, |
51
|
|
|
|
|
|
|
); |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
has 'alternate_quote_end' => ( |
54
|
|
|
|
|
|
|
is => 'ro', |
55
|
|
|
|
|
|
|
isa => Str, |
56
|
|
|
|
|
|
|
init_arg => undef, |
57
|
|
|
|
|
|
|
default => qq{âº}, |
58
|
|
|
|
|
|
|
); |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
has 'number_symbols' => ( |
61
|
|
|
|
|
|
|
is => 'ro', |
62
|
|
|
|
|
|
|
isa => HashRef, |
63
|
|
|
|
|
|
|
init_arg => undef, |
64
|
|
|
|
|
|
|
default => sub { { |
65
|
|
|
|
|
|
|
'latn' => { |
66
|
|
|
|
|
|
|
'decimal' => q(.), |
67
|
|
|
|
|
|
|
'group' => q(â), |
68
|
|
|
|
|
|
|
}, |
69
|
|
|
|
|
|
|
} } |
70
|
|
|
|
|
|
|
); |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
has 'number_currency_formats' => ( |
73
|
|
|
|
|
|
|
is => 'ro', |
74
|
|
|
|
|
|
|
isa => HashRef, |
75
|
|
|
|
|
|
|
init_arg => undef, |
76
|
|
|
|
|
|
|
default => sub { { |
77
|
|
|
|
|
|
|
'latn' => { |
78
|
|
|
|
|
|
|
'pattern' => { |
79
|
|
|
|
|
|
|
'default' => { |
80
|
|
|
|
|
|
|
'standard' => { |
81
|
|
|
|
|
|
|
'negative' => '¤-#,##0.00', |
82
|
|
|
|
|
|
|
'positive' => '¤ #,##0.00', |
83
|
|
|
|
|
|
|
}, |
84
|
|
|
|
|
|
|
}, |
85
|
|
|
|
|
|
|
}, |
86
|
|
|
|
|
|
|
}, |
87
|
|
|
|
|
|
|
} }, |
88
|
|
|
|
|
|
|
); |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
has 'day_period_data' => ( |
91
|
|
|
|
|
|
|
is => 'ro', |
92
|
|
|
|
|
|
|
isa => CodeRef, |
93
|
|
|
|
|
|
|
init_arg => undef, |
94
|
|
|
|
|
|
|
default => sub { sub { |
95
|
|
|
|
|
|
|
# Time in hhmm format |
96
|
|
|
|
|
|
|
my ($self, $type, $time, $day_period_type) = @_; |
97
|
|
|
|
|
|
|
$day_period_type //= 'default'; |
98
|
|
|
|
|
|
|
SWITCH: |
99
|
|
|
|
|
|
|
for ($type) { |
100
|
|
|
|
|
|
|
if ($_ eq 'generic') { |
101
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
102
|
|
|
|
|
|
|
return 'midnight' if $time == 0; |
103
|
|
|
|
|
|
|
return 'noon' if $time == 1200; |
104
|
|
|
|
|
|
|
return 'evening1' if $time >= 1800 |
105
|
|
|
|
|
|
|
&& $time < 2400; |
106
|
|
|
|
|
|
|
return 'night1' if $time >= 0 |
107
|
|
|
|
|
|
|
&& $time < 600; |
108
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
109
|
|
|
|
|
|
|
&& $time < 1800; |
110
|
|
|
|
|
|
|
return 'morning1' if $time >= 600 |
111
|
|
|
|
|
|
|
&& $time < 1200; |
112
|
|
|
|
|
|
|
} |
113
|
|
|
|
|
|
|
if($day_period_type eq 'selection') { |
114
|
|
|
|
|
|
|
return 'evening1' if $time >= 1800 |
115
|
|
|
|
|
|
|
&& $time < 2400; |
116
|
|
|
|
|
|
|
return 'night1' if $time >= 0 |
117
|
|
|
|
|
|
|
&& $time < 600; |
118
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
119
|
|
|
|
|
|
|
&& $time < 1800; |
120
|
|
|
|
|
|
|
return 'morning1' if $time >= 600 |
121
|
|
|
|
|
|
|
&& $time < 1200; |
122
|
|
|
|
|
|
|
} |
123
|
|
|
|
|
|
|
last SWITCH; |
124
|
|
|
|
|
|
|
} |
125
|
|
|
|
|
|
|
if ($_ eq 'gregorian') { |
126
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
127
|
|
|
|
|
|
|
return 'midnight' if $time == 0; |
128
|
|
|
|
|
|
|
return 'noon' if $time == 1200; |
129
|
|
|
|
|
|
|
return 'evening1' if $time >= 1800 |
130
|
|
|
|
|
|
|
&& $time < 2400; |
131
|
|
|
|
|
|
|
return 'night1' if $time >= 0 |
132
|
|
|
|
|
|
|
&& $time < 600; |
133
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
134
|
|
|
|
|
|
|
&& $time < 1800; |
135
|
|
|
|
|
|
|
return 'morning1' if $time >= 600 |
136
|
|
|
|
|
|
|
&& $time < 1200; |
137
|
|
|
|
|
|
|
} |
138
|
|
|
|
|
|
|
if($day_period_type eq 'selection') { |
139
|
|
|
|
|
|
|
return 'evening1' if $time >= 1800 |
140
|
|
|
|
|
|
|
&& $time < 2400; |
141
|
|
|
|
|
|
|
return 'night1' if $time >= 0 |
142
|
|
|
|
|
|
|
&& $time < 600; |
143
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
144
|
|
|
|
|
|
|
&& $time < 1800; |
145
|
|
|
|
|
|
|
return 'morning1' if $time >= 600 |
146
|
|
|
|
|
|
|
&& $time < 1200; |
147
|
|
|
|
|
|
|
} |
148
|
|
|
|
|
|
|
last SWITCH; |
149
|
|
|
|
|
|
|
} |
150
|
|
|
|
|
|
|
} |
151
|
|
|
|
|
|
|
} }, |
152
|
|
|
|
|
|
|
); |
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
around day_period_data => sub { |
155
|
|
|
|
|
|
|
my ($orig, $self) = @_; |
156
|
|
|
|
|
|
|
return $self->$orig; |
157
|
|
|
|
|
|
|
}; |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
has 'eras' => ( |
160
|
|
|
|
|
|
|
is => 'ro', |
161
|
|
|
|
|
|
|
isa => HashRef, |
162
|
|
|
|
|
|
|
init_arg => undef, |
163
|
|
|
|
|
|
|
default => sub { { |
164
|
|
|
|
|
|
|
'generic' => { |
165
|
|
|
|
|
|
|
}, |
166
|
|
|
|
|
|
|
'gregorian' => { |
167
|
|
|
|
|
|
|
}, |
168
|
|
|
|
|
|
|
} }, |
169
|
|
|
|
|
|
|
); |
170
|
|
|
|
|
|
|
|
171
|
|
|
|
|
|
|
has 'date_formats' => ( |
172
|
|
|
|
|
|
|
is => 'ro', |
173
|
|
|
|
|
|
|
isa => HashRef, |
174
|
|
|
|
|
|
|
init_arg => undef, |
175
|
|
|
|
|
|
|
default => sub { { |
176
|
|
|
|
|
|
|
'generic' => { |
177
|
|
|
|
|
|
|
'full' => q{EEEE, d MMMM y G}, |
178
|
|
|
|
|
|
|
'long' => q{d MMMM y G}, |
179
|
|
|
|
|
|
|
'medium' => q{d MMM y G}, |
180
|
|
|
|
|
|
|
'short' => q{dd.MM.yy GGGGG}, |
181
|
|
|
|
|
|
|
}, |
182
|
|
|
|
|
|
|
'gregorian' => { |
183
|
|
|
|
|
|
|
'full' => q{EEEE, d MMMM y}, |
184
|
|
|
|
|
|
|
'short' => q{dd.MM.yy}, |
185
|
|
|
|
|
|
|
}, |
186
|
|
|
|
|
|
|
} }, |
187
|
|
|
|
|
|
|
); |
188
|
|
|
|
|
|
|
|
189
|
|
|
|
|
|
|
has 'time_formats' => ( |
190
|
|
|
|
|
|
|
is => 'ro', |
191
|
|
|
|
|
|
|
isa => HashRef, |
192
|
|
|
|
|
|
|
init_arg => undef, |
193
|
|
|
|
|
|
|
default => sub { { |
194
|
|
|
|
|
|
|
'generic' => { |
195
|
|
|
|
|
|
|
}, |
196
|
|
|
|
|
|
|
'gregorian' => { |
197
|
|
|
|
|
|
|
}, |
198
|
|
|
|
|
|
|
} }, |
199
|
|
|
|
|
|
|
); |
200
|
|
|
|
|
|
|
|
201
|
|
|
|
|
|
|
has 'datetime_formats' => ( |
202
|
|
|
|
|
|
|
is => 'ro', |
203
|
|
|
|
|
|
|
isa => HashRef, |
204
|
|
|
|
|
|
|
init_arg => undef, |
205
|
|
|
|
|
|
|
default => sub { { |
206
|
|
|
|
|
|
|
'generic' => { |
207
|
|
|
|
|
|
|
}, |
208
|
|
|
|
|
|
|
'gregorian' => { |
209
|
|
|
|
|
|
|
}, |
210
|
|
|
|
|
|
|
} }, |
211
|
|
|
|
|
|
|
); |
212
|
|
|
|
|
|
|
|
213
|
|
|
|
|
|
|
has 'datetime_formats_available_formats' => ( |
214
|
|
|
|
|
|
|
is => 'ro', |
215
|
|
|
|
|
|
|
isa => HashRef, |
216
|
|
|
|
|
|
|
init_arg => undef, |
217
|
|
|
|
|
|
|
default => sub { { |
218
|
|
|
|
|
|
|
'gregorian' => { |
219
|
|
|
|
|
|
|
HHmm => q{HH:mm}, |
220
|
|
|
|
|
|
|
HHmmss => q{HH:mm:ss}, |
221
|
|
|
|
|
|
|
MMdd => q{dd.MM}, |
222
|
|
|
|
|
|
|
hhmm => q{hh:mm a}, |
223
|
|
|
|
|
|
|
hhmmss => q{hh:mm:ss a}, |
224
|
|
|
|
|
|
|
yMM => q{MM.y}, |
225
|
|
|
|
|
|
|
}, |
226
|
|
|
|
|
|
|
'generic' => { |
227
|
|
|
|
|
|
|
HHmm => q{HH:mm}, |
228
|
|
|
|
|
|
|
HHmmss => q{HH:mm:ss}, |
229
|
|
|
|
|
|
|
MMdd => q{dd.MM}, |
230
|
|
|
|
|
|
|
hhmm => q{hh:mm a}, |
231
|
|
|
|
|
|
|
hhmmss => q{hh:mm:ss a}, |
232
|
|
|
|
|
|
|
yMM => q{MM.y GGGGG}, |
233
|
|
|
|
|
|
|
}, |
234
|
|
|
|
|
|
|
} }, |
235
|
|
|
|
|
|
|
); |
236
|
|
|
|
|
|
|
|
237
|
|
|
|
|
|
|
has 'datetime_formats_append_item' => ( |
238
|
|
|
|
|
|
|
is => 'ro', |
239
|
|
|
|
|
|
|
isa => HashRef, |
240
|
|
|
|
|
|
|
init_arg => undef, |
241
|
|
|
|
|
|
|
default => sub { { |
242
|
|
|
|
|
|
|
} }, |
243
|
|
|
|
|
|
|
); |
244
|
|
|
|
|
|
|
|
245
|
|
|
|
|
|
|
has 'datetime_formats_interval' => ( |
246
|
|
|
|
|
|
|
is => 'ro', |
247
|
|
|
|
|
|
|
isa => HashRef, |
248
|
|
|
|
|
|
|
init_arg => undef, |
249
|
|
|
|
|
|
|
default => sub { { |
250
|
|
|
|
|
|
|
'gregorian' => { |
251
|
|
|
|
|
|
|
MEd => { |
252
|
|
|
|
|
|
|
M => q{E, dd.MM â E, dd.MM}, |
253
|
|
|
|
|
|
|
d => q{E, dd.MM â E, dd.MM}, |
254
|
|
|
|
|
|
|
}, |
255
|
|
|
|
|
|
|
MMMEd => { |
256
|
|
|
|
|
|
|
M => q{E, d MMM â E, d MMM}, |
257
|
|
|
|
|
|
|
d => q{E, d â E, d MMM}, |
258
|
|
|
|
|
|
|
}, |
259
|
|
|
|
|
|
|
MMMd => { |
260
|
|
|
|
|
|
|
M => q{d MMM â d MMM}, |
261
|
|
|
|
|
|
|
d => q{dâd MMM}, |
262
|
|
|
|
|
|
|
}, |
263
|
|
|
|
|
|
|
Md => { |
264
|
|
|
|
|
|
|
M => q{dd.MM â dd.MM}, |
265
|
|
|
|
|
|
|
d => q{dd.MM â dd.MM}, |
266
|
|
|
|
|
|
|
}, |
267
|
|
|
|
|
|
|
yM => { |
268
|
|
|
|
|
|
|
M => q{MM.y â MM.y}, |
269
|
|
|
|
|
|
|
y => q{MM.y â MM.y}, |
270
|
|
|
|
|
|
|
}, |
271
|
|
|
|
|
|
|
yMEd => { |
272
|
|
|
|
|
|
|
M => q{E, dd.MM.y â E, dd.MM.y}, |
273
|
|
|
|
|
|
|
d => q{E, dd.MM.y â E, dd.MM.y}, |
274
|
|
|
|
|
|
|
y => q{E, dd.MM.y â E, dd.MM.y}, |
275
|
|
|
|
|
|
|
}, |
276
|
|
|
|
|
|
|
yMMMEd => { |
277
|
|
|
|
|
|
|
M => q{E, d MMM â E, d MMM y}, |
278
|
|
|
|
|
|
|
d => q{E, d â E, d MMM y}, |
279
|
|
|
|
|
|
|
y => q{E, d MMM y â E, d MMM y}, |
280
|
|
|
|
|
|
|
}, |
281
|
|
|
|
|
|
|
yMMMd => { |
282
|
|
|
|
|
|
|
M => q{d MMM â d MMM y}, |
283
|
|
|
|
|
|
|
d => q{dâd MMM y}, |
284
|
|
|
|
|
|
|
y => q{d MMM y â d MMM y}, |
285
|
|
|
|
|
|
|
}, |
286
|
|
|
|
|
|
|
yMd => { |
287
|
|
|
|
|
|
|
M => q{dd.MM.y â dd.MM.y}, |
288
|
|
|
|
|
|
|
d => q{dd.MM.y â dd.MM.y}, |
289
|
|
|
|
|
|
|
y => q{dd.MM.y â dd.MM.y}, |
290
|
|
|
|
|
|
|
}, |
291
|
|
|
|
|
|
|
}, |
292
|
|
|
|
|
|
|
'generic' => { |
293
|
|
|
|
|
|
|
MEd => { |
294
|
|
|
|
|
|
|
M => q{E, dd.MM â E, dd.MM}, |
295
|
|
|
|
|
|
|
d => q{E, dd.MM â E, dd.MM}, |
296
|
|
|
|
|
|
|
}, |
297
|
|
|
|
|
|
|
MMMEd => { |
298
|
|
|
|
|
|
|
M => q{E, d MMM â E, d MMM}, |
299
|
|
|
|
|
|
|
d => q{E, d â E, d MMM}, |
300
|
|
|
|
|
|
|
}, |
301
|
|
|
|
|
|
|
MMMd => { |
302
|
|
|
|
|
|
|
M => q{d MMM â d MMM}, |
303
|
|
|
|
|
|
|
d => q{dâd MMM}, |
304
|
|
|
|
|
|
|
}, |
305
|
|
|
|
|
|
|
Md => { |
306
|
|
|
|
|
|
|
M => q{dd.MM â dd.MM}, |
307
|
|
|
|
|
|
|
d => q{dd.MM â dd.MM}, |
308
|
|
|
|
|
|
|
}, |
309
|
|
|
|
|
|
|
yM => { |
310
|
|
|
|
|
|
|
M => q{MM.y â MM.y G}, |
311
|
|
|
|
|
|
|
y => q{MM.y â MM.y G}, |
312
|
|
|
|
|
|
|
}, |
313
|
|
|
|
|
|
|
yMEd => { |
314
|
|
|
|
|
|
|
M => q{E, dd.MM.y â E, dd.MM.y G}, |
315
|
|
|
|
|
|
|
d => q{E, dd.MM.y â E, dd.MM.y G}, |
316
|
|
|
|
|
|
|
y => q{E, dd.MM.y â E, dd.MM.y G}, |
317
|
|
|
|
|
|
|
}, |
318
|
|
|
|
|
|
|
yMMMEd => { |
319
|
|
|
|
|
|
|
M => q{E, d MMM â E, d MMM y G}, |
320
|
|
|
|
|
|
|
d => q{E, d â E, d MMM y G}, |
321
|
|
|
|
|
|
|
y => q{E, d MMM y â E, d MMM y G}, |
322
|
|
|
|
|
|
|
}, |
323
|
|
|
|
|
|
|
yMMMd => { |
324
|
|
|
|
|
|
|
M => q{d MMM â d MMM y G}, |
325
|
|
|
|
|
|
|
d => q{dâd MMM y G}, |
326
|
|
|
|
|
|
|
y => q{d MMM y â d MMM y G}, |
327
|
|
|
|
|
|
|
}, |
328
|
|
|
|
|
|
|
yMd => { |
329
|
|
|
|
|
|
|
M => q{dd.MM.y â dd.MM.y G}, |
330
|
|
|
|
|
|
|
d => q{dd.MM.y â dd.MM.y G}, |
331
|
|
|
|
|
|
|
y => q{dd.MM.y â dd.MM.y G}, |
332
|
|
|
|
|
|
|
}, |
333
|
|
|
|
|
|
|
}, |
334
|
|
|
|
|
|
|
} }, |
335
|
|
|
|
|
|
|
); |
336
|
|
|
|
|
|
|
|
337
|
1
|
|
|
1
|
|
1293
|
no Moo; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
5
|
|
338
|
|
|
|
|
|
|
|
339
|
|
|
|
|
|
|
1; |
340
|
|
|
|
|
|
|
|
341
|
|
|
|
|
|
|
# vim: tabstop=4 |