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