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