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