line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
=encoding utf8 |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=head1 |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
Locale::CLDR::Locales::Ro::Any::Md - Package for language Romanian |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=cut |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
package Locale::CLDR::Locales::Ro::Any::Md; |
10
|
|
|
|
|
|
|
# This file auto generated from Data\common\main\ro_MD.xml |
11
|
|
|
|
|
|
|
# on Sun 16 Dec 4:34:44 pm GMT |
12
|
|
|
|
|
|
|
|
13
|
1
|
|
|
1
|
|
1158
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
29
|
|
14
|
1
|
|
|
1
|
|
5
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
24
|
|
15
|
1
|
|
|
1
|
|
4
|
use version; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
13
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
our $VERSION = version->declare('v0.34.0'); |
18
|
|
|
|
|
|
|
|
19
|
1
|
|
|
1
|
|
96
|
use v5.10.1; |
|
1
|
|
|
|
|
3
|
|
20
|
1
|
|
|
1
|
|
7
|
use mro 'c3'; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
7
|
|
21
|
1
|
|
|
1
|
|
27
|
use utf8; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
6
|
|
22
|
1
|
|
|
1
|
|
30
|
use if $^V ge v5.12.0, feature => 'unicode_strings'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
12
|
|
23
|
1
|
|
|
1
|
|
118
|
use Types::Standard qw( Str Int HashRef ArrayRef CodeRef RegexpRef ); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
8
|
|
24
|
1
|
|
|
1
|
|
994
|
use Moo; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
extends('Locale::CLDR::Locales::Ro::Any'); |
27
|
|
|
|
|
|
|
has 'display_name_language' => ( |
28
|
|
|
|
|
|
|
is => 'ro', |
29
|
|
|
|
|
|
|
isa => CodeRef, |
30
|
|
|
|
|
|
|
init_arg => undef, |
31
|
|
|
|
|
|
|
default => sub { |
32
|
|
|
|
|
|
|
sub { |
33
|
|
|
|
|
|
|
my %languages = ( |
34
|
|
|
|
|
|
|
'sw_CD' => 'swahili (R. D. Congo)', |
35
|
|
|
|
|
|
|
'wal' => 'wolaytta', |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
); |
38
|
|
|
|
|
|
|
if (@_) { |
39
|
|
|
|
|
|
|
return $languages{$_[0]}; |
40
|
|
|
|
|
|
|
} |
41
|
|
|
|
|
|
|
return \%languages; |
42
|
|
|
|
|
|
|
} |
43
|
|
|
|
|
|
|
}, |
44
|
|
|
|
|
|
|
); |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
has 'display_name_region' => ( |
47
|
|
|
|
|
|
|
is => 'ro', |
48
|
|
|
|
|
|
|
isa => HashRef[Str], |
49
|
|
|
|
|
|
|
init_arg => undef, |
50
|
|
|
|
|
|
|
default => sub { |
51
|
|
|
|
|
|
|
{ |
52
|
|
|
|
|
|
|
'MM' => 'Myanmar', |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
} |
55
|
|
|
|
|
|
|
}, |
56
|
|
|
|
|
|
|
); |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
has 'units' => ( |
59
|
|
|
|
|
|
|
is => 'ro', |
60
|
|
|
|
|
|
|
isa => HashRef[HashRef[HashRef[Str]]], |
61
|
|
|
|
|
|
|
init_arg => undef, |
62
|
|
|
|
|
|
|
default => sub { { |
63
|
|
|
|
|
|
|
'narrow' => { |
64
|
|
|
|
|
|
|
'day' => { |
65
|
|
|
|
|
|
|
'few' => q({0}zile), |
66
|
|
|
|
|
|
|
'one' => q({0}zi), |
67
|
|
|
|
|
|
|
'other' => q({0}zile), |
68
|
|
|
|
|
|
|
}, |
69
|
|
|
|
|
|
|
'millisecond' => { |
70
|
|
|
|
|
|
|
'few' => q({0}ms), |
71
|
|
|
|
|
|
|
'name' => q(msec), |
72
|
|
|
|
|
|
|
'one' => q({0}ms), |
73
|
|
|
|
|
|
|
'other' => q({0}ms), |
74
|
|
|
|
|
|
|
}, |
75
|
|
|
|
|
|
|
'minute' => { |
76
|
|
|
|
|
|
|
'few' => q({0}min.), |
77
|
|
|
|
|
|
|
'name' => q(min), |
78
|
|
|
|
|
|
|
'one' => q({0}min.), |
79
|
|
|
|
|
|
|
'other' => q({0}min.), |
80
|
|
|
|
|
|
|
}, |
81
|
|
|
|
|
|
|
'month' => { |
82
|
|
|
|
|
|
|
'few' => q({0}luni), |
83
|
|
|
|
|
|
|
'name' => q(lunÄ), |
84
|
|
|
|
|
|
|
'one' => q({0}lunÄ), |
85
|
|
|
|
|
|
|
'other' => q({0}luni), |
86
|
|
|
|
|
|
|
}, |
87
|
|
|
|
|
|
|
'week' => { |
88
|
|
|
|
|
|
|
'few' => q({0}sÄpt.), |
89
|
|
|
|
|
|
|
'one' => q({0}sÄpt.), |
90
|
|
|
|
|
|
|
'other' => q({0}sÄpt.), |
91
|
|
|
|
|
|
|
}, |
92
|
|
|
|
|
|
|
'year' => { |
93
|
|
|
|
|
|
|
'few' => q({0}ani), |
94
|
|
|
|
|
|
|
'one' => q({0}an), |
95
|
|
|
|
|
|
|
'other' => q({0}ani), |
96
|
|
|
|
|
|
|
}, |
97
|
|
|
|
|
|
|
}, |
98
|
|
|
|
|
|
|
'short' => { |
99
|
|
|
|
|
|
|
'millisecond' => { |
100
|
|
|
|
|
|
|
'name' => q(milisec.), |
101
|
|
|
|
|
|
|
}, |
102
|
|
|
|
|
|
|
}, |
103
|
|
|
|
|
|
|
} } |
104
|
|
|
|
|
|
|
); |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
has 'currencies' => ( |
107
|
|
|
|
|
|
|
is => 'ro', |
108
|
|
|
|
|
|
|
isa => HashRef, |
109
|
|
|
|
|
|
|
init_arg => undef, |
110
|
|
|
|
|
|
|
default => sub { { |
111
|
|
|
|
|
|
|
'MDL' => { |
112
|
|
|
|
|
|
|
symbol => 'L', |
113
|
|
|
|
|
|
|
}, |
114
|
|
|
|
|
|
|
} }, |
115
|
|
|
|
|
|
|
); |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
has 'calendar_days' => ( |
119
|
|
|
|
|
|
|
is => 'ro', |
120
|
|
|
|
|
|
|
isa => HashRef, |
121
|
|
|
|
|
|
|
init_arg => undef, |
122
|
|
|
|
|
|
|
default => sub { { |
123
|
|
|
|
|
|
|
'gregorian' => { |
124
|
|
|
|
|
|
|
'format' => { |
125
|
|
|
|
|
|
|
abbreviated => { |
126
|
|
|
|
|
|
|
mon => 'Lun', |
127
|
|
|
|
|
|
|
tue => 'Mar', |
128
|
|
|
|
|
|
|
wed => 'Mie', |
129
|
|
|
|
|
|
|
thu => 'Joi', |
130
|
|
|
|
|
|
|
fri => 'Vin', |
131
|
|
|
|
|
|
|
sat => 'Sâm', |
132
|
|
|
|
|
|
|
sun => 'Dum' |
133
|
|
|
|
|
|
|
}, |
134
|
|
|
|
|
|
|
narrow => { |
135
|
|
|
|
|
|
|
mon => 'L', |
136
|
|
|
|
|
|
|
tue => 'Ma', |
137
|
|
|
|
|
|
|
wed => 'Mi', |
138
|
|
|
|
|
|
|
thu => 'J', |
139
|
|
|
|
|
|
|
fri => 'V', |
140
|
|
|
|
|
|
|
sat => 'S', |
141
|
|
|
|
|
|
|
sun => 'D' |
142
|
|
|
|
|
|
|
}, |
143
|
|
|
|
|
|
|
short => { |
144
|
|
|
|
|
|
|
mon => 'Lu', |
145
|
|
|
|
|
|
|
tue => 'Ma', |
146
|
|
|
|
|
|
|
wed => 'Mi', |
147
|
|
|
|
|
|
|
thu => 'Jo', |
148
|
|
|
|
|
|
|
fri => 'Vi', |
149
|
|
|
|
|
|
|
sat => 'Sâ', |
150
|
|
|
|
|
|
|
sun => 'Du' |
151
|
|
|
|
|
|
|
}, |
152
|
|
|
|
|
|
|
}, |
153
|
|
|
|
|
|
|
'stand-alone' => { |
154
|
|
|
|
|
|
|
abbreviated => { |
155
|
|
|
|
|
|
|
mon => 'Lun', |
156
|
|
|
|
|
|
|
tue => 'Mar', |
157
|
|
|
|
|
|
|
wed => 'Mie', |
158
|
|
|
|
|
|
|
thu => 'Joi', |
159
|
|
|
|
|
|
|
fri => 'Vin', |
160
|
|
|
|
|
|
|
sat => 'Sâm', |
161
|
|
|
|
|
|
|
sun => 'Dum' |
162
|
|
|
|
|
|
|
}, |
163
|
|
|
|
|
|
|
narrow => { |
164
|
|
|
|
|
|
|
mon => 'L', |
165
|
|
|
|
|
|
|
tue => 'Ma', |
166
|
|
|
|
|
|
|
wed => 'Mi', |
167
|
|
|
|
|
|
|
thu => 'J', |
168
|
|
|
|
|
|
|
fri => 'V', |
169
|
|
|
|
|
|
|
sat => 'S', |
170
|
|
|
|
|
|
|
sun => 'D' |
171
|
|
|
|
|
|
|
}, |
172
|
|
|
|
|
|
|
short => { |
173
|
|
|
|
|
|
|
mon => 'Lu', |
174
|
|
|
|
|
|
|
tue => 'Ma', |
175
|
|
|
|
|
|
|
wed => 'Mi', |
176
|
|
|
|
|
|
|
thu => 'Jo', |
177
|
|
|
|
|
|
|
fri => 'Vi', |
178
|
|
|
|
|
|
|
sat => 'Sâ', |
179
|
|
|
|
|
|
|
sun => 'Du' |
180
|
|
|
|
|
|
|
}, |
181
|
|
|
|
|
|
|
}, |
182
|
|
|
|
|
|
|
}, |
183
|
|
|
|
|
|
|
} }, |
184
|
|
|
|
|
|
|
); |
185
|
|
|
|
|
|
|
|
186
|
|
|
|
|
|
|
has 'calendar_quarters' => ( |
187
|
|
|
|
|
|
|
is => 'ro', |
188
|
|
|
|
|
|
|
isa => HashRef, |
189
|
|
|
|
|
|
|
init_arg => undef, |
190
|
|
|
|
|
|
|
default => sub { { |
191
|
|
|
|
|
|
|
'gregorian' => { |
192
|
|
|
|
|
|
|
'format' => { |
193
|
|
|
|
|
|
|
abbreviated => {0 => 'trim. 1', |
194
|
|
|
|
|
|
|
1 => 'trim. 2', |
195
|
|
|
|
|
|
|
2 => 'trim. 3', |
196
|
|
|
|
|
|
|
3 => 'trim. 4' |
197
|
|
|
|
|
|
|
}, |
198
|
|
|
|
|
|
|
wide => {0 => 'trimestrul 1', |
199
|
|
|
|
|
|
|
1 => 'trimestrul 2', |
200
|
|
|
|
|
|
|
2 => 'trimestrul 3', |
201
|
|
|
|
|
|
|
3 => 'trimestrul 4' |
202
|
|
|
|
|
|
|
}, |
203
|
|
|
|
|
|
|
}, |
204
|
|
|
|
|
|
|
'stand-alone' => { |
205
|
|
|
|
|
|
|
abbreviated => {0 => 'Trim. 1', |
206
|
|
|
|
|
|
|
1 => 'Trim. 2', |
207
|
|
|
|
|
|
|
2 => 'Trim. 3', |
208
|
|
|
|
|
|
|
3 => 'Trim. 4' |
209
|
|
|
|
|
|
|
}, |
210
|
|
|
|
|
|
|
wide => {0 => 'Trimestrul 1', |
211
|
|
|
|
|
|
|
1 => 'Trimestrul 2', |
212
|
|
|
|
|
|
|
2 => 'Trimestrul 3', |
213
|
|
|
|
|
|
|
3 => 'Trimestrul 4' |
214
|
|
|
|
|
|
|
}, |
215
|
|
|
|
|
|
|
}, |
216
|
|
|
|
|
|
|
}, |
217
|
|
|
|
|
|
|
} }, |
218
|
|
|
|
|
|
|
); |
219
|
|
|
|
|
|
|
|
220
|
|
|
|
|
|
|
has 'day_period_data' => ( |
221
|
|
|
|
|
|
|
is => 'ro', |
222
|
|
|
|
|
|
|
isa => CodeRef, |
223
|
|
|
|
|
|
|
init_arg => undef, |
224
|
|
|
|
|
|
|
default => sub { sub { |
225
|
|
|
|
|
|
|
# Time in hhmm format |
226
|
|
|
|
|
|
|
my ($self, $type, $time, $day_period_type) = @_; |
227
|
|
|
|
|
|
|
$day_period_type //= 'default'; |
228
|
|
|
|
|
|
|
SWITCH: |
229
|
|
|
|
|
|
|
for ($type) { |
230
|
|
|
|
|
|
|
if ($_ eq 'gregorian') { |
231
|
|
|
|
|
|
|
if($day_period_type eq 'selection') { |
232
|
|
|
|
|
|
|
return 'night1' if $time >= 2200; |
233
|
|
|
|
|
|
|
return 'night1' if $time < 500; |
234
|
|
|
|
|
|
|
return 'evening1' if $time >= 1800 |
235
|
|
|
|
|
|
|
&& $time < 2200; |
236
|
|
|
|
|
|
|
return 'morning1' if $time >= 500 |
237
|
|
|
|
|
|
|
&& $time < 1200; |
238
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
239
|
|
|
|
|
|
|
&& $time < 1800; |
240
|
|
|
|
|
|
|
} |
241
|
|
|
|
|
|
|
if($day_period_type eq 'default') { |
242
|
|
|
|
|
|
|
return 'noon' if $time == 1200; |
243
|
|
|
|
|
|
|
return 'midnight' if $time == 0; |
244
|
|
|
|
|
|
|
return 'night1' if $time >= 2200; |
245
|
|
|
|
|
|
|
return 'night1' if $time < 500; |
246
|
|
|
|
|
|
|
return 'evening1' if $time >= 1800 |
247
|
|
|
|
|
|
|
&& $time < 2200; |
248
|
|
|
|
|
|
|
return 'morning1' if $time >= 500 |
249
|
|
|
|
|
|
|
&& $time < 1200; |
250
|
|
|
|
|
|
|
return 'afternoon1' if $time >= 1200 |
251
|
|
|
|
|
|
|
&& $time < 1800; |
252
|
|
|
|
|
|
|
} |
253
|
|
|
|
|
|
|
last SWITCH; |
254
|
|
|
|
|
|
|
} |
255
|
|
|
|
|
|
|
} |
256
|
|
|
|
|
|
|
} }, |
257
|
|
|
|
|
|
|
); |
258
|
|
|
|
|
|
|
|
259
|
|
|
|
|
|
|
around day_period_data => sub { |
260
|
|
|
|
|
|
|
my ($orig, $self) = @_; |
261
|
|
|
|
|
|
|
return $self->$orig; |
262
|
|
|
|
|
|
|
}; |
263
|
|
|
|
|
|
|
|
264
|
|
|
|
|
|
|
has 'day_periods' => ( |
265
|
|
|
|
|
|
|
is => 'ro', |
266
|
|
|
|
|
|
|
isa => HashRef, |
267
|
|
|
|
|
|
|
init_arg => undef, |
268
|
|
|
|
|
|
|
default => sub { { |
269
|
|
|
|
|
|
|
'gregorian' => { |
270
|
|
|
|
|
|
|
'format' => { |
271
|
|
|
|
|
|
|
'narrow' => { |
272
|
|
|
|
|
|
|
'evening1' => q{searÄ}, |
273
|
|
|
|
|
|
|
'night1' => q{noapte}, |
274
|
|
|
|
|
|
|
'noon' => q{amiazÄ}, |
275
|
|
|
|
|
|
|
'midnight' => q{miezul nopÈii}, |
276
|
|
|
|
|
|
|
'afternoon1' => q{dupÄ-amiazÄ}, |
277
|
|
|
|
|
|
|
'morning1' => q{dimineaÈÄ}, |
278
|
|
|
|
|
|
|
}, |
279
|
|
|
|
|
|
|
'wide' => { |
280
|
|
|
|
|
|
|
'noon' => q{amiazÄ}, |
281
|
|
|
|
|
|
|
'midnight' => q{miezul nopÈii}, |
282
|
|
|
|
|
|
|
'evening1' => q{seara}, |
283
|
|
|
|
|
|
|
'night1' => q{noaptea}, |
284
|
|
|
|
|
|
|
'morning1' => q{dimineaÈa}, |
285
|
|
|
|
|
|
|
'afternoon1' => q{dupÄ-amiaza}, |
286
|
|
|
|
|
|
|
}, |
287
|
|
|
|
|
|
|
}, |
288
|
|
|
|
|
|
|
'stand-alone' => { |
289
|
|
|
|
|
|
|
'narrow' => { |
290
|
|
|
|
|
|
|
'morning1' => q{dimineaÈÄ}, |
291
|
|
|
|
|
|
|
'afternoon1' => q{dupÄ-amiazÄ}, |
292
|
|
|
|
|
|
|
'night1' => q{noapte}, |
293
|
|
|
|
|
|
|
'evening1' => q{searÄ}, |
294
|
|
|
|
|
|
|
}, |
295
|
|
|
|
|
|
|
'wide' => { |
296
|
|
|
|
|
|
|
'noon' => q{amiazÄ}, |
297
|
|
|
|
|
|
|
'midnight' => q{miezul nopÈii}, |
298
|
|
|
|
|
|
|
}, |
299
|
|
|
|
|
|
|
}, |
300
|
|
|
|
|
|
|
}, |
301
|
|
|
|
|
|
|
} }, |
302
|
|
|
|
|
|
|
); |
303
|
|
|
|
|
|
|
|
304
|
|
|
|
|
|
|
has 'eras' => ( |
305
|
|
|
|
|
|
|
is => 'ro', |
306
|
|
|
|
|
|
|
isa => HashRef, |
307
|
|
|
|
|
|
|
init_arg => undef, |
308
|
|
|
|
|
|
|
default => sub { { |
309
|
|
|
|
|
|
|
'gregorian' => { |
310
|
|
|
|
|
|
|
}, |
311
|
|
|
|
|
|
|
} }, |
312
|
|
|
|
|
|
|
); |
313
|
|
|
|
|
|
|
|
314
|
|
|
|
|
|
|
has 'date_formats' => ( |
315
|
|
|
|
|
|
|
is => 'ro', |
316
|
|
|
|
|
|
|
isa => HashRef, |
317
|
|
|
|
|
|
|
init_arg => undef, |
318
|
|
|
|
|
|
|
default => sub { { |
319
|
|
|
|
|
|
|
'gregorian' => { |
320
|
|
|
|
|
|
|
}, |
321
|
|
|
|
|
|
|
} }, |
322
|
|
|
|
|
|
|
); |
323
|
|
|
|
|
|
|
|
324
|
|
|
|
|
|
|
has 'time_formats' => ( |
325
|
|
|
|
|
|
|
is => 'ro', |
326
|
|
|
|
|
|
|
isa => HashRef, |
327
|
|
|
|
|
|
|
init_arg => undef, |
328
|
|
|
|
|
|
|
default => sub { { |
329
|
|
|
|
|
|
|
'gregorian' => { |
330
|
|
|
|
|
|
|
}, |
331
|
|
|
|
|
|
|
} }, |
332
|
|
|
|
|
|
|
); |
333
|
|
|
|
|
|
|
|
334
|
|
|
|
|
|
|
has 'datetime_formats' => ( |
335
|
|
|
|
|
|
|
is => 'ro', |
336
|
|
|
|
|
|
|
isa => HashRef, |
337
|
|
|
|
|
|
|
init_arg => undef, |
338
|
|
|
|
|
|
|
default => sub { { |
339
|
|
|
|
|
|
|
'gregorian' => { |
340
|
|
|
|
|
|
|
}, |
341
|
|
|
|
|
|
|
} }, |
342
|
|
|
|
|
|
|
); |
343
|
|
|
|
|
|
|
|
344
|
|
|
|
|
|
|
has 'datetime_formats_available_formats' => ( |
345
|
|
|
|
|
|
|
is => 'ro', |
346
|
|
|
|
|
|
|
isa => HashRef, |
347
|
|
|
|
|
|
|
init_arg => undef, |
348
|
|
|
|
|
|
|
default => sub { { |
349
|
|
|
|
|
|
|
} }, |
350
|
|
|
|
|
|
|
); |
351
|
|
|
|
|
|
|
|
352
|
|
|
|
|
|
|
has 'datetime_formats_append_item' => ( |
353
|
|
|
|
|
|
|
is => 'ro', |
354
|
|
|
|
|
|
|
isa => HashRef, |
355
|
|
|
|
|
|
|
init_arg => undef, |
356
|
|
|
|
|
|
|
default => sub { { |
357
|
|
|
|
|
|
|
} }, |
358
|
|
|
|
|
|
|
); |
359
|
|
|
|
|
|
|
|
360
|
|
|
|
|
|
|
has 'datetime_formats_interval' => ( |
361
|
|
|
|
|
|
|
is => 'ro', |
362
|
|
|
|
|
|
|
isa => HashRef, |
363
|
|
|
|
|
|
|
init_arg => undef, |
364
|
|
|
|
|
|
|
default => sub { { |
365
|
|
|
|
|
|
|
} }, |
366
|
|
|
|
|
|
|
); |
367
|
|
|
|
|
|
|
|
368
|
1
|
|
|
1
|
|
1347
|
no Moo; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
4
|
|
369
|
|
|
|
|
|
|
|
370
|
|
|
|
|
|
|
1; |
371
|
|
|
|
|
|
|
|
372
|
|
|
|
|
|
|
# vim: tabstop=4 |