line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
=encoding utf8 |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=head1 NAME |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
Locale::CLDR::Locales::Fr::Any::Ht - Package for language French |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=cut |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
package Locale::CLDR::Locales::Fr::Any::Ht; |
10
|
|
|
|
|
|
|
# This file auto generated from Data\common\main\fr_HT.xml |
11
|
|
|
|
|
|
|
# on Fri 13 Oct 9:17:01 am GMT |
12
|
|
|
|
|
|
|
|
13
|
1
|
|
|
1
|
|
834
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
24
|
|
14
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
20
|
|
15
|
1
|
|
|
1
|
|
5
|
use version; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
4
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
our $VERSION = version->declare('v0.34.2'); |
18
|
|
|
|
|
|
|
|
19
|
1
|
|
|
1
|
|
84
|
use v5.10.1; |
|
1
|
|
|
|
|
4
|
|
20
|
1
|
|
|
1
|
|
6
|
use mro 'c3'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
21
|
1
|
|
|
1
|
|
22
|
use utf8; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
22
|
1
|
|
|
1
|
|
43
|
use if $^V ge v5.12.0, feature => 'unicode_strings'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
10
|
|
23
|
1
|
|
|
1
|
|
80
|
use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef ); |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
6
|
|
24
|
1
|
|
|
1
|
|
918
|
use Moo; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
extends('Locale::CLDR::Locales::Fr::Any'); |
27
|
|
|
|
|
|
|
has 'units' => ( |
28
|
|
|
|
|
|
|
is => 'ro', |
29
|
|
|
|
|
|
|
isa => HashRef[HashRef[HashRef[Str]]], |
30
|
|
|
|
|
|
|
init_arg => undef, |
31
|
|
|
|
|
|
|
default => sub { { |
32
|
|
|
|
|
|
|
'long' => { |
33
|
|
|
|
|
|
|
'cubic-centimeter' => { |
34
|
|
|
|
|
|
|
'per' => q({0} pour chaque centimetre cube), |
35
|
|
|
|
|
|
|
}, |
36
|
|
|
|
|
|
|
'cubic-meter' => { |
37
|
|
|
|
|
|
|
'per' => q({0} pour chaque metre cube), |
38
|
|
|
|
|
|
|
}, |
39
|
|
|
|
|
|
|
'hectare' => { |
40
|
|
|
|
|
|
|
'name' => q(carreau), |
41
|
|
|
|
|
|
|
'one' => q({0}carreau), |
42
|
|
|
|
|
|
|
'other' => q({0}carreaux), |
43
|
|
|
|
|
|
|
}, |
44
|
|
|
|
|
|
|
}, |
45
|
|
|
|
|
|
|
'narrow' => { |
46
|
|
|
|
|
|
|
'gram' => { |
47
|
|
|
|
|
|
|
'name' => q(gr.), |
48
|
|
|
|
|
|
|
}, |
49
|
|
|
|
|
|
|
}, |
50
|
|
|
|
|
|
|
'short' => { |
51
|
|
|
|
|
|
|
'carat' => { |
52
|
|
|
|
|
|
|
'name' => q(kr), |
53
|
|
|
|
|
|
|
'one' => q({0}kr), |
54
|
|
|
|
|
|
|
'other' => q({0}kr), |
55
|
|
|
|
|
|
|
}, |
56
|
|
|
|
|
|
|
'century' => { |
57
|
|
|
|
|
|
|
'name' => q(sec), |
58
|
|
|
|
|
|
|
}, |
59
|
|
|
|
|
|
|
'gram' => { |
60
|
|
|
|
|
|
|
'one' => q({0}gr), |
61
|
|
|
|
|
|
|
'other' => q({0}gr), |
62
|
|
|
|
|
|
|
}, |
63
|
|
|
|
|
|
|
}, |
64
|
|
|
|
|
|
|
} } |
65
|
|
|
|
|
|
|
); |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
has 'currencies' => ( |
68
|
|
|
|
|
|
|
is => 'ro', |
69
|
|
|
|
|
|
|
isa => HashRef, |
70
|
|
|
|
|
|
|
init_arg => undef, |
71
|
|
|
|
|
|
|
default => sub { { |
72
|
|
|
|
|
|
|
'HTG' => { |
73
|
|
|
|
|
|
|
symbol => 'G', |
74
|
|
|
|
|
|
|
}, |
75
|
|
|
|
|
|
|
} }, |
76
|
|
|
|
|
|
|
); |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
has 'day_period_data' => ( |
80
|
|
|
|
|
|
|
is => 'ro', |
81
|
|
|
|
|
|
|
isa => CodeRef, |
82
|
|
|
|
|
|
|
init_arg => undef, |
83
|
|
|
|
|
|
|
default => sub { sub { |
84
|
|
|
|
|
|
|
# Time in hhmm format |
85
|
|
|
|
|
|
|
my ($self, $type, $time, $day_period_type) = @_; |
86
|
|
|
|
|
|
|
$day_period_type //= 'default'; |
87
|
|
|
|
|
|
|
SWITCH: |
88
|
|
|
|
|
|
|
for ($type) { |
89
|
|
|
|
|
|
|
if ($_ eq 'gregorian') { |
90
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
91
|
|
|
|
|
|
|
return 'midnight' if $time == 0; |
92
|
|
|
|
|
|
|
return 'noon' if $time == 1200; |
93
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
94
|
|
|
|
|
|
|
&& $time < 1800; |
95
|
|
|
|
|
|
|
return 'evening1' if $time >= 1800 |
96
|
|
|
|
|
|
|
&& $time < 2400; |
97
|
|
|
|
|
|
|
return 'morning1' if $time >= 400 |
98
|
|
|
|
|
|
|
&& $time < 1200; |
99
|
|
|
|
|
|
|
return 'night1' if $time >= 0 |
100
|
|
|
|
|
|
|
&& $time < 400; |
101
|
|
|
|
|
|
|
} |
102
|
|
|
|
|
|
|
if($day_period_type eq 'selection') { |
103
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
104
|
|
|
|
|
|
|
&& $time < 1800; |
105
|
|
|
|
|
|
|
return 'evening1' if $time >= 1800 |
106
|
|
|
|
|
|
|
&& $time < 2400; |
107
|
|
|
|
|
|
|
return 'morning1' if $time >= 400 |
108
|
|
|
|
|
|
|
&& $time < 1200; |
109
|
|
|
|
|
|
|
return 'night1' if $time >= 0 |
110
|
|
|
|
|
|
|
&& $time < 400; |
111
|
|
|
|
|
|
|
} |
112
|
|
|
|
|
|
|
last SWITCH; |
113
|
|
|
|
|
|
|
} |
114
|
|
|
|
|
|
|
} |
115
|
|
|
|
|
|
|
} }, |
116
|
|
|
|
|
|
|
); |
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
around day_period_data => sub { |
119
|
|
|
|
|
|
|
my ($orig, $self) = @_; |
120
|
|
|
|
|
|
|
return $self->$orig; |
121
|
|
|
|
|
|
|
}; |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
has 'day_periods' => ( |
124
|
|
|
|
|
|
|
is => 'ro', |
125
|
|
|
|
|
|
|
isa => HashRef, |
126
|
|
|
|
|
|
|
init_arg => undef, |
127
|
|
|
|
|
|
|
default => sub { { |
128
|
|
|
|
|
|
|
'gregorian' => { |
129
|
|
|
|
|
|
|
'format' => { |
130
|
|
|
|
|
|
|
'wide' => { |
131
|
|
|
|
|
|
|
'afternoon1' => q{de l’après-midi}, |
132
|
|
|
|
|
|
|
'evening1' => q{du soir}, |
133
|
|
|
|
|
|
|
'midnight' => q{minuit}, |
134
|
|
|
|
|
|
|
'morning1' => q{du matin}, |
135
|
|
|
|
|
|
|
'night1' => q{de la nuit}, |
136
|
|
|
|
|
|
|
'noon' => q{midi}, |
137
|
|
|
|
|
|
|
}, |
138
|
|
|
|
|
|
|
}, |
139
|
|
|
|
|
|
|
}, |
140
|
|
|
|
|
|
|
} }, |
141
|
|
|
|
|
|
|
); |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
has 'eras' => ( |
144
|
|
|
|
|
|
|
is => 'ro', |
145
|
|
|
|
|
|
|
isa => HashRef, |
146
|
|
|
|
|
|
|
init_arg => undef, |
147
|
|
|
|
|
|
|
default => sub { { |
148
|
|
|
|
|
|
|
'gregorian' => { |
149
|
|
|
|
|
|
|
}, |
150
|
|
|
|
|
|
|
} }, |
151
|
|
|
|
|
|
|
); |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
has 'date_formats' => ( |
154
|
|
|
|
|
|
|
is => 'ro', |
155
|
|
|
|
|
|
|
isa => HashRef, |
156
|
|
|
|
|
|
|
init_arg => undef, |
157
|
|
|
|
|
|
|
default => sub { { |
158
|
|
|
|
|
|
|
'gregorian' => { |
159
|
|
|
|
|
|
|
}, |
160
|
|
|
|
|
|
|
} }, |
161
|
|
|
|
|
|
|
); |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
has 'time_formats' => ( |
164
|
|
|
|
|
|
|
is => 'ro', |
165
|
|
|
|
|
|
|
isa => HashRef, |
166
|
|
|
|
|
|
|
init_arg => undef, |
167
|
|
|
|
|
|
|
default => sub { { |
168
|
|
|
|
|
|
|
'gregorian' => { |
169
|
|
|
|
|
|
|
}, |
170
|
|
|
|
|
|
|
} }, |
171
|
|
|
|
|
|
|
); |
172
|
|
|
|
|
|
|
|
173
|
|
|
|
|
|
|
has 'datetime_formats' => ( |
174
|
|
|
|
|
|
|
is => 'ro', |
175
|
|
|
|
|
|
|
isa => HashRef, |
176
|
|
|
|
|
|
|
init_arg => undef, |
177
|
|
|
|
|
|
|
default => sub { { |
178
|
|
|
|
|
|
|
'gregorian' => { |
179
|
|
|
|
|
|
|
}, |
180
|
|
|
|
|
|
|
} }, |
181
|
|
|
|
|
|
|
); |
182
|
|
|
|
|
|
|
|
183
|
|
|
|
|
|
|
has 'datetime_formats_available_formats' => ( |
184
|
|
|
|
|
|
|
is => 'ro', |
185
|
|
|
|
|
|
|
isa => HashRef, |
186
|
|
|
|
|
|
|
init_arg => undef, |
187
|
|
|
|
|
|
|
default => sub { { |
188
|
|
|
|
|
|
|
} }, |
189
|
|
|
|
|
|
|
); |
190
|
|
|
|
|
|
|
|
191
|
|
|
|
|
|
|
has 'datetime_formats_append_item' => ( |
192
|
|
|
|
|
|
|
is => 'ro', |
193
|
|
|
|
|
|
|
isa => HashRef, |
194
|
|
|
|
|
|
|
init_arg => undef, |
195
|
|
|
|
|
|
|
default => sub { { |
196
|
|
|
|
|
|
|
} }, |
197
|
|
|
|
|
|
|
); |
198
|
|
|
|
|
|
|
|
199
|
|
|
|
|
|
|
has 'datetime_formats_interval' => ( |
200
|
|
|
|
|
|
|
is => 'ro', |
201
|
|
|
|
|
|
|
isa => HashRef, |
202
|
|
|
|
|
|
|
init_arg => undef, |
203
|
|
|
|
|
|
|
default => sub { { |
204
|
|
|
|
|
|
|
} }, |
205
|
|
|
|
|
|
|
); |
206
|
|
|
|
|
|
|
|
207
|
1
|
|
|
1
|
|
999
|
no Moo; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
208
|
|
|
|
|
|
|
|
209
|
|
|
|
|
|
|
1; |
210
|
|
|
|
|
|
|
|
211
|
|
|
|
|
|
|
# vim: tabstop=4 |