| 1 |
# Copyright (c) 1999-2026 Sullivan Beck. All rights reserved. |
| 2 |
# This program is free software; you can redistribute it and/or modify it |
| 3 |
# under the same terms as Perl itself. |
| 4 |
|
| 5 |
######################################################################## |
| 6 |
######################################################################## |
| 7 |
|
| 8 |
=pod |
| 9 |
|
| 10 |
=encoding utf-8 |
| 11 |
|
| 12 |
=head1 NAME |
| 13 |
|
| 14 |
Date::Manip::Lang::romanian - Romanian language support. |
| 15 |
|
| 16 |
=head1 SYNOPSIS |
| 17 |
|
| 18 |
This module contains a list of words and expressions supporting |
| 19 |
the language. It is not intended to be used directly (other |
| 20 |
Date::Manip modules will load it as needed). |
| 21 |
|
| 22 |
=head1 LANGUAGE EXPRESSIONS |
| 23 |
|
| 24 |
The following is a list of all language words and expressions used |
| 25 |
to write times and/or dates. |
| 26 |
|
| 27 |
All strings are case insensitive. |
| 28 |
|
| 29 |
=over 4 |
| 30 |
|
| 31 |
=item B<Month names and abbreviations> |
| 32 |
|
| 33 |
When writing out the name of the month, several different variations may |
| 34 |
exist including full names and abbreviations. |
| 35 |
|
| 36 |
The following month names may be used: |
| 37 |
|
| 38 |
ianuarie |
| 39 |
|
| 40 |
februarie |
| 41 |
|
| 42 |
martie |
| 43 |
|
| 44 |
aprilie |
| 45 |
|
| 46 |
mai |
| 47 |
|
| 48 |
iunie |
| 49 |
|
| 50 |
iulie |
| 51 |
|
| 52 |
august |
| 53 |
|
| 54 |
septembrie |
| 55 |
|
| 56 |
octombrie |
| 57 |
|
| 58 |
noiembrie |
| 59 |
|
| 60 |
decembrie |
| 61 |
|
| 62 |
|
| 63 |
The following abbreviations may be used: |
| 64 |
|
| 65 |
ian |
| 66 |
|
| 67 |
feb |
| 68 |
febr |
| 69 |
|
| 70 |
mart |
| 71 |
mar |
| 72 |
|
| 73 |
apr |
| 74 |
|
| 75 |
mai |
| 76 |
|
| 77 |
iun |
| 78 |
|
| 79 |
iul |
| 80 |
|
| 81 |
aug |
| 82 |
|
| 83 |
sept |
| 84 |
sep |
| 85 |
|
| 86 |
oct |
| 87 |
|
| 88 |
nov |
| 89 |
noi |
| 90 |
|
| 91 |
dec |
| 92 |
|
| 93 |
|
| 94 |
=item B<Day names and abbreviations> |
| 95 |
|
| 96 |
When writing out the name of the day, several different variations may |
| 97 |
exist including full names and abbreviations. |
| 98 |
|
| 99 |
The following day names may be used: |
| 100 |
|
| 101 |
luni |
| 102 |
|
| 103 |
marți |
| 104 |
marti |
| 105 |
marþi |
| 106 |
marţi |
| 107 |
|
| 108 |
miercuri |
| 109 |
|
| 110 |
joi |
| 111 |
|
| 112 |
vineri |
| 113 |
|
| 114 |
sâmbătă |
| 115 |
sambata |
| 116 |
|
| 117 |
duminică |
| 118 |
duminica |
| 119 |
|
| 120 |
|
| 121 |
The following abbreviations may be used: |
| 122 |
|
| 123 |
lun |
| 124 |
lu |
| 125 |
|
| 126 |
mar |
| 127 |
ma |
| 128 |
|
| 129 |
mie |
| 130 |
mi |
| 131 |
|
| 132 |
joi |
| 133 |
jo |
| 134 |
|
| 135 |
vin |
| 136 |
vi |
| 137 |
|
| 138 |
sâm |
| 139 |
sam |
| 140 |
sb |
| 141 |
|
| 142 |
dum |
| 143 |
du |
| 144 |
|
| 145 |
|
| 146 |
The following short (1-2 characters) abbreviations may be used: |
| 147 |
|
| 148 |
L |
| 149 |
|
| 150 |
Ma |
| 151 |
|
| 152 |
Mi |
| 153 |
|
| 154 |
J |
| 155 |
|
| 156 |
V |
| 157 |
|
| 158 |
S |
| 159 |
|
| 160 |
D |
| 161 |
|
| 162 |
|
| 163 |
=item B<Delta field names> |
| 164 |
|
| 165 |
These are the names (and abbreviations) for the fields in a delta. There are |
| 166 |
7 fields: years, months, weeks, days, hours, minutes, seconds. |
| 167 |
|
| 168 |
The names and abbreviations for these fields are: |
| 169 |
|
| 170 |
ani |
| 171 |
an |
| 172 |
a |
| 173 |
|
| 174 |
luna |
| 175 |
lună |
| 176 |
luni |
| 177 |
l |
| 178 |
|
| 179 |
saptamini |
| 180 |
săptămîni |
| 181 |
saptamina |
| 182 |
săptămîna |
| 183 |
sapt |
| 184 |
săpt |
| 185 |
|
| 186 |
zile |
| 187 |
zi |
| 188 |
z |
| 189 |
|
| 190 |
ora |
| 191 |
oră |
| 192 |
ore |
| 193 |
h |
| 194 |
|
| 195 |
minute |
| 196 |
min |
| 197 |
m |
| 198 |
|
| 199 |
secunde |
| 200 |
sec |
| 201 |
s |
| 202 |
|
| 203 |
|
| 204 |
=item B<Morning/afternoon times> |
| 205 |
|
| 206 |
This is a list of expressions use to designate morning or afternoon time |
| 207 |
when a time is entered as a 12-hour time rather than a 24-hour time. |
| 208 |
For example, in English, the time "17:00" could be specified as "5:00 PM". |
| 209 |
|
| 210 |
Morning and afternoon time may be designated by the following sets of |
| 211 |
words: |
| 212 |
|
| 213 |
AM |
| 214 |
A.M. |
| 215 |
|
| 216 |
PM |
| 217 |
P.M. |
| 218 |
|
| 219 |
|
| 220 |
=item B<Each or every> |
| 221 |
|
| 222 |
There are a list of words that specify every occurrence of something. These |
| 223 |
are used in the following phrases: |
| 224 |
|
| 225 |
EACH Monday |
| 226 |
EVERY Monday |
| 227 |
EVERY month |
| 228 |
|
| 229 |
The following words may be used: |
| 230 |
|
| 231 |
fiecare |
| 232 |
|
| 233 |
|
| 234 |
=item B<Next/Previous/Last occurrence> |
| 235 |
|
| 236 |
There are a list of words that may be used to specify the next, |
| 237 |
previous, or last occurrence of something. These words could be used |
| 238 |
in the following phrases: |
| 239 |
|
| 240 |
NEXT week |
| 241 |
|
| 242 |
LAST Tuesday |
| 243 |
PREVIOUS Tuesday |
| 244 |
|
| 245 |
LAST day of the month |
| 246 |
|
| 247 |
The following words may be used: |
| 248 |
|
| 249 |
Next occurrence: |
| 250 |
|
| 251 |
urmatoarea |
| 252 |
următoarea |
| 253 |
|
| 254 |
|
| 255 |
Previous occurrence: |
| 256 |
|
| 257 |
precedenta |
| 258 |
ultima |
| 259 |
|
| 260 |
|
| 261 |
Last occurrence: |
| 262 |
|
| 263 |
ultima |
| 264 |
|
| 265 |
|
| 266 |
=item B<Delta words for going forward/backward in time> |
| 267 |
|
| 268 |
When parsing deltas, there are words that may be used to specify |
| 269 |
the the delta will refer to a time in the future or to a time in |
| 270 |
the past (relative to some date). In English, for example, you |
| 271 |
might say: |
| 272 |
|
| 273 |
IN 5 days |
| 274 |
5 days AGO |
| 275 |
|
| 276 |
The following words may be used to specify deltas that refer to |
| 277 |
dates in the past or future respectively: |
| 278 |
|
| 279 |
in urma |
| 280 |
în urmă |
| 281 |
|
| 282 |
in |
| 283 |
în |
| 284 |
mai tirziu |
| 285 |
mai tîrziu |
| 286 |
|
| 287 |
|
| 288 |
=item B<Business mode> |
| 289 |
|
| 290 |
This contains two lists of words which can be used to specify a standard |
| 291 |
(i.e. non-business) delta or a business delta. |
| 292 |
|
| 293 |
Previously, it was used to tell whether the delta was approximate or exact, |
| 294 |
but now this list is not used except to force the delta to be standard. |
| 295 |
|
| 296 |
The following words may be used: |
| 297 |
|
| 298 |
exact |
| 299 |
aproximativ |
| 300 |
|
| 301 |
|
| 302 |
The following words may be used to specify a business delta: |
| 303 |
|
| 304 |
lucratoare |
| 305 |
lucrătoare |
| 306 |
de lucru |
| 307 |
|
| 308 |
|
| 309 |
=item B<Numbers> |
| 310 |
|
| 311 |
Numbers may be spelled out in a variety of ways. The following sets correspond |
| 312 |
to the numbers from 1 to 53: |
| 313 |
|
| 314 |
a 1-a |
| 315 |
prima |
| 316 |
prima |
| 317 |
intii |
| 318 |
întîi |
| 319 |
unu |
| 320 |
|
| 321 |
a 2-a |
| 322 |
a doua |
| 323 |
a doua |
| 324 |
doi |
| 325 |
|
| 326 |
a 3-a |
| 327 |
a treia |
| 328 |
trei |
| 329 |
|
| 330 |
a 4-a |
| 331 |
a patra |
| 332 |
patru |
| 333 |
|
| 334 |
a 5-a |
| 335 |
a cincea |
| 336 |
cinci |
| 337 |
|
| 338 |
a 6-a |
| 339 |
a sasea |
| 340 |
a şasea |
| 341 |
sase |
| 342 |
şase |
| 343 |
|
| 344 |
a 7-a |
| 345 |
a saptea |
| 346 |
a şaptea |
| 347 |
sapte |
| 348 |
şapte |
| 349 |
|
| 350 |
a 8-a |
| 351 |
a opta |
| 352 |
opt |
| 353 |
|
| 354 |
a 9-a |
| 355 |
a noua |
| 356 |
noua |
| 357 |
nouă |
| 358 |
|
| 359 |
a 10-a |
| 360 |
a zecea |
| 361 |
zece |
| 362 |
|
| 363 |
|
| 364 |
a 11-a |
| 365 |
a unsprezecea |
| 366 |
unsprezece |
| 367 |
|
| 368 |
a 12-a |
| 369 |
a doisprezecea |
| 370 |
doisprezece |
| 371 |
|
| 372 |
a 13-a |
| 373 |
a treisprezecea |
| 374 |
treisprezece |
| 375 |
|
| 376 |
a 14-a |
| 377 |
a patrusprezecea |
| 378 |
patrusprezece |
| 379 |
paisprezece |
| 380 |
|
| 381 |
a 15-a |
| 382 |
a cincisprezecea |
| 383 |
cincisprezece |
| 384 |
|
| 385 |
a 16-a |
| 386 |
a saiprezecea |
| 387 |
a şaiprezecea |
| 388 |
saiprezece |
| 389 |
şaiprezece |
| 390 |
|
| 391 |
a 17-a |
| 392 |
a saptesprezecea |
| 393 |
a şaptesprezecea |
| 394 |
saptesprezece |
| 395 |
şaptesprezece |
| 396 |
|
| 397 |
a 18-a |
| 398 |
a optsprezecea |
| 399 |
optsprezece |
| 400 |
|
| 401 |
a 19-a |
| 402 |
a nouasprezecea |
| 403 |
a nouăsprezecea |
| 404 |
nouasprezece |
| 405 |
nouăsprezece |
| 406 |
|
| 407 |
a 20-a |
| 408 |
a douazecea |
| 409 |
a douăzecea |
| 410 |
douazeci |
| 411 |
douăzeci |
| 412 |
|
| 413 |
|
| 414 |
a 21-a |
| 415 |
a douazecisiuna |
| 416 |
a douăzecişiuna |
| 417 |
douazecisiunu |
| 418 |
douăzecişiunu |
| 419 |
|
| 420 |
a 22-a |
| 421 |
a douazecisidoua |
| 422 |
a douăzecişidoua |
| 423 |
douazecisidoi |
| 424 |
douăzecişidoi |
| 425 |
|
| 426 |
a 23-a |
| 427 |
a douazecisitreia |
| 428 |
a douăzecişitreia |
| 429 |
douazecisitrei |
| 430 |
douăzecişitrei |
| 431 |
|
| 432 |
a 24-a |
| 433 |
a douazecisipatra |
| 434 |
a douăzecişipatra |
| 435 |
douazecisipatru |
| 436 |
douăzecisipatru |
| 437 |
|
| 438 |
a 25-a |
| 439 |
a douazecisicincea |
| 440 |
a douăzecişicincea |
| 441 |
douazecisicinci |
| 442 |
douăzecişicinci |
| 443 |
|
| 444 |
a 26-a |
| 445 |
a douazecisisasea |
| 446 |
a douăzecişişasea |
| 447 |
douazecisisase |
| 448 |
douăzecişişase |
| 449 |
|
| 450 |
a 27-a |
| 451 |
a douazecisisaptea |
| 452 |
a douăzecişişaptea |
| 453 |
douazecisisapte |
| 454 |
douăzecişişapte |
| 455 |
|
| 456 |
a 28-a |
| 457 |
a douazecisiopta |
| 458 |
a douăzecişiopta |
| 459 |
douazecisiopt |
| 460 |
douăzecişiopt |
| 461 |
|
| 462 |
a 29-a |
| 463 |
a douazecisinoua |
| 464 |
a douăzecişinoua |
| 465 |
douazecisinoua |
| 466 |
douăzecişinouă |
| 467 |
|
| 468 |
a 30-a |
| 469 |
a treizecea |
| 470 |
treizeci |
| 471 |
|
| 472 |
|
| 473 |
a 31-a |
| 474 |
a treizecisiuna |
| 475 |
a treizecişiuna |
| 476 |
treizecisiunu |
| 477 |
treizecişiunu |
| 478 |
|
| 479 |
a 32-a |
| 480 |
a treizecisidoua |
| 481 |
a treizecişdoua |
| 482 |
treizecişidoi |
| 483 |
treizecisidoi |
| 484 |
|
| 485 |
a 33-a |
| 486 |
a treizecisitreia |
| 487 |
a treizeciştreia |
| 488 |
treizecişitrei |
| 489 |
treizecisitrei |
| 490 |
|
| 491 |
a 34-a |
| 492 |
a treizecisipatra |
| 493 |
a treizecişpatra |
| 494 |
treizecişipatru |
| 495 |
treizecisipatru |
| 496 |
|
| 497 |
a 35-a |
| 498 |
a treizecisicincea |
| 499 |
a treizecişcincea |
| 500 |
treizecişicinci |
| 501 |
treizecisicinci |
| 502 |
|
| 503 |
a 36-a |
| 504 |
a treizecisisasea |
| 505 |
a treizecişşasea |
| 506 |
treizecişişase |
| 507 |
treizecisisase |
| 508 |
|
| 509 |
a 37-a |
| 510 |
a treizecisisaptea |
| 511 |
a treizecişşaptea |
| 512 |
treizecişişapte |
| 513 |
treizecisisapte |
| 514 |
|
| 515 |
a 38-a |
| 516 |
a treizecisiopta |
| 517 |
a treizecişopta |
| 518 |
treizecişiopt |
| 519 |
treizecisiopt |
| 520 |
|
| 521 |
a 39-a |
| 522 |
a treizecisinoua |
| 523 |
a treizecişnoua |
| 524 |
treizecişinouă |
| 525 |
treizecisinoua |
| 526 |
|
| 527 |
a 40-a |
| 528 |
a patruzecea |
| 529 |
patruzeci |
| 530 |
|
| 531 |
|
| 532 |
a 41-a |
| 533 |
a patruzecisiuna |
| 534 |
a patruzecişiuna |
| 535 |
patruzecisiunu |
| 536 |
patruzecişiunu |
| 537 |
|
| 538 |
a 42-a |
| 539 |
a patruzecisidoua |
| 540 |
a patruzecişidoua |
| 541 |
patruzecişidoi |
| 542 |
patruzecisidoi |
| 543 |
|
| 544 |
a 43-a |
| 545 |
a patruzecisitreia |
| 546 |
a patruzecişitreia |
| 547 |
patruzecişitrei |
| 548 |
patruzecisitrei |
| 549 |
|
| 550 |
a 44-a |
| 551 |
a patruzecisipatra |
| 552 |
a patruzecişipatra |
| 553 |
patruzecişipatru |
| 554 |
patruzecisipatru |
| 555 |
|
| 556 |
a 45-a |
| 557 |
a patruzecisicincea |
| 558 |
a patruzecişicincea |
| 559 |
patruzecişicinci |
| 560 |
patruzecisicinci |
| 561 |
|
| 562 |
a 46-a |
| 563 |
a patruzecisisasea |
| 564 |
a patruzecişişasea |
| 565 |
patruzecişişase |
| 566 |
patruzecisisase |
| 567 |
|
| 568 |
a 47-a |
| 569 |
a patruzecisisaptea |
| 570 |
a patruzecişişaptea |
| 571 |
patruzecişişapte |
| 572 |
patruzecisisapte |
| 573 |
|
| 574 |
a 48-a |
| 575 |
a patruzecisiopta |
| 576 |
a patruzecişiopta |
| 577 |
patruzecişiopt |
| 578 |
patruzecisiopt |
| 579 |
|
| 580 |
a 49-a |
| 581 |
a patruzecisinoua |
| 582 |
a patruzecişinoua |
| 583 |
patruzecişinouă |
| 584 |
patruzecisinoua |
| 585 |
|
| 586 |
a 50-a |
| 587 |
a cincizecea |
| 588 |
cincizeci |
| 589 |
|
| 590 |
|
| 591 |
a 51-a |
| 592 |
a cincizecisiuna |
| 593 |
a cincizecişiuna |
| 594 |
cincizecisiunu |
| 595 |
cincizecişiunu |
| 596 |
|
| 597 |
a 52-a |
| 598 |
a cincizecisidoua |
| 599 |
a cincizecişidoua |
| 600 |
cincizecişidoi |
| 601 |
cincizecisidoi |
| 602 |
|
| 603 |
a 53-a |
| 604 |
a cincizecisitreia |
| 605 |
a cincizecişitreia |
| 606 |
cincizecişitrei |
| 607 |
cincizecisitrei |
| 608 |
|
| 609 |
|
| 610 |
=item B<Ignored words> |
| 611 |
|
| 612 |
In writing out dates in common forms, there are a number of words |
| 613 |
that are typically not important. |
| 614 |
|
| 615 |
There is frequently a word that appears in a phrase to designate |
| 616 |
that a time is going to be specified next. In English, you would |
| 617 |
use the word AT in the example: |
| 618 |
|
| 619 |
December 3 at 12:00 |
| 620 |
|
| 621 |
The following words may be used: |
| 622 |
|
| 623 |
la |
| 624 |
|
| 625 |
|
| 626 |
Another word is used to designate one member of a set. In English, |
| 627 |
you would use the words IN or OF: |
| 628 |
|
| 629 |
1st day OF December |
| 630 |
1st day IN December |
| 631 |
|
| 632 |
The following words may be used: |
| 633 |
|
| 634 |
din |
| 635 |
in |
| 636 |
n |
| 637 |
|
| 638 |
|
| 639 |
Another word is use to specify that something is on a certain date. In |
| 640 |
English, you would use ON: |
| 641 |
|
| 642 |
ON July 5th |
| 643 |
|
| 644 |
The following words may be used: |
| 645 |
|
| 646 |
on |
| 647 |
|
| 648 |
|
| 649 |
=item B<Words that set the date, time, or both> |
| 650 |
|
| 651 |
There are some words that can be used to specify a date, a |
| 652 |
time, or both relative to now. |
| 653 |
|
| 654 |
Words that set the date are similar to the English words 'yesterday' |
| 655 |
or 'tomorrow'. These are specified as a delta which is added to the |
| 656 |
current time to get a date. The time is NOT set however, so the delta |
| 657 |
is only partially used (it should only include year, month, week, and |
| 658 |
day fields). |
| 659 |
|
| 660 |
The following words may be used: |
| 661 |
|
| 662 |
alaltaieri -0:0:0:2:0:0:0 |
| 663 |
alaltăieri -0:0:0:2:0:0:0 |
| 664 |
astazi 0:0:0:0:0:0:0 |
| 665 |
astăzi 0:0:0:0:0:0:0 |
| 666 |
azi 0:0:0:0:0:0:0 |
| 667 |
ieri -0:0:0:1:0:0:0 |
| 668 |
miine +0:0:0:1:0:0:0 |
| 669 |
mîine +0:0:0:1:0:0:0 |
| 670 |
poimiine +0:0:0:2:0:0:0 |
| 671 |
poimîine +0:0:0:2:0:0:0 |
| 672 |
|
| 673 |
|
| 674 |
Words that set only the time of day are similar to the English words |
| 675 |
'noon' or 'midnight'. |
| 676 |
|
| 677 |
The following words may be used: |
| 678 |
|
| 679 |
amiaza 12:00:00 |
| 680 |
amiază 12:00:00 |
| 681 |
miezul noptii 00:00:00 |
| 682 |
miezul nopții 00:00:00 |
| 683 |
|
| 684 |
|
| 685 |
Words that set the entire time and date (relative to the current |
| 686 |
time and date) are also available. |
| 687 |
|
| 688 |
In English, the word 'now' is one of these. |
| 689 |
|
| 690 |
The following words may be used: |
| 691 |
|
| 692 |
acum 0:0:0:0:0:0:0 |
| 693 |
|
| 694 |
|
| 695 |
=item B<Hour/Minute/Second separators> |
| 696 |
|
| 697 |
When specifying the time of day, the most common separator is a colon (:) |
| 698 |
which can be used for both separators. |
| 699 |
|
| 700 |
Some languages use different pairs. For example, French allows you to |
| 701 |
specify the time as 13h30:20, so it would use the following pairs: |
| 702 |
|
| 703 |
: : |
| 704 |
h : |
| 705 |
|
| 706 |
The first column is the hour-minute separator and the second column is |
| 707 |
the minute-second separator. Both are perl regular expressions. When |
| 708 |
creating a new translation, be aware that regular expressions with utf-8 |
| 709 |
characters may be tricky. For example, don't include the expression '[x]' |
| 710 |
where 'x' is a utf-8 character. |
| 711 |
|
| 712 |
A pair of colons is ALWAYS allowed for all languages. If a language allows |
| 713 |
additional pairs, they are listed here: |
| 714 |
|
| 715 |
Not defined in this language |
| 716 |
|
| 717 |
|
| 718 |
=item B<Fractional second separator> |
| 719 |
|
| 720 |
When specifying fractional seconds, the most common way is to use a |
| 721 |
decimal point (.). Some languages may specify a different separator |
| 722 |
that might be used. If this is done, it is a regular expression. |
| 723 |
|
| 724 |
The decimal point is ALWAYS allowed for all languages. If a language allows |
| 725 |
another separator, it is listed here: |
| 726 |
|
| 727 |
Not defined in this language |
| 728 |
|
| 729 |
|
| 730 |
=back |
| 731 |
|
| 732 |
=head1 KNOWN BUGS |
| 733 |
|
| 734 |
None known. |
| 735 |
|
| 736 |
=head1 BUGS AND QUESTIONS |
| 737 |
|
| 738 |
Please refer to the L<Date::Manip::Problems> documentation for |
| 739 |
information on submitting bug reports or questions to the author. |
| 740 |
|
| 741 |
=head1 SEE ALSO |
| 742 |
|
| 743 |
L<Date::Manip> - main module documentation |
| 744 |
|
| 745 |
=head1 LICENSE |
| 746 |
|
| 747 |
This script is free software; you can redistribute it and/or |
| 748 |
modify it under the same terms as Perl itself. |
| 749 |
|
| 750 |
=head1 AUTHOR |
| 751 |
|
| 752 |
Sullivan Beck ([email protected]) |
| 753 |
|
| 754 |
=cut |