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