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