line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
=encoding utf8 |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=head1 |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
Locale::CLDR::Locales::En::Any::Bz - Package for language English |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=cut |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
# This file auto generated from Data/common/main/en_BZ.xml |
10
|
|
|
|
|
|
|
# on Mon 11 Apr 5:27:01 pm GMT |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
use strict; |
13
|
1
|
|
|
1
|
|
804
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
24
|
|
14
|
1
|
|
|
1
|
|
4
|
use version; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
17
|
|
15
|
1
|
|
|
1
|
|
5
|
|
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
4
|
|
16
|
|
|
|
|
|
|
our $VERSION = version->declare('v0.34.1'); |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
use v5.10.1; |
19
|
1
|
|
|
1
|
|
75
|
use mro 'c3'; |
|
1
|
|
|
|
|
2
|
|
20
|
1
|
|
|
1
|
|
4
|
use utf8; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
4
|
|
21
|
1
|
|
|
1
|
|
36
|
use if $^V ge v5.12.0, feature => 'unicode_strings'; |
|
1
|
|
|
|
|
29
|
|
|
1
|
|
|
|
|
7
|
|
22
|
1
|
|
|
1
|
|
32
|
use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef ); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
8
|
|
23
|
1
|
|
|
1
|
|
94
|
use Moo; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
10
|
|
24
|
1
|
|
|
1
|
|
745
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
3
|
|
25
|
|
|
|
|
|
|
extends('Locale::CLDR::Locales::En::Any::001'); |
26
|
|
|
|
|
|
|
has 'units' => ( |
27
|
|
|
|
|
|
|
is => 'ro', |
28
|
|
|
|
|
|
|
isa => HashRef[HashRef[HashRef[Str]]], |
29
|
|
|
|
|
|
|
init_arg => undef, |
30
|
|
|
|
|
|
|
default => sub { { |
31
|
|
|
|
|
|
|
'narrow' => { |
32
|
|
|
|
|
|
|
'celsius' => { |
33
|
|
|
|
|
|
|
'one' => q({0}°C), |
34
|
|
|
|
|
|
|
'other' => q({0}°C), |
35
|
|
|
|
|
|
|
}, |
36
|
|
|
|
|
|
|
'fahrenheit' => { |
37
|
|
|
|
|
|
|
'one' => q({0}°), |
38
|
|
|
|
|
|
|
'other' => q({0}°), |
39
|
|
|
|
|
|
|
}, |
40
|
|
|
|
|
|
|
}, |
41
|
|
|
|
|
|
|
} } |
42
|
|
|
|
|
|
|
); |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
has 'currencies' => ( |
45
|
|
|
|
|
|
|
is => 'ro', |
46
|
|
|
|
|
|
|
isa => HashRef, |
47
|
|
|
|
|
|
|
init_arg => undef, |
48
|
|
|
|
|
|
|
default => sub { { |
49
|
|
|
|
|
|
|
'BZD' => { |
50
|
|
|
|
|
|
|
symbol => '$', |
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 'generic') { |
67
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
68
|
|
|
|
|
|
|
return 'midnight' if $time == 0; |
69
|
|
|
|
|
|
|
return 'noon' if $time == 1200; |
70
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
71
|
|
|
|
|
|
|
&& $time < 1800; |
72
|
|
|
|
|
|
|
return 'evening1' if $time >= 1800 |
73
|
|
|
|
|
|
|
&& $time < 2100; |
74
|
|
|
|
|
|
|
return 'morning1' if $time >= 600 |
75
|
|
|
|
|
|
|
&& $time < 1200; |
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 'evening1' if $time >= 1800 |
83
|
|
|
|
|
|
|
&& $time < 2100; |
84
|
|
|
|
|
|
|
return 'morning1' if $time >= 600 |
85
|
|
|
|
|
|
|
&& $time < 1200; |
86
|
|
|
|
|
|
|
return 'night1' if $time >= 2100; |
87
|
|
|
|
|
|
|
return 'night1' if $time < 600; |
88
|
|
|
|
|
|
|
} |
89
|
|
|
|
|
|
|
last SWITCH; |
90
|
|
|
|
|
|
|
} |
91
|
|
|
|
|
|
|
if ($_ eq 'gregorian') { |
92
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
93
|
|
|
|
|
|
|
return 'midnight' if $time == 0; |
94
|
|
|
|
|
|
|
return 'noon' if $time == 1200; |
95
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
96
|
|
|
|
|
|
|
&& $time < 1800; |
97
|
|
|
|
|
|
|
return 'evening1' if $time >= 1800 |
98
|
|
|
|
|
|
|
&& $time < 2100; |
99
|
|
|
|
|
|
|
return 'morning1' if $time >= 600 |
100
|
|
|
|
|
|
|
&& $time < 1200; |
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 'evening1' if $time >= 1800 |
108
|
|
|
|
|
|
|
&& $time < 2100; |
109
|
|
|
|
|
|
|
return 'morning1' if $time >= 600 |
110
|
|
|
|
|
|
|
&& $time < 1200; |
111
|
|
|
|
|
|
|
return 'night1' if $time >= 2100; |
112
|
|
|
|
|
|
|
return 'night1' if $time < 600; |
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
|
|
|
|
|
|
|
'full' => q{EEEE, dd MMMM y G}, |
144
|
|
|
|
|
|
|
'long' => q{dd MMMM y G}, |
145
|
|
|
|
|
|
|
'medium' => q{dd-MMM-y G}, |
146
|
|
|
|
|
|
|
}, |
147
|
|
|
|
|
|
|
'gregorian' => { |
148
|
|
|
|
|
|
|
'full' => q{EEEE, dd MMMM y}, |
149
|
|
|
|
|
|
|
'long' => q{dd MMMM y}, |
150
|
|
|
|
|
|
|
'medium' => q{dd-MMM-y}, |
151
|
|
|
|
|
|
|
'short' => q{dd/MM/yy}, |
152
|
|
|
|
|
|
|
}, |
153
|
|
|
|
|
|
|
} }, |
154
|
|
|
|
|
|
|
); |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
has 'time_formats' => ( |
157
|
|
|
|
|
|
|
is => 'ro', |
158
|
|
|
|
|
|
|
isa => HashRef, |
159
|
|
|
|
|
|
|
init_arg => undef, |
160
|
|
|
|
|
|
|
default => sub { { |
161
|
|
|
|
|
|
|
'generic' => { |
162
|
|
|
|
|
|
|
}, |
163
|
|
|
|
|
|
|
'gregorian' => { |
164
|
|
|
|
|
|
|
'full' => q{HH:mm:ss zzzz}, |
165
|
|
|
|
|
|
|
'long' => q{HH:mm:ss z}, |
166
|
|
|
|
|
|
|
'medium' => q{HH:mm:ss}, |
167
|
|
|
|
|
|
|
'short' => q{HH:mm}, |
168
|
|
|
|
|
|
|
}, |
169
|
|
|
|
|
|
|
} }, |
170
|
|
|
|
|
|
|
); |
171
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
has 'datetime_formats' => ( |
173
|
|
|
|
|
|
|
is => 'ro', |
174
|
|
|
|
|
|
|
isa => HashRef, |
175
|
|
|
|
|
|
|
init_arg => undef, |
176
|
|
|
|
|
|
|
default => sub { { |
177
|
|
|
|
|
|
|
'generic' => { |
178
|
|
|
|
|
|
|
}, |
179
|
|
|
|
|
|
|
'gregorian' => { |
180
|
|
|
|
|
|
|
}, |
181
|
|
|
|
|
|
|
} }, |
182
|
|
|
|
|
|
|
); |
183
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
has 'datetime_formats_available_formats' => ( |
185
|
|
|
|
|
|
|
is => 'ro', |
186
|
|
|
|
|
|
|
isa => HashRef, |
187
|
|
|
|
|
|
|
init_arg => undef, |
188
|
|
|
|
|
|
|
default => sub { { |
189
|
|
|
|
|
|
|
'generic' => { |
190
|
|
|
|
|
|
|
MMMEd => q{E, dd MMM}, |
191
|
|
|
|
|
|
|
MMMd => q{dd MMM}, |
192
|
|
|
|
|
|
|
yyyyM => q{MM/y G}, |
193
|
|
|
|
|
|
|
yyyyMEd => q{E, dd/MM/y G}, |
194
|
|
|
|
|
|
|
yyyyMMMEd => q{E, dd MMM y G}, |
195
|
|
|
|
|
|
|
yyyyMMMd => q{dd MMM y G}, |
196
|
|
|
|
|
|
|
yyyyMd => q{dd/MM/y G}, |
197
|
|
|
|
|
|
|
}, |
198
|
|
|
|
|
|
|
'gregorian' => { |
199
|
|
|
|
|
|
|
MMMEd => q{E, dd MMM}, |
200
|
|
|
|
|
|
|
MMMd => q{dd MMM}, |
201
|
|
|
|
|
|
|
yMMMEd => q{E, dd MMM y}, |
202
|
|
|
|
|
|
|
yMMMd => q{dd MMM y}, |
203
|
|
|
|
|
|
|
}, |
204
|
|
|
|
|
|
|
} }, |
205
|
|
|
|
|
|
|
); |
206
|
|
|
|
|
|
|
|
207
|
|
|
|
|
|
|
has 'datetime_formats_append_item' => ( |
208
|
|
|
|
|
|
|
is => 'ro', |
209
|
|
|
|
|
|
|
isa => HashRef, |
210
|
|
|
|
|
|
|
init_arg => undef, |
211
|
|
|
|
|
|
|
default => sub { { |
212
|
|
|
|
|
|
|
} }, |
213
|
|
|
|
|
|
|
); |
214
|
|
|
|
|
|
|
|
215
|
|
|
|
|
|
|
has 'datetime_formats_interval' => ( |
216
|
|
|
|
|
|
|
is => 'ro', |
217
|
|
|
|
|
|
|
isa => HashRef, |
218
|
|
|
|
|
|
|
init_arg => undef, |
219
|
|
|
|
|
|
|
default => sub { { |
220
|
|
|
|
|
|
|
'generic' => { |
221
|
|
|
|
|
|
|
MEd => { |
222
|
|
|
|
|
|
|
M => q{E, M/d – E, M/d}, |
223
|
|
|
|
|
|
|
d => q{E, M/d – E, M/d}, |
224
|
|
|
|
|
|
|
}, |
225
|
|
|
|
|
|
|
MMMEd => { |
226
|
|
|
|
|
|
|
M => q{E, MMM d – E, MMM d}, |
227
|
|
|
|
|
|
|
d => q{E, MMM d – E, MMM d}, |
228
|
|
|
|
|
|
|
}, |
229
|
|
|
|
|
|
|
MMMd => { |
230
|
|
|
|
|
|
|
M => q{MMM d – MMM d}, |
231
|
|
|
|
|
|
|
d => q{MMM d – d}, |
232
|
|
|
|
|
|
|
}, |
233
|
|
|
|
|
|
|
Md => { |
234
|
|
|
|
|
|
|
M => q{M/d – M/d}, |
235
|
|
|
|
|
|
|
d => q{M/d – M/d}, |
236
|
|
|
|
|
|
|
}, |
237
|
|
|
|
|
|
|
yM => { |
238
|
|
|
|
|
|
|
M => q{M/y – M/y G}, |
239
|
|
|
|
|
|
|
y => q{M/y – M/y G}, |
240
|
|
|
|
|
|
|
}, |
241
|
|
|
|
|
|
|
yMEd => { |
242
|
|
|
|
|
|
|
M => q{E, M/d/y – E, M/d/y G}, |
243
|
|
|
|
|
|
|
d => q{E, M/d/y – E, M/d/y G}, |
244
|
|
|
|
|
|
|
y => q{E, M/d/y – E, M/d/y G}, |
245
|
|
|
|
|
|
|
}, |
246
|
|
|
|
|
|
|
yMMMEd => { |
247
|
|
|
|
|
|
|
M => q{E, MMM d – E, MMM d, y G}, |
248
|
|
|
|
|
|
|
d => q{E, MMM d – E, MMM d, y G}, |
249
|
|
|
|
|
|
|
y => q{E, MMM d, y – E, MMM d, y G}, |
250
|
|
|
|
|
|
|
}, |
251
|
|
|
|
|
|
|
yMMMd => { |
252
|
|
|
|
|
|
|
M => q{MMM d – MMM d, y G}, |
253
|
|
|
|
|
|
|
d => q{MMM d – d, y G}, |
254
|
|
|
|
|
|
|
y => q{MMM d, y – MMM d, y G}, |
255
|
|
|
|
|
|
|
}, |
256
|
|
|
|
|
|
|
yMd => { |
257
|
|
|
|
|
|
|
M => q{M/d/y – M/d/y G}, |
258
|
|
|
|
|
|
|
d => q{M/d/y – M/d/y G}, |
259
|
|
|
|
|
|
|
y => q{M/d/y – M/d/y G}, |
260
|
|
|
|
|
|
|
}, |
261
|
|
|
|
|
|
|
}, |
262
|
|
|
|
|
|
|
'gregorian' => { |
263
|
|
|
|
|
|
|
MEd => { |
264
|
|
|
|
|
|
|
M => q{E, M/d – E, M/d}, |
265
|
|
|
|
|
|
|
d => q{E, M/d – E, M/d}, |
266
|
|
|
|
|
|
|
}, |
267
|
|
|
|
|
|
|
MMMEd => { |
268
|
|
|
|
|
|
|
M => q{E, MMM d – E, MMM d}, |
269
|
|
|
|
|
|
|
d => q{E, MMM d – E, MMM d}, |
270
|
|
|
|
|
|
|
}, |
271
|
|
|
|
|
|
|
MMMd => { |
272
|
|
|
|
|
|
|
M => q{MMM d – MMM d}, |
273
|
|
|
|
|
|
|
d => q{MMM d – d}, |
274
|
|
|
|
|
|
|
}, |
275
|
|
|
|
|
|
|
Md => { |
276
|
|
|
|
|
|
|
M => q{M/d – M/d}, |
277
|
|
|
|
|
|
|
d => q{M/d – M/d}, |
278
|
|
|
|
|
|
|
}, |
279
|
|
|
|
|
|
|
yM => { |
280
|
|
|
|
|
|
|
M => q{M/y – M/y}, |
281
|
|
|
|
|
|
|
y => q{M/y – M/y}, |
282
|
|
|
|
|
|
|
}, |
283
|
|
|
|
|
|
|
yMEd => { |
284
|
|
|
|
|
|
|
M => q{E, M/d/y – E, M/d/y}, |
285
|
|
|
|
|
|
|
d => q{E, M/d/y – E, M/d/y}, |
286
|
|
|
|
|
|
|
y => q{E, M/d/y – E, M/d/y}, |
287
|
|
|
|
|
|
|
}, |
288
|
|
|
|
|
|
|
yMMMEd => { |
289
|
|
|
|
|
|
|
M => q{E, MMM d – E, MMM d, y}, |
290
|
|
|
|
|
|
|
d => q{E, MMM d – E, MMM d, y}, |
291
|
|
|
|
|
|
|
y => q{E, MMM d, y – E, MMM d, y}, |
292
|
|
|
|
|
|
|
}, |
293
|
|
|
|
|
|
|
yMMMd => { |
294
|
|
|
|
|
|
|
M => q{MMM d – MMM d, y}, |
295
|
|
|
|
|
|
|
d => q{MMM d – d, y}, |
296
|
|
|
|
|
|
|
y => q{MMM d, y – MMM d, y}, |
297
|
|
|
|
|
|
|
}, |
298
|
|
|
|
|
|
|
yMd => { |
299
|
|
|
|
|
|
|
M => q{M/d/y – M/d/y}, |
300
|
|
|
|
|
|
|
d => q{M/d/y – M/d/y}, |
301
|
|
|
|
|
|
|
y => q{M/d/y – M/d/y}, |
302
|
|
|
|
|
|
|
}, |
303
|
|
|
|
|
|
|
}, |
304
|
|
|
|
|
|
|
} }, |
305
|
|
|
|
|
|
|
); |
306
|
|
|
|
|
|
|
|
307
|
|
|
|
|
|
|
no Moo; |
308
|
1
|
|
|
1
|
|
1091
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
3
|
|
309
|
|
|
|
|
|
|
1; |
310
|
|
|
|
|
|
|
|
311
|
|
|
|
|
|
|
# vim: tabstop=4 |