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