line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
=encoding utf8 |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=head1 |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
Locale::CLDR::Locales::En::Any::Zw - Package for language English |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=cut |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
package Locale::CLDR::Locales::En::Any::Zw; |
10
|
|
|
|
|
|
|
# This file auto generated from Data\common\main\en_ZW.xml |
11
|
|
|
|
|
|
|
# on Sun 16 Dec 4:13:26 pm GMT |
12
|
|
|
|
|
|
|
|
13
|
1
|
|
|
1
|
|
1076
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
27
|
|
14
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
21
|
|
15
|
1
|
|
|
1
|
|
5
|
use version; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
4
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
our $VERSION = version->declare('v0.34.0'); |
18
|
|
|
|
|
|
|
|
19
|
1
|
|
|
1
|
|
101
|
use v5.10.1; |
|
1
|
|
|
|
|
3
|
|
20
|
1
|
|
|
1
|
|
5
|
use mro 'c3'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
21
|
1
|
|
|
1
|
|
30
|
use utf8; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
22
|
1
|
|
|
1
|
|
29
|
use if $^V ge v5.12.0, feature => 'unicode_strings'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
11
|
|
23
|
1
|
|
|
1
|
|
98
|
use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef ); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
24
|
1
|
|
|
1
|
|
894
|
use Moo; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
extends('Locale::CLDR::Locales::En::Any::001'); |
27
|
|
|
|
|
|
|
has 'day_period_data' => ( |
28
|
|
|
|
|
|
|
is => 'ro', |
29
|
|
|
|
|
|
|
isa => CodeRef, |
30
|
|
|
|
|
|
|
init_arg => undef, |
31
|
|
|
|
|
|
|
default => sub { sub { |
32
|
|
|
|
|
|
|
# Time in hhmm format |
33
|
|
|
|
|
|
|
my ($self, $type, $time, $day_period_type) = @_; |
34
|
|
|
|
|
|
|
$day_period_type //= 'default'; |
35
|
|
|
|
|
|
|
SWITCH: |
36
|
|
|
|
|
|
|
for ($type) { |
37
|
|
|
|
|
|
|
if ($_ eq 'gregorian') { |
38
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
39
|
|
|
|
|
|
|
return 'noon' if $time == 1200; |
40
|
|
|
|
|
|
|
return 'midnight' if $time == 0; |
41
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
42
|
|
|
|
|
|
|
&& $time < 1800; |
43
|
|
|
|
|
|
|
return 'morning1' if $time >= 600 |
44
|
|
|
|
|
|
|
&& $time < 1200; |
45
|
|
|
|
|
|
|
return 'evening1' if $time >= 1800 |
46
|
|
|
|
|
|
|
&& $time < 2100; |
47
|
|
|
|
|
|
|
return 'night1' if $time >= 2100; |
48
|
|
|
|
|
|
|
return 'night1' if $time < 600; |
49
|
|
|
|
|
|
|
} |
50
|
|
|
|
|
|
|
if($day_period_type eq 'selection') { |
51
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
52
|
|
|
|
|
|
|
&& $time < 1800; |
53
|
|
|
|
|
|
|
return 'morning1' if $time >= 600 |
54
|
|
|
|
|
|
|
&& $time < 1200; |
55
|
|
|
|
|
|
|
return 'night1' if $time >= 2100; |
56
|
|
|
|
|
|
|
return 'night1' if $time < 600; |
57
|
|
|
|
|
|
|
return 'evening1' if $time >= 1800 |
58
|
|
|
|
|
|
|
&& $time < 2100; |
59
|
|
|
|
|
|
|
} |
60
|
|
|
|
|
|
|
last SWITCH; |
61
|
|
|
|
|
|
|
} |
62
|
|
|
|
|
|
|
if ($_ eq 'generic') { |
63
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
64
|
|
|
|
|
|
|
return 'noon' if $time == 1200; |
65
|
|
|
|
|
|
|
return 'midnight' if $time == 0; |
66
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
67
|
|
|
|
|
|
|
&& $time < 1800; |
68
|
|
|
|
|
|
|
return 'morning1' if $time >= 600 |
69
|
|
|
|
|
|
|
&& $time < 1200; |
70
|
|
|
|
|
|
|
return 'evening1' if $time >= 1800 |
71
|
|
|
|
|
|
|
&& $time < 2100; |
72
|
|
|
|
|
|
|
return 'night1' if $time >= 2100; |
73
|
|
|
|
|
|
|
return 'night1' if $time < 600; |
74
|
|
|
|
|
|
|
} |
75
|
|
|
|
|
|
|
if($day_period_type eq 'selection') { |
76
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
77
|
|
|
|
|
|
|
&& $time < 1800; |
78
|
|
|
|
|
|
|
return 'morning1' if $time >= 600 |
79
|
|
|
|
|
|
|
&& $time < 1200; |
80
|
|
|
|
|
|
|
return 'night1' if $time >= 2100; |
81
|
|
|
|
|
|
|
return 'night1' if $time < 600; |
82
|
|
|
|
|
|
|
return 'evening1' if $time >= 1800 |
83
|
|
|
|
|
|
|
&& $time < 2100; |
84
|
|
|
|
|
|
|
} |
85
|
|
|
|
|
|
|
last SWITCH; |
86
|
|
|
|
|
|
|
} |
87
|
|
|
|
|
|
|
} |
88
|
|
|
|
|
|
|
} }, |
89
|
|
|
|
|
|
|
); |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
around day_period_data => sub { |
92
|
|
|
|
|
|
|
my ($orig, $self) = @_; |
93
|
|
|
|
|
|
|
return $self->$orig; |
94
|
|
|
|
|
|
|
}; |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
has 'eras' => ( |
97
|
|
|
|
|
|
|
is => 'ro', |
98
|
|
|
|
|
|
|
isa => HashRef, |
99
|
|
|
|
|
|
|
init_arg => undef, |
100
|
|
|
|
|
|
|
default => sub { { |
101
|
|
|
|
|
|
|
'generic' => { |
102
|
|
|
|
|
|
|
}, |
103
|
|
|
|
|
|
|
'gregorian' => { |
104
|
|
|
|
|
|
|
}, |
105
|
|
|
|
|
|
|
} }, |
106
|
|
|
|
|
|
|
); |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
has 'date_formats' => ( |
109
|
|
|
|
|
|
|
is => 'ro', |
110
|
|
|
|
|
|
|
isa => HashRef, |
111
|
|
|
|
|
|
|
init_arg => undef, |
112
|
|
|
|
|
|
|
default => sub { { |
113
|
|
|
|
|
|
|
'generic' => { |
114
|
|
|
|
|
|
|
'full' => q{EEEE, dd MMMM y G}, |
115
|
|
|
|
|
|
|
'long' => q{dd MMMM y G}, |
116
|
|
|
|
|
|
|
'medium' => q{dd MMM,y G}, |
117
|
|
|
|
|
|
|
'short' => q{d/M/y GGGGG}, |
118
|
|
|
|
|
|
|
}, |
119
|
|
|
|
|
|
|
'gregorian' => { |
120
|
|
|
|
|
|
|
'full' => q{EEEE, dd MMMM y}, |
121
|
|
|
|
|
|
|
'long' => q{dd MMMM y}, |
122
|
|
|
|
|
|
|
'medium' => q{dd MMM,y}, |
123
|
|
|
|
|
|
|
'short' => q{d/M/y}, |
124
|
|
|
|
|
|
|
}, |
125
|
|
|
|
|
|
|
} }, |
126
|
|
|
|
|
|
|
); |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
has 'time_formats' => ( |
129
|
|
|
|
|
|
|
is => 'ro', |
130
|
|
|
|
|
|
|
isa => HashRef, |
131
|
|
|
|
|
|
|
init_arg => undef, |
132
|
|
|
|
|
|
|
default => sub { { |
133
|
|
|
|
|
|
|
'generic' => { |
134
|
|
|
|
|
|
|
}, |
135
|
|
|
|
|
|
|
'gregorian' => { |
136
|
|
|
|
|
|
|
'full' => q{HH:mm:ss zzzz}, |
137
|
|
|
|
|
|
|
'long' => q{HH:mm:ss z}, |
138
|
|
|
|
|
|
|
'medium' => q{HH:mm:ss}, |
139
|
|
|
|
|
|
|
'short' => q{HH:mm}, |
140
|
|
|
|
|
|
|
}, |
141
|
|
|
|
|
|
|
} }, |
142
|
|
|
|
|
|
|
); |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
has 'datetime_formats' => ( |
145
|
|
|
|
|
|
|
is => 'ro', |
146
|
|
|
|
|
|
|
isa => HashRef, |
147
|
|
|
|
|
|
|
init_arg => undef, |
148
|
|
|
|
|
|
|
default => sub { { |
149
|
|
|
|
|
|
|
'generic' => { |
150
|
|
|
|
|
|
|
}, |
151
|
|
|
|
|
|
|
'gregorian' => { |
152
|
|
|
|
|
|
|
}, |
153
|
|
|
|
|
|
|
} }, |
154
|
|
|
|
|
|
|
); |
155
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
has 'datetime_formats_available_formats' => ( |
157
|
|
|
|
|
|
|
is => 'ro', |
158
|
|
|
|
|
|
|
isa => HashRef, |
159
|
|
|
|
|
|
|
init_arg => undef, |
160
|
|
|
|
|
|
|
default => sub { { |
161
|
|
|
|
|
|
|
'gregorian' => { |
162
|
|
|
|
|
|
|
MEd => q{E, d/M}, |
163
|
|
|
|
|
|
|
MMMEd => q{E, dd MMM}, |
164
|
|
|
|
|
|
|
MMMd => q{dd MMM}, |
165
|
|
|
|
|
|
|
Md => q{d/M}, |
166
|
|
|
|
|
|
|
yMEd => q{E, d/M/y}, |
167
|
|
|
|
|
|
|
yMMMEd => q{E, dd MMM, y}, |
168
|
|
|
|
|
|
|
yMMMd => q{dd MMM, y}, |
169
|
|
|
|
|
|
|
yMd => q{d/M/y}, |
170
|
|
|
|
|
|
|
}, |
171
|
|
|
|
|
|
|
'generic' => { |
172
|
|
|
|
|
|
|
MMMEd => q{E, dd MMM}, |
173
|
|
|
|
|
|
|
MMMd => q{dd MMM}, |
174
|
|
|
|
|
|
|
Md => q{d/M}, |
175
|
|
|
|
|
|
|
yyyyMEd => q{E, d/M/y G}, |
176
|
|
|
|
|
|
|
yyyyMMMEd => q{E, dd MMM, y G}, |
177
|
|
|
|
|
|
|
yyyyMMMd => q{dd MMM, y G}, |
178
|
|
|
|
|
|
|
yyyyMd => q{d/M/y G}, |
179
|
|
|
|
|
|
|
}, |
180
|
|
|
|
|
|
|
} }, |
181
|
|
|
|
|
|
|
); |
182
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
has 'datetime_formats_append_item' => ( |
184
|
|
|
|
|
|
|
is => 'ro', |
185
|
|
|
|
|
|
|
isa => HashRef, |
186
|
|
|
|
|
|
|
init_arg => undef, |
187
|
|
|
|
|
|
|
default => sub { { |
188
|
|
|
|
|
|
|
} }, |
189
|
|
|
|
|
|
|
); |
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
has 'datetime_formats_interval' => ( |
192
|
|
|
|
|
|
|
is => 'ro', |
193
|
|
|
|
|
|
|
isa => HashRef, |
194
|
|
|
|
|
|
|
init_arg => undef, |
195
|
|
|
|
|
|
|
default => sub { { |
196
|
|
|
|
|
|
|
'gregorian' => { |
197
|
|
|
|
|
|
|
MEd => { |
198
|
|
|
|
|
|
|
M => q{E d/M â E d/M}, |
199
|
|
|
|
|
|
|
d => q{E d/M â E d/M}, |
200
|
|
|
|
|
|
|
}, |
201
|
|
|
|
|
|
|
MMMEd => { |
202
|
|
|
|
|
|
|
M => q{E dd MMM â E dd MMM}, |
203
|
|
|
|
|
|
|
d => q{E dd â E dd MMM}, |
204
|
|
|
|
|
|
|
}, |
205
|
|
|
|
|
|
|
MMMd => { |
206
|
|
|
|
|
|
|
M => q{dd MMM â dd MMM}, |
207
|
|
|
|
|
|
|
d => q{dd â dd MMM}, |
208
|
|
|
|
|
|
|
}, |
209
|
|
|
|
|
|
|
Md => { |
210
|
|
|
|
|
|
|
M => q{d/M â d/M}, |
211
|
|
|
|
|
|
|
d => q{d/M â d/M}, |
212
|
|
|
|
|
|
|
}, |
213
|
|
|
|
|
|
|
yM => { |
214
|
|
|
|
|
|
|
M => q{M/y â M/y}, |
215
|
|
|
|
|
|
|
y => q{M/y â M/y}, |
216
|
|
|
|
|
|
|
}, |
217
|
|
|
|
|
|
|
yMEd => { |
218
|
|
|
|
|
|
|
M => q{E d/M/y â E d/M/y}, |
219
|
|
|
|
|
|
|
d => q{E d/M/y â E d/M/y}, |
220
|
|
|
|
|
|
|
y => q{E d/M/y â E d/M/y}, |
221
|
|
|
|
|
|
|
}, |
222
|
|
|
|
|
|
|
yMMMEd => { |
223
|
|
|
|
|
|
|
M => q{E, dd MMM â E, dd MMM y}, |
224
|
|
|
|
|
|
|
d => q{E, dd â E, dd MMM y}, |
225
|
|
|
|
|
|
|
y => q{E, dd MMM y â E, dd MMM y}, |
226
|
|
|
|
|
|
|
}, |
227
|
|
|
|
|
|
|
yMMMd => { |
228
|
|
|
|
|
|
|
M => q{dd MMM â dd MMM y}, |
229
|
|
|
|
|
|
|
d => q{dd â dd MMM y}, |
230
|
|
|
|
|
|
|
y => q{dd MMM y â dd MMM y}, |
231
|
|
|
|
|
|
|
}, |
232
|
|
|
|
|
|
|
yMd => { |
233
|
|
|
|
|
|
|
M => q{d/M/y â d/M/y}, |
234
|
|
|
|
|
|
|
d => q{d/M/y â d/M/y}, |
235
|
|
|
|
|
|
|
y => q{d/M/y â d/M/y}, |
236
|
|
|
|
|
|
|
}, |
237
|
|
|
|
|
|
|
}, |
238
|
|
|
|
|
|
|
'generic' => { |
239
|
|
|
|
|
|
|
MEd => { |
240
|
|
|
|
|
|
|
M => q{E d/M â E d/M}, |
241
|
|
|
|
|
|
|
d => q{E d/M â E d/M}, |
242
|
|
|
|
|
|
|
}, |
243
|
|
|
|
|
|
|
MMMEd => { |
244
|
|
|
|
|
|
|
M => q{E dd MMM â E dd MMM}, |
245
|
|
|
|
|
|
|
d => q{E dd â E dd MMM}, |
246
|
|
|
|
|
|
|
}, |
247
|
|
|
|
|
|
|
MMMd => { |
248
|
|
|
|
|
|
|
M => q{dd MMM â dd MMM}, |
249
|
|
|
|
|
|
|
d => q{dd â dd MMM}, |
250
|
|
|
|
|
|
|
}, |
251
|
|
|
|
|
|
|
Md => { |
252
|
|
|
|
|
|
|
M => q{d/M â d/M}, |
253
|
|
|
|
|
|
|
d => q{d/M â d/M}, |
254
|
|
|
|
|
|
|
}, |
255
|
|
|
|
|
|
|
yM => { |
256
|
|
|
|
|
|
|
M => q{M/y â M/y G}, |
257
|
|
|
|
|
|
|
y => q{M/y â M/y G}, |
258
|
|
|
|
|
|
|
}, |
259
|
|
|
|
|
|
|
yMEd => { |
260
|
|
|
|
|
|
|
M => q{E d/M/y â E d/M/y G}, |
261
|
|
|
|
|
|
|
d => q{E d/M/y â E d/M/y G}, |
262
|
|
|
|
|
|
|
y => q{E d/M/y â E d/M/y G}, |
263
|
|
|
|
|
|
|
}, |
264
|
|
|
|
|
|
|
yMMMEd => { |
265
|
|
|
|
|
|
|
M => q{E, dd MMM â E, dd MMM y G}, |
266
|
|
|
|
|
|
|
d => q{E, dd â E, dd MMM y G}, |
267
|
|
|
|
|
|
|
y => q{E, dd MMM y â E, dd MMM y G}, |
268
|
|
|
|
|
|
|
}, |
269
|
|
|
|
|
|
|
yMMMd => { |
270
|
|
|
|
|
|
|
M => q{dd MMM â dd MMM y G}, |
271
|
|
|
|
|
|
|
d => q{dd â dd MMM y G}, |
272
|
|
|
|
|
|
|
y => q{dd MMM y â dd MMM y G}, |
273
|
|
|
|
|
|
|
}, |
274
|
|
|
|
|
|
|
yMd => { |
275
|
|
|
|
|
|
|
M => q{d/M/y â d/M/y G}, |
276
|
|
|
|
|
|
|
d => q{d/M/y â d/M/y G}, |
277
|
|
|
|
|
|
|
y => q{d/M/y â d/M/y G}, |
278
|
|
|
|
|
|
|
}, |
279
|
|
|
|
|
|
|
}, |
280
|
|
|
|
|
|
|
} }, |
281
|
|
|
|
|
|
|
); |
282
|
|
|
|
|
|
|
|
283
|
|
|
|
|
|
|
has 'time_zone_names' => ( |
284
|
|
|
|
|
|
|
is => 'ro', |
285
|
|
|
|
|
|
|
isa => HashRef, |
286
|
|
|
|
|
|
|
init_arg => undef, |
287
|
|
|
|
|
|
|
default => sub { { |
288
|
|
|
|
|
|
|
'Africa_Central' => { |
289
|
|
|
|
|
|
|
short => { |
290
|
|
|
|
|
|
|
'standard' => q#CAT#, |
291
|
|
|
|
|
|
|
}, |
292
|
|
|
|
|
|
|
}, |
293
|
|
|
|
|
|
|
'Africa_Eastern' => { |
294
|
|
|
|
|
|
|
short => { |
295
|
|
|
|
|
|
|
'standard' => q#EAT#, |
296
|
|
|
|
|
|
|
}, |
297
|
|
|
|
|
|
|
}, |
298
|
|
|
|
|
|
|
'Africa_Southern' => { |
299
|
|
|
|
|
|
|
short => { |
300
|
|
|
|
|
|
|
'standard' => q#SAST#, |
301
|
|
|
|
|
|
|
}, |
302
|
|
|
|
|
|
|
}, |
303
|
|
|
|
|
|
|
'Africa_Western' => { |
304
|
|
|
|
|
|
|
short => { |
305
|
|
|
|
|
|
|
'daylight' => q#WAST#, |
306
|
|
|
|
|
|
|
'generic' => q#WAT#, |
307
|
|
|
|
|
|
|
'standard' => q#WAT#, |
308
|
|
|
|
|
|
|
}, |
309
|
|
|
|
|
|
|
}, |
310
|
|
|
|
|
|
|
} } |
311
|
|
|
|
|
|
|
); |
312
|
1
|
|
|
1
|
|
1202
|
no Moo; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
4
|
|
313
|
|
|
|
|
|
|
|
314
|
|
|
|
|
|
|
1; |
315
|
|
|
|
|
|
|
|
316
|
|
|
|
|
|
|
# vim: tabstop=4 |