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