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