line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
=encoding utf8 |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=head1 |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
Locale::CLDR::Locales::En::Any::Jm - Package for language English |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=cut |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
package Locale::CLDR::Locales::En::Any::Jm; |
10
|
|
|
|
|
|
|
# This file auto generated from Data\common\main\en_JM.xml |
11
|
|
|
|
|
|
|
# on Sun 16 Dec 4:13:15 pm GMT |
12
|
|
|
|
|
|
|
|
13
|
1
|
|
|
1
|
|
1066
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
26
|
|
14
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
21
|
|
15
|
1
|
|
|
1
|
|
4
|
use version; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
6
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
our $VERSION = version->declare('v0.34.0'); |
18
|
|
|
|
|
|
|
|
19
|
1
|
|
|
1
|
|
98
|
use v5.10.1; |
|
1
|
|
|
|
|
5
|
|
20
|
1
|
|
|
1
|
|
5
|
use mro 'c3'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
21
|
1
|
|
|
1
|
|
31
|
use utf8; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
6
|
|
22
|
1
|
|
|
1
|
|
28
|
use if $^V ge v5.12.0, feature => 'unicode_strings'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
19
|
|
23
|
1
|
|
|
1
|
|
99
|
use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef ); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
6
|
|
24
|
1
|
|
|
1
|
|
885
|
use Moo; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
14
|
|
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
|
|
|
|
|
|
|
'JMD' => { |
33
|
|
|
|
|
|
|
symbol => '$', |
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 'gregorian') { |
50
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
51
|
|
|
|
|
|
|
return 'noon' if $time == 1200; |
52
|
|
|
|
|
|
|
return 'midnight' if $time == 0; |
53
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
54
|
|
|
|
|
|
|
&& $time < 1800; |
55
|
|
|
|
|
|
|
return 'morning1' if $time >= 600 |
56
|
|
|
|
|
|
|
&& $time < 1200; |
57
|
|
|
|
|
|
|
return 'evening1' if $time >= 1800 |
58
|
|
|
|
|
|
|
&& $time < 2100; |
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 'morning1' if $time >= 600 |
66
|
|
|
|
|
|
|
&& $time < 1200; |
67
|
|
|
|
|
|
|
return 'night1' if $time >= 2100; |
68
|
|
|
|
|
|
|
return 'night1' if $time < 600; |
69
|
|
|
|
|
|
|
return 'evening1' if $time >= 1800 |
70
|
|
|
|
|
|
|
&& $time < 2100; |
71
|
|
|
|
|
|
|
} |
72
|
|
|
|
|
|
|
last SWITCH; |
73
|
|
|
|
|
|
|
} |
74
|
|
|
|
|
|
|
if ($_ eq 'generic') { |
75
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
76
|
|
|
|
|
|
|
return 'noon' if $time == 1200; |
77
|
|
|
|
|
|
|
return 'midnight' if $time == 0; |
78
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
79
|
|
|
|
|
|
|
&& $time < 1800; |
80
|
|
|
|
|
|
|
return 'morning1' if $time >= 600 |
81
|
|
|
|
|
|
|
&& $time < 1200; |
82
|
|
|
|
|
|
|
return 'evening1' if $time >= 1800 |
83
|
|
|
|
|
|
|
&& $time < 2100; |
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 'morning1' if $time >= 600 |
91
|
|
|
|
|
|
|
&& $time < 1200; |
92
|
|
|
|
|
|
|
return 'night1' if $time >= 2100; |
93
|
|
|
|
|
|
|
return 'night1' if $time < 600; |
94
|
|
|
|
|
|
|
return 'evening1' if $time >= 1800 |
95
|
|
|
|
|
|
|
&& $time < 2100; |
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
|
|
|
|
|
|
|
'short' => q{d/M/y GGGGG}, |
127
|
|
|
|
|
|
|
}, |
128
|
|
|
|
|
|
|
'gregorian' => { |
129
|
|
|
|
|
|
|
'short' => q{d/M/yy}, |
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
|
|
|
|
|
|
|
'generic' => { |
164
|
|
|
|
|
|
|
Md => q{d/M}, |
165
|
|
|
|
|
|
|
yyyyMEd => q{E, d/M/y G}, |
166
|
|
|
|
|
|
|
}, |
167
|
|
|
|
|
|
|
'gregorian' => { |
168
|
|
|
|
|
|
|
MEd => q{E, d/M}, |
169
|
|
|
|
|
|
|
Md => q{d/M}, |
170
|
|
|
|
|
|
|
yMEd => q{E, d/M/y}, |
171
|
|
|
|
|
|
|
}, |
172
|
|
|
|
|
|
|
} }, |
173
|
|
|
|
|
|
|
); |
174
|
|
|
|
|
|
|
|
175
|
|
|
|
|
|
|
has 'datetime_formats_append_item' => ( |
176
|
|
|
|
|
|
|
is => 'ro', |
177
|
|
|
|
|
|
|
isa => HashRef, |
178
|
|
|
|
|
|
|
init_arg => undef, |
179
|
|
|
|
|
|
|
default => sub { { |
180
|
|
|
|
|
|
|
} }, |
181
|
|
|
|
|
|
|
); |
182
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
has 'datetime_formats_interval' => ( |
184
|
|
|
|
|
|
|
is => 'ro', |
185
|
|
|
|
|
|
|
isa => HashRef, |
186
|
|
|
|
|
|
|
init_arg => undef, |
187
|
|
|
|
|
|
|
default => sub { { |
188
|
|
|
|
|
|
|
'generic' => { |
189
|
|
|
|
|
|
|
MEd => { |
190
|
|
|
|
|
|
|
M => q{E, d/M â E, d/M}, |
191
|
|
|
|
|
|
|
d => q{E, d/M â E, d/M}, |
192
|
|
|
|
|
|
|
}, |
193
|
|
|
|
|
|
|
Md => { |
194
|
|
|
|
|
|
|
M => q{d/M â d/M}, |
195
|
|
|
|
|
|
|
d => q{d/M â d/M}, |
196
|
|
|
|
|
|
|
}, |
197
|
|
|
|
|
|
|
yMEd => { |
198
|
|
|
|
|
|
|
M => q{E, d/M/y â E, d/M/y G}, |
199
|
|
|
|
|
|
|
d => q{E, d/M/y â E, d/M/y G}, |
200
|
|
|
|
|
|
|
y => q{E, d/M/y â E, d/M/y G}, |
201
|
|
|
|
|
|
|
}, |
202
|
|
|
|
|
|
|
yMd => { |
203
|
|
|
|
|
|
|
M => q{d/M/y â d/M/y G}, |
204
|
|
|
|
|
|
|
d => q{d/M/y â d/M/y G}, |
205
|
|
|
|
|
|
|
y => q{d/M/y â d/M/y G}, |
206
|
|
|
|
|
|
|
}, |
207
|
|
|
|
|
|
|
}, |
208
|
|
|
|
|
|
|
'gregorian' => { |
209
|
|
|
|
|
|
|
MEd => { |
210
|
|
|
|
|
|
|
M => q{E, d/M â E, d/M}, |
211
|
|
|
|
|
|
|
d => q{E, d/M â E, d/M}, |
212
|
|
|
|
|
|
|
}, |
213
|
|
|
|
|
|
|
Md => { |
214
|
|
|
|
|
|
|
M => q{d/M â d/M}, |
215
|
|
|
|
|
|
|
d => q{d/M â d/M}, |
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
|
|
|
|
|
|
|
yMd => { |
223
|
|
|
|
|
|
|
M => q{d/M/y â d/M/y}, |
224
|
|
|
|
|
|
|
d => q{d/M/y â d/M/y}, |
225
|
|
|
|
|
|
|
y => q{d/M/y â d/M/y}, |
226
|
|
|
|
|
|
|
}, |
227
|
|
|
|
|
|
|
}, |
228
|
|
|
|
|
|
|
} }, |
229
|
|
|
|
|
|
|
); |
230
|
|
|
|
|
|
|
|
231
|
1
|
|
|
1
|
|
1098
|
no Moo; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
5
|
|
232
|
|
|
|
|
|
|
|
233
|
|
|
|
|
|
|
1; |
234
|
|
|
|
|
|
|
|
235
|
|
|
|
|
|
|
# vim: tabstop=4 |