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