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