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