line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
=encoding utf8 |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=head1 NAME |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
Locale::CLDR::Locales::En::Any::Fi - Package for language English |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=cut |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
package Locale::CLDR::Locales::En::Any::Fi; |
10
|
|
|
|
|
|
|
# This file auto generated from Data\common\main\en_FI.xml |
11
|
|
|
|
|
|
|
# on Fri 13 Oct 9:13:17 am GMT |
12
|
|
|
|
|
|
|
|
13
|
1
|
|
|
1
|
|
853
|
use strict; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
24
|
|
14
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
21
|
|
15
|
1
|
|
|
1
|
|
4
|
use version; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
our $VERSION = version->declare('v0.34.2'); |
18
|
|
|
|
|
|
|
|
19
|
1
|
|
|
1
|
|
83
|
use v5.10.1; |
|
1
|
|
|
|
|
3
|
|
20
|
1
|
|
|
1
|
|
5
|
use mro 'c3'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
4
|
|
21
|
1
|
|
|
1
|
|
29
|
use utf8; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
22
|
1
|
|
|
1
|
|
30
|
use if $^V ge v5.12.0, feature => 'unicode_strings'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
10
|
|
23
|
1
|
|
|
1
|
|
90
|
use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef ); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
24
|
1
|
|
|
1
|
|
899
|
use Moo; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
4
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
extends('Locale::CLDR::Locales::En::Any::150'); |
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
|
|
115
|
); |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
69
|
|
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
has 'number_symbols' => ( |
47
|
|
|
|
|
|
|
is => 'ro', |
48
|
|
|
|
|
|
|
isa => HashRef, |
49
|
|
|
|
|
|
|
init_arg => undef, |
50
|
|
|
|
|
|
|
default => sub { { |
51
|
|
|
|
|
|
|
'latn' => { |
52
|
|
|
|
|
|
|
'group' => q( ), |
53
|
|
|
|
|
|
|
'timeSeparator' => q(.), |
54
|
|
|
|
|
|
|
}, |
55
|
|
|
|
|
|
|
} } |
56
|
|
|
|
|
|
|
); |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
has 'number_formats' => ( |
59
|
|
|
|
|
|
|
is => 'ro', |
60
|
|
|
|
|
|
|
isa => HashRef, |
61
|
|
|
|
|
|
|
init_arg => undef, |
62
|
|
|
|
|
|
|
default => sub { { |
63
|
|
|
|
|
|
|
percentFormat => { |
64
|
|
|
|
|
|
|
'default' => { |
65
|
|
|
|
|
|
|
'standard' => { |
66
|
|
|
|
|
|
|
'default' => '#,##0 %', |
67
|
|
|
|
|
|
|
}, |
68
|
|
|
|
|
|
|
}, |
69
|
|
|
|
|
|
|
}, |
70
|
|
|
|
|
|
|
} }, |
71
|
|
|
|
|
|
|
); |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
has 'day_period_data' => ( |
74
|
|
|
|
|
|
|
is => 'ro', |
75
|
|
|
|
|
|
|
isa => CodeRef, |
76
|
|
|
|
|
|
|
init_arg => undef, |
77
|
|
|
|
|
|
|
default => sub { sub { |
78
|
|
|
|
|
|
|
# Time in hhmm format |
79
|
|
|
|
|
|
|
my ($self, $type, $time, $day_period_type) = @_; |
80
|
|
|
|
|
|
|
$day_period_type //= 'default'; |
81
|
|
|
|
|
|
|
SWITCH: |
82
|
|
|
|
|
|
|
for ($type) { |
83
|
|
|
|
|
|
|
if ($_ eq 'generic') { |
84
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
85
|
|
|
|
|
|
|
return 'midnight' if $time == 0; |
86
|
|
|
|
|
|
|
return 'noon' if $time == 1200; |
87
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
88
|
|
|
|
|
|
|
&& $time < 1800; |
89
|
|
|
|
|
|
|
return 'evening1' if $time >= 1800 |
90
|
|
|
|
|
|
|
&& $time < 2100; |
91
|
|
|
|
|
|
|
return 'morning1' if $time >= 600 |
92
|
|
|
|
|
|
|
&& $time < 1200; |
93
|
|
|
|
|
|
|
return 'night1' if $time >= 2100; |
94
|
|
|
|
|
|
|
return 'night1' if $time < 600; |
95
|
|
|
|
|
|
|
} |
96
|
|
|
|
|
|
|
if($day_period_type eq 'selection') { |
97
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
98
|
|
|
|
|
|
|
&& $time < 1800; |
99
|
|
|
|
|
|
|
return 'evening1' if $time >= 1800 |
100
|
|
|
|
|
|
|
&& $time < 2100; |
101
|
|
|
|
|
|
|
return 'morning1' if $time >= 600 |
102
|
|
|
|
|
|
|
&& $time < 1200; |
103
|
|
|
|
|
|
|
return 'night1' if $time >= 2100; |
104
|
|
|
|
|
|
|
return 'night1' if $time < 600; |
105
|
|
|
|
|
|
|
} |
106
|
|
|
|
|
|
|
last SWITCH; |
107
|
|
|
|
|
|
|
} |
108
|
|
|
|
|
|
|
if ($_ eq 'gregorian') { |
109
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
110
|
|
|
|
|
|
|
return 'midnight' if $time == 0; |
111
|
|
|
|
|
|
|
return 'noon' if $time == 1200; |
112
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
113
|
|
|
|
|
|
|
&& $time < 1800; |
114
|
|
|
|
|
|
|
return 'evening1' if $time >= 1800 |
115
|
|
|
|
|
|
|
&& $time < 2100; |
116
|
|
|
|
|
|
|
return 'morning1' if $time >= 600 |
117
|
|
|
|
|
|
|
&& $time < 1200; |
118
|
|
|
|
|
|
|
return 'night1' if $time >= 2100; |
119
|
|
|
|
|
|
|
return 'night1' if $time < 600; |
120
|
|
|
|
|
|
|
} |
121
|
|
|
|
|
|
|
if($day_period_type eq 'selection') { |
122
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
123
|
|
|
|
|
|
|
&& $time < 1800; |
124
|
|
|
|
|
|
|
return 'evening1' if $time >= 1800 |
125
|
|
|
|
|
|
|
&& $time < 2100; |
126
|
|
|
|
|
|
|
return 'morning1' if $time >= 600 |
127
|
|
|
|
|
|
|
&& $time < 1200; |
128
|
|
|
|
|
|
|
return 'night1' if $time >= 2100; |
129
|
|
|
|
|
|
|
return 'night1' if $time < 600; |
130
|
|
|
|
|
|
|
} |
131
|
|
|
|
|
|
|
last SWITCH; |
132
|
|
|
|
|
|
|
} |
133
|
|
|
|
|
|
|
} |
134
|
|
|
|
|
|
|
} }, |
135
|
|
|
|
|
|
|
); |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
around day_period_data => sub { |
138
|
|
|
|
|
|
|
my ($orig, $self) = @_; |
139
|
|
|
|
|
|
|
return $self->$orig; |
140
|
|
|
|
|
|
|
}; |
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
has 'eras' => ( |
143
|
|
|
|
|
|
|
is => 'ro', |
144
|
|
|
|
|
|
|
isa => HashRef, |
145
|
|
|
|
|
|
|
init_arg => undef, |
146
|
|
|
|
|
|
|
default => sub { { |
147
|
|
|
|
|
|
|
'generic' => { |
148
|
|
|
|
|
|
|
}, |
149
|
|
|
|
|
|
|
'gregorian' => { |
150
|
|
|
|
|
|
|
}, |
151
|
|
|
|
|
|
|
} }, |
152
|
|
|
|
|
|
|
); |
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
has 'date_formats' => ( |
155
|
|
|
|
|
|
|
is => 'ro', |
156
|
|
|
|
|
|
|
isa => HashRef, |
157
|
|
|
|
|
|
|
init_arg => undef, |
158
|
|
|
|
|
|
|
default => sub { { |
159
|
|
|
|
|
|
|
'generic' => { |
160
|
|
|
|
|
|
|
}, |
161
|
|
|
|
|
|
|
'gregorian' => { |
162
|
|
|
|
|
|
|
}, |
163
|
|
|
|
|
|
|
} }, |
164
|
|
|
|
|
|
|
); |
165
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
has 'time_formats' => ( |
167
|
|
|
|
|
|
|
is => 'ro', |
168
|
|
|
|
|
|
|
isa => HashRef, |
169
|
|
|
|
|
|
|
init_arg => undef, |
170
|
|
|
|
|
|
|
default => sub { { |
171
|
|
|
|
|
|
|
'generic' => { |
172
|
|
|
|
|
|
|
}, |
173
|
|
|
|
|
|
|
'gregorian' => { |
174
|
|
|
|
|
|
|
'full' => q{H.mm.ss zzzz}, |
175
|
|
|
|
|
|
|
'long' => q{H.mm.ss z}, |
176
|
|
|
|
|
|
|
'medium' => q{H.mm.ss}, |
177
|
|
|
|
|
|
|
'short' => q{H.mm}, |
178
|
|
|
|
|
|
|
}, |
179
|
|
|
|
|
|
|
} }, |
180
|
|
|
|
|
|
|
); |
181
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
has 'datetime_formats' => ( |
183
|
|
|
|
|
|
|
is => 'ro', |
184
|
|
|
|
|
|
|
isa => HashRef, |
185
|
|
|
|
|
|
|
init_arg => undef, |
186
|
|
|
|
|
|
|
default => sub { { |
187
|
|
|
|
|
|
|
'generic' => { |
188
|
|
|
|
|
|
|
}, |
189
|
|
|
|
|
|
|
'gregorian' => { |
190
|
|
|
|
|
|
|
}, |
191
|
|
|
|
|
|
|
} }, |
192
|
|
|
|
|
|
|
); |
193
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
has 'datetime_formats_available_formats' => ( |
195
|
|
|
|
|
|
|
is => 'ro', |
196
|
|
|
|
|
|
|
isa => HashRef, |
197
|
|
|
|
|
|
|
init_arg => undef, |
198
|
|
|
|
|
|
|
default => sub { { |
199
|
|
|
|
|
|
|
'generic' => { |
200
|
|
|
|
|
|
|
EHm => q{E H.mm}, |
201
|
|
|
|
|
|
|
EHms => q{E H.mm.ss}, |
202
|
|
|
|
|
|
|
Ehm => q{E h.mm a}, |
203
|
|
|
|
|
|
|
Ehms => q{E h.mm.ss a}, |
204
|
|
|
|
|
|
|
Hm => q{H.mm}, |
205
|
|
|
|
|
|
|
Hms => q{H.mm.ss}, |
206
|
|
|
|
|
|
|
Hmsv => q{H.mm.ss v}, |
207
|
|
|
|
|
|
|
Hmv => q{H.mm v}, |
208
|
|
|
|
|
|
|
hm => q{h.mm a}, |
209
|
|
|
|
|
|
|
hms => q{h.mm.ss a}, |
210
|
|
|
|
|
|
|
hmsv => q{h.mm.ss a v}, |
211
|
|
|
|
|
|
|
hmv => q{h.mm a v}, |
212
|
|
|
|
|
|
|
ms => q{mm.ss}, |
213
|
|
|
|
|
|
|
}, |
214
|
|
|
|
|
|
|
'gregorian' => { |
215
|
|
|
|
|
|
|
EHm => q{E H.mm}, |
216
|
|
|
|
|
|
|
EHms => q{E H.mm.ss}, |
217
|
|
|
|
|
|
|
Ehm => q{E h.mm a}, |
218
|
|
|
|
|
|
|
Ehms => q{E h.mm.ss a}, |
219
|
|
|
|
|
|
|
Hm => q{H.mm}, |
220
|
|
|
|
|
|
|
Hms => q{H.mm.ss}, |
221
|
|
|
|
|
|
|
Hmsv => q{H.mm.ss v}, |
222
|
|
|
|
|
|
|
Hmv => q{H.mm v}, |
223
|
|
|
|
|
|
|
hm => q{h.mm a}, |
224
|
|
|
|
|
|
|
hms => q{h.mm.ss a}, |
225
|
|
|
|
|
|
|
hmsv => q{h.mm.ss a v}, |
226
|
|
|
|
|
|
|
hmv => q{h.mm a v}, |
227
|
|
|
|
|
|
|
ms => q{mm.ss}, |
228
|
|
|
|
|
|
|
}, |
229
|
|
|
|
|
|
|
} }, |
230
|
|
|
|
|
|
|
); |
231
|
|
|
|
|
|
|
|
232
|
|
|
|
|
|
|
has 'datetime_formats_append_item' => ( |
233
|
|
|
|
|
|
|
is => 'ro', |
234
|
|
|
|
|
|
|
isa => HashRef, |
235
|
|
|
|
|
|
|
init_arg => undef, |
236
|
|
|
|
|
|
|
default => sub { { |
237
|
|
|
|
|
|
|
} }, |
238
|
|
|
|
|
|
|
); |
239
|
|
|
|
|
|
|
|
240
|
|
|
|
|
|
|
has 'datetime_formats_interval' => ( |
241
|
|
|
|
|
|
|
is => 'ro', |
242
|
|
|
|
|
|
|
isa => HashRef, |
243
|
|
|
|
|
|
|
init_arg => undef, |
244
|
|
|
|
|
|
|
default => sub { { |
245
|
|
|
|
|
|
|
} }, |
246
|
|
|
|
|
|
|
); |
247
|
|
|
|
|
|
|
|
248
|
1
|
|
|
1
|
|
1093
|
no Moo; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
4
|
|
249
|
|
|
|
|
|
|
|
250
|
|
|
|
|
|
|
1; |
251
|
|
|
|
|
|
|
|
252
|
|
|
|
|
|
|
# vim: tabstop=4 |