line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
=encoding utf8 |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=head1 |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
Locale::CLDR::Locales::En::Any::150 - Package for language English |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=cut |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
# This file auto generated from Data/common/main/en_150.xml |
10
|
|
|
|
|
|
|
# on Mon 11 Apr 5:27:00 pm GMT |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
use strict; |
13
|
1
|
|
|
1
|
|
392
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
22
|
|
14
|
1
|
|
|
1
|
|
3
|
use version; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
17
|
|
15
|
1
|
|
|
1
|
|
4
|
|
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
5
|
|
16
|
|
|
|
|
|
|
our $VERSION = version->declare('v0.34.1'); |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
use v5.10.1; |
19
|
1
|
|
|
1
|
|
74
|
use mro 'c3'; |
|
1
|
|
|
|
|
3
|
|
20
|
1
|
|
|
1
|
|
12
|
use utf8; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
4
|
|
21
|
1
|
|
|
1
|
|
23
|
use if $^V ge v5.12.0, feature => 'unicode_strings'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
4
|
|
22
|
1
|
|
|
1
|
|
31
|
use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef ); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
10
|
|
23
|
1
|
|
|
1
|
|
92
|
use Moo; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
24
|
1
|
|
|
1
|
|
767
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
4
|
|
25
|
|
|
|
|
|
|
extends('Locale::CLDR::Locales::En::Any::001'); |
26
|
|
|
|
|
|
|
has 'number_symbols' => ( |
27
|
|
|
|
|
|
|
is => 'ro', |
28
|
|
|
|
|
|
|
isa => HashRef, |
29
|
|
|
|
|
|
|
init_arg => undef, |
30
|
|
|
|
|
|
|
default => sub { { |
31
|
|
|
|
|
|
|
'latn' => { |
32
|
|
|
|
|
|
|
'decimal' => q(,), |
33
|
|
|
|
|
|
|
'group' => q(.), |
34
|
|
|
|
|
|
|
}, |
35
|
|
|
|
|
|
|
} } |
36
|
|
|
|
|
|
|
); |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
has 'number_currency_formats' => ( |
39
|
|
|
|
|
|
|
is => 'ro', |
40
|
|
|
|
|
|
|
isa => HashRef, |
41
|
|
|
|
|
|
|
init_arg => undef, |
42
|
|
|
|
|
|
|
default => sub { { |
43
|
|
|
|
|
|
|
'latn' => { |
44
|
|
|
|
|
|
|
'pattern' => { |
45
|
|
|
|
|
|
|
'default' => { |
46
|
|
|
|
|
|
|
'accounting' => { |
47
|
|
|
|
|
|
|
'positive' => '#,##0.00 ¤', |
48
|
|
|
|
|
|
|
}, |
49
|
|
|
|
|
|
|
'standard' => { |
50
|
|
|
|
|
|
|
'positive' => '#,##0.00 ¤', |
51
|
|
|
|
|
|
|
}, |
52
|
|
|
|
|
|
|
}, |
53
|
|
|
|
|
|
|
}, |
54
|
|
|
|
|
|
|
}, |
55
|
|
|
|
|
|
|
} }, |
56
|
|
|
|
|
|
|
); |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
has 'day_period_data' => ( |
59
|
|
|
|
|
|
|
is => 'ro', |
60
|
|
|
|
|
|
|
isa => CodeRef, |
61
|
|
|
|
|
|
|
init_arg => undef, |
62
|
|
|
|
|
|
|
default => sub { sub { |
63
|
|
|
|
|
|
|
# Time in hhmm format |
64
|
|
|
|
|
|
|
my ($self, $type, $time, $day_period_type) = @_; |
65
|
|
|
|
|
|
|
$day_period_type //= 'default'; |
66
|
|
|
|
|
|
|
SWITCH: |
67
|
|
|
|
|
|
|
for ($type) { |
68
|
|
|
|
|
|
|
if ($_ eq 'gregorian') { |
69
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
70
|
|
|
|
|
|
|
return 'midnight' if $time == 0; |
71
|
|
|
|
|
|
|
return 'noon' if $time == 1200; |
72
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
73
|
|
|
|
|
|
|
&& $time < 1800; |
74
|
|
|
|
|
|
|
return 'evening1' if $time >= 1800 |
75
|
|
|
|
|
|
|
&& $time < 2100; |
76
|
|
|
|
|
|
|
return 'morning1' if $time >= 600 |
77
|
|
|
|
|
|
|
&& $time < 1200; |
78
|
|
|
|
|
|
|
return 'night1' if $time >= 2100; |
79
|
|
|
|
|
|
|
return 'night1' if $time < 600; |
80
|
|
|
|
|
|
|
} |
81
|
|
|
|
|
|
|
if($day_period_type eq 'selection') { |
82
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
83
|
|
|
|
|
|
|
&& $time < 1800; |
84
|
|
|
|
|
|
|
return 'evening1' if $time >= 1800 |
85
|
|
|
|
|
|
|
&& $time < 2100; |
86
|
|
|
|
|
|
|
return 'morning1' if $time >= 600 |
87
|
|
|
|
|
|
|
&& $time < 1200; |
88
|
|
|
|
|
|
|
return 'night1' if $time >= 2100; |
89
|
|
|
|
|
|
|
return 'night1' if $time < 600; |
90
|
|
|
|
|
|
|
} |
91
|
|
|
|
|
|
|
last SWITCH; |
92
|
|
|
|
|
|
|
} |
93
|
|
|
|
|
|
|
} |
94
|
|
|
|
|
|
|
} }, |
95
|
|
|
|
|
|
|
); |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
around day_period_data => sub { |
98
|
|
|
|
|
|
|
my ($orig, $self) = @_; |
99
|
|
|
|
|
|
|
return $self->$orig; |
100
|
|
|
|
|
|
|
}; |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
has 'eras' => ( |
103
|
|
|
|
|
|
|
is => 'ro', |
104
|
|
|
|
|
|
|
isa => HashRef, |
105
|
|
|
|
|
|
|
init_arg => undef, |
106
|
|
|
|
|
|
|
default => sub { { |
107
|
|
|
|
|
|
|
'gregorian' => { |
108
|
|
|
|
|
|
|
}, |
109
|
|
|
|
|
|
|
} }, |
110
|
|
|
|
|
|
|
); |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
has 'date_formats' => ( |
113
|
|
|
|
|
|
|
is => 'ro', |
114
|
|
|
|
|
|
|
isa => HashRef, |
115
|
|
|
|
|
|
|
init_arg => undef, |
116
|
|
|
|
|
|
|
default => sub { { |
117
|
|
|
|
|
|
|
'gregorian' => { |
118
|
|
|
|
|
|
|
}, |
119
|
|
|
|
|
|
|
} }, |
120
|
|
|
|
|
|
|
); |
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
has 'time_formats' => ( |
123
|
|
|
|
|
|
|
is => 'ro', |
124
|
|
|
|
|
|
|
isa => HashRef, |
125
|
|
|
|
|
|
|
init_arg => undef, |
126
|
|
|
|
|
|
|
default => sub { { |
127
|
|
|
|
|
|
|
'gregorian' => { |
128
|
|
|
|
|
|
|
'full' => q{HH:mm:ss zzzz}, |
129
|
|
|
|
|
|
|
'long' => q{HH:mm:ss z}, |
130
|
|
|
|
|
|
|
'medium' => q{HH:mm:ss}, |
131
|
|
|
|
|
|
|
'short' => q{HH:mm}, |
132
|
|
|
|
|
|
|
}, |
133
|
|
|
|
|
|
|
} }, |
134
|
|
|
|
|
|
|
); |
135
|
|
|
|
|
|
|
|
136
|
|
|
|
|
|
|
has 'datetime_formats' => ( |
137
|
|
|
|
|
|
|
is => 'ro', |
138
|
|
|
|
|
|
|
isa => HashRef, |
139
|
|
|
|
|
|
|
init_arg => undef, |
140
|
|
|
|
|
|
|
default => sub { { |
141
|
|
|
|
|
|
|
'gregorian' => { |
142
|
|
|
|
|
|
|
}, |
143
|
|
|
|
|
|
|
} }, |
144
|
|
|
|
|
|
|
); |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
has 'datetime_formats_available_formats' => ( |
147
|
|
|
|
|
|
|
is => 'ro', |
148
|
|
|
|
|
|
|
isa => HashRef, |
149
|
|
|
|
|
|
|
init_arg => undef, |
150
|
|
|
|
|
|
|
default => sub { { |
151
|
|
|
|
|
|
|
} }, |
152
|
|
|
|
|
|
|
); |
153
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
has 'datetime_formats_append_item' => ( |
155
|
|
|
|
|
|
|
is => 'ro', |
156
|
|
|
|
|
|
|
isa => HashRef, |
157
|
|
|
|
|
|
|
init_arg => undef, |
158
|
|
|
|
|
|
|
default => sub { { |
159
|
|
|
|
|
|
|
} }, |
160
|
|
|
|
|
|
|
); |
161
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
has 'datetime_formats_interval' => ( |
163
|
|
|
|
|
|
|
is => 'ro', |
164
|
|
|
|
|
|
|
isa => HashRef, |
165
|
|
|
|
|
|
|
init_arg => undef, |
166
|
|
|
|
|
|
|
default => sub { { |
167
|
|
|
|
|
|
|
} }, |
168
|
|
|
|
|
|
|
); |
169
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
has 'time_zone_names' => ( |
171
|
|
|
|
|
|
|
is => 'ro', |
172
|
|
|
|
|
|
|
isa => HashRef, |
173
|
|
|
|
|
|
|
init_arg => undef, |
174
|
|
|
|
|
|
|
default => sub { { |
175
|
|
|
|
|
|
|
'Europe_Central' => { |
176
|
|
|
|
|
|
|
short => { |
177
|
|
|
|
|
|
|
'daylight' => q#CEST#, |
178
|
|
|
|
|
|
|
'generic' => q#CET#, |
179
|
|
|
|
|
|
|
'standard' => q#CET#, |
180
|
|
|
|
|
|
|
}, |
181
|
|
|
|
|
|
|
}, |
182
|
|
|
|
|
|
|
'Europe_Eastern' => { |
183
|
|
|
|
|
|
|
short => { |
184
|
|
|
|
|
|
|
'daylight' => q#EEST#, |
185
|
|
|
|
|
|
|
'generic' => q#EET#, |
186
|
|
|
|
|
|
|
'standard' => q#EET#, |
187
|
|
|
|
|
|
|
}, |
188
|
|
|
|
|
|
|
}, |
189
|
|
|
|
|
|
|
'Europe_Western' => { |
190
|
|
|
|
|
|
|
short => { |
191
|
|
|
|
|
|
|
'daylight' => q#WEST#, |
192
|
|
|
|
|
|
|
'generic' => q#WET#, |
193
|
|
|
|
|
|
|
'standard' => q#WET#, |
194
|
|
|
|
|
|
|
}, |
195
|
|
|
|
|
|
|
}, |
196
|
|
|
|
|
|
|
} } |
197
|
|
|
|
|
|
|
); |
198
|
|
|
|
|
|
|
no Moo; |
199
|
1
|
|
|
1
|
|
905
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
4
|
|
200
|
|
|
|
|
|
|
1; |
201
|
|
|
|
|
|
|
|
202
|
|
|
|
|
|
|
# vim: tabstop=4 |