line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
=encoding utf8 |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=head1 |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
Locale::CLDR::Locales::De::Any::Li - Package for language German |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=cut |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
# This file auto generated from Data/common/main/de_LI.xml |
10
|
|
|
|
|
|
|
# on Mon 11 Apr 5:26:26 pm GMT |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
use strict; |
13
|
1
|
|
|
1
|
|
780
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
22
|
|
14
|
1
|
|
|
1
|
|
4
|
use version; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
17
|
|
15
|
1
|
|
|
1
|
|
4
|
|
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
4
|
|
16
|
|
|
|
|
|
|
our $VERSION = version->declare('v0.34.1'); |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
use v5.10.1; |
19
|
1
|
|
|
1
|
|
75
|
use mro 'c3'; |
|
1
|
|
|
|
|
2
|
|
20
|
1
|
|
|
1
|
|
4
|
use utf8; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
4
|
|
21
|
1
|
|
|
1
|
|
46
|
use if $^V ge v5.12.0, feature => 'unicode_strings'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
4
|
|
22
|
1
|
|
|
1
|
|
27
|
use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef ); |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
9
|
|
23
|
1
|
|
|
1
|
|
71
|
use Moo; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
4
|
|
24
|
1
|
|
|
1
|
|
753
|
|
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
4
|
|
25
|
|
|
|
|
|
|
extends('Locale::CLDR::Locales::De::Any'); |
26
|
|
|
|
|
|
|
has 'characters' => ( |
27
|
|
|
|
|
|
|
is => 'ro', |
28
|
|
|
|
|
|
|
isa => HashRef, |
29
|
|
|
|
|
|
|
init_arg => undef, |
30
|
|
|
|
|
|
|
default => $^V ge v5.18.0 |
31
|
|
|
|
|
|
|
? eval <<'EOT' |
32
|
|
|
|
|
|
|
sub { |
33
|
|
|
|
|
|
|
no warnings 'experimental::regex_sets'; |
34
|
|
|
|
|
|
|
return { |
35
|
|
|
|
|
|
|
numbers => qr{[\- . ’ % ‰ + 0 1 2 3 4 5 6 7 8 9]}, |
36
|
|
|
|
|
|
|
}; |
37
|
|
|
|
|
|
|
}, |
38
|
|
|
|
|
|
|
EOT |
39
|
|
|
|
|
|
|
: sub { |
40
|
|
|
|
|
|
|
return {}; |
41
|
|
|
|
|
|
|
}, |
42
|
|
|
|
|
|
|
); |
43
|
1
|
|
|
1
|
|
73
|
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
93
|
|
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
has 'number_symbols' => ( |
46
|
|
|
|
|
|
|
is => 'ro', |
47
|
|
|
|
|
|
|
isa => HashRef, |
48
|
|
|
|
|
|
|
init_arg => undef, |
49
|
|
|
|
|
|
|
default => sub { { |
50
|
|
|
|
|
|
|
'latn' => { |
51
|
|
|
|
|
|
|
'decimal' => q(.), |
52
|
|
|
|
|
|
|
'group' => q(’), |
53
|
|
|
|
|
|
|
}, |
54
|
|
|
|
|
|
|
} } |
55
|
|
|
|
|
|
|
); |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
has 'number_formats' => ( |
58
|
|
|
|
|
|
|
is => 'ro', |
59
|
|
|
|
|
|
|
isa => HashRef, |
60
|
|
|
|
|
|
|
init_arg => undef, |
61
|
|
|
|
|
|
|
default => sub { { |
62
|
|
|
|
|
|
|
percentFormat => { |
63
|
|
|
|
|
|
|
'default' => { |
64
|
|
|
|
|
|
|
'standard' => { |
65
|
|
|
|
|
|
|
'default' => '#,##0%', |
66
|
|
|
|
|
|
|
}, |
67
|
|
|
|
|
|
|
}, |
68
|
|
|
|
|
|
|
}, |
69
|
|
|
|
|
|
|
} }, |
70
|
|
|
|
|
|
|
); |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
has 'number_currency_formats' => ( |
73
|
|
|
|
|
|
|
is => 'ro', |
74
|
|
|
|
|
|
|
isa => HashRef, |
75
|
|
|
|
|
|
|
init_arg => undef, |
76
|
|
|
|
|
|
|
default => sub { { |
77
|
|
|
|
|
|
|
'latn' => { |
78
|
|
|
|
|
|
|
'pattern' => { |
79
|
|
|
|
|
|
|
'default' => { |
80
|
|
|
|
|
|
|
'standard' => { |
81
|
|
|
|
|
|
|
'positive' => '¤ #,##0.00', |
82
|
|
|
|
|
|
|
}, |
83
|
|
|
|
|
|
|
}, |
84
|
|
|
|
|
|
|
}, |
85
|
|
|
|
|
|
|
}, |
86
|
|
|
|
|
|
|
} }, |
87
|
|
|
|
|
|
|
); |
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
has 'currencies' => ( |
90
|
|
|
|
|
|
|
is => 'ro', |
91
|
|
|
|
|
|
|
isa => HashRef, |
92
|
|
|
|
|
|
|
init_arg => undef, |
93
|
|
|
|
|
|
|
default => sub { { |
94
|
|
|
|
|
|
|
'EUR' => { |
95
|
|
|
|
|
|
|
symbol => 'EUR', |
96
|
|
|
|
|
|
|
}, |
97
|
|
|
|
|
|
|
} }, |
98
|
|
|
|
|
|
|
); |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
has 'day_period_data' => ( |
102
|
|
|
|
|
|
|
is => 'ro', |
103
|
|
|
|
|
|
|
isa => CodeRef, |
104
|
|
|
|
|
|
|
init_arg => undef, |
105
|
|
|
|
|
|
|
default => sub { sub { |
106
|
|
|
|
|
|
|
# Time in hhmm format |
107
|
|
|
|
|
|
|
my ($self, $type, $time, $day_period_type) = @_; |
108
|
|
|
|
|
|
|
$day_period_type //= 'default'; |
109
|
|
|
|
|
|
|
SWITCH: |
110
|
|
|
|
|
|
|
for ($type) { |
111
|
|
|
|
|
|
|
if ($_ eq 'gregorian') { |
112
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
113
|
|
|
|
|
|
|
return 'midnight' if $time == 0; |
114
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
115
|
|
|
|
|
|
|
&& $time < 1300; |
116
|
|
|
|
|
|
|
return 'afternoon2' if $time >= 1300 |
117
|
|
|
|
|
|
|
&& $time < 1800; |
118
|
|
|
|
|
|
|
return 'evening1' if $time >= 1800 |
119
|
|
|
|
|
|
|
&& $time < 2400; |
120
|
|
|
|
|
|
|
return 'morning1' if $time >= 500 |
121
|
|
|
|
|
|
|
&& $time < 1000; |
122
|
|
|
|
|
|
|
return 'morning2' if $time >= 1000 |
123
|
|
|
|
|
|
|
&& $time < 1200; |
124
|
|
|
|
|
|
|
return 'night1' if $time >= 0 |
125
|
|
|
|
|
|
|
&& $time < 500; |
126
|
|
|
|
|
|
|
} |
127
|
|
|
|
|
|
|
if($day_period_type eq 'selection') { |
128
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
129
|
|
|
|
|
|
|
&& $time < 1300; |
130
|
|
|
|
|
|
|
return 'afternoon2' if $time >= 1300 |
131
|
|
|
|
|
|
|
&& $time < 1800; |
132
|
|
|
|
|
|
|
return 'evening1' if $time >= 1800 |
133
|
|
|
|
|
|
|
&& $time < 2400; |
134
|
|
|
|
|
|
|
return 'morning1' if $time >= 500 |
135
|
|
|
|
|
|
|
&& $time < 1000; |
136
|
|
|
|
|
|
|
return 'morning2' if $time >= 1000 |
137
|
|
|
|
|
|
|
&& $time < 1200; |
138
|
|
|
|
|
|
|
return 'night1' if $time >= 0 |
139
|
|
|
|
|
|
|
&& $time < 500; |
140
|
|
|
|
|
|
|
} |
141
|
|
|
|
|
|
|
last SWITCH; |
142
|
|
|
|
|
|
|
} |
143
|
|
|
|
|
|
|
} |
144
|
|
|
|
|
|
|
} }, |
145
|
|
|
|
|
|
|
); |
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
around day_period_data => sub { |
148
|
|
|
|
|
|
|
my ($orig, $self) = @_; |
149
|
|
|
|
|
|
|
return $self->$orig; |
150
|
|
|
|
|
|
|
}; |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
has 'day_periods' => ( |
153
|
|
|
|
|
|
|
is => 'ro', |
154
|
|
|
|
|
|
|
isa => HashRef, |
155
|
|
|
|
|
|
|
init_arg => undef, |
156
|
|
|
|
|
|
|
default => sub { { |
157
|
|
|
|
|
|
|
'gregorian' => { |
158
|
|
|
|
|
|
|
'stand-alone' => { |
159
|
|
|
|
|
|
|
'narrow' => { |
160
|
|
|
|
|
|
|
'am' => q{vm.}, |
161
|
|
|
|
|
|
|
'pm' => q{nm.}, |
162
|
|
|
|
|
|
|
}, |
163
|
|
|
|
|
|
|
}, |
164
|
|
|
|
|
|
|
}, |
165
|
|
|
|
|
|
|
} }, |
166
|
|
|
|
|
|
|
); |
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
has 'eras' => ( |
169
|
|
|
|
|
|
|
is => 'ro', |
170
|
|
|
|
|
|
|
isa => HashRef, |
171
|
|
|
|
|
|
|
init_arg => undef, |
172
|
|
|
|
|
|
|
default => sub { { |
173
|
|
|
|
|
|
|
'gregorian' => { |
174
|
|
|
|
|
|
|
}, |
175
|
|
|
|
|
|
|
} }, |
176
|
|
|
|
|
|
|
); |
177
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
has 'date_formats' => ( |
179
|
|
|
|
|
|
|
is => 'ro', |
180
|
|
|
|
|
|
|
isa => HashRef, |
181
|
|
|
|
|
|
|
init_arg => undef, |
182
|
|
|
|
|
|
|
default => sub { { |
183
|
|
|
|
|
|
|
'gregorian' => { |
184
|
|
|
|
|
|
|
}, |
185
|
|
|
|
|
|
|
} }, |
186
|
|
|
|
|
|
|
); |
187
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
has 'time_formats' => ( |
189
|
|
|
|
|
|
|
is => 'ro', |
190
|
|
|
|
|
|
|
isa => HashRef, |
191
|
|
|
|
|
|
|
init_arg => undef, |
192
|
|
|
|
|
|
|
default => sub { { |
193
|
|
|
|
|
|
|
'gregorian' => { |
194
|
|
|
|
|
|
|
}, |
195
|
|
|
|
|
|
|
} }, |
196
|
|
|
|
|
|
|
); |
197
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
has 'datetime_formats' => ( |
199
|
|
|
|
|
|
|
is => 'ro', |
200
|
|
|
|
|
|
|
isa => HashRef, |
201
|
|
|
|
|
|
|
init_arg => undef, |
202
|
|
|
|
|
|
|
default => sub { { |
203
|
|
|
|
|
|
|
'gregorian' => { |
204
|
|
|
|
|
|
|
}, |
205
|
|
|
|
|
|
|
} }, |
206
|
|
|
|
|
|
|
); |
207
|
|
|
|
|
|
|
|
208
|
|
|
|
|
|
|
has 'datetime_formats_available_formats' => ( |
209
|
|
|
|
|
|
|
is => 'ro', |
210
|
|
|
|
|
|
|
isa => HashRef, |
211
|
|
|
|
|
|
|
init_arg => undef, |
212
|
|
|
|
|
|
|
default => sub { { |
213
|
|
|
|
|
|
|
} }, |
214
|
|
|
|
|
|
|
); |
215
|
|
|
|
|
|
|
|
216
|
|
|
|
|
|
|
has 'datetime_formats_append_item' => ( |
217
|
|
|
|
|
|
|
is => 'ro', |
218
|
|
|
|
|
|
|
isa => HashRef, |
219
|
|
|
|
|
|
|
init_arg => undef, |
220
|
|
|
|
|
|
|
default => sub { { |
221
|
|
|
|
|
|
|
} }, |
222
|
|
|
|
|
|
|
); |
223
|
|
|
|
|
|
|
|
224
|
|
|
|
|
|
|
has 'datetime_formats_interval' => ( |
225
|
|
|
|
|
|
|
is => 'ro', |
226
|
|
|
|
|
|
|
isa => HashRef, |
227
|
|
|
|
|
|
|
init_arg => undef, |
228
|
|
|
|
|
|
|
default => sub { { |
229
|
|
|
|
|
|
|
} }, |
230
|
|
|
|
|
|
|
); |
231
|
|
|
|
|
|
|
|
232
|
|
|
|
|
|
|
no Moo; |
233
|
1
|
|
|
1
|
|
923
|
|
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
4
|
|
234
|
|
|
|
|
|
|
1; |
235
|
|
|
|
|
|
|
|
236
|
|
|
|
|
|
|
# vim: tabstop=4 |