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