| 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::italian - Italian 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 |
Gennaio |
| 39 |
|
| 40 |
Febbraio |
| 41 |
|
| 42 |
Marzo |
| 43 |
|
| 44 |
Aprile |
| 45 |
|
| 46 |
Maggio |
| 47 |
|
| 48 |
Giugno |
| 49 |
|
| 50 |
Luglio |
| 51 |
|
| 52 |
Agosto |
| 53 |
|
| 54 |
Settembre |
| 55 |
|
| 56 |
Ottobre |
| 57 |
|
| 58 |
Novembre |
| 59 |
|
| 60 |
Dicembre |
| 61 |
|
| 62 |
|
| 63 |
The following abbreviations may be used: |
| 64 |
|
| 65 |
Gen |
| 66 |
|
| 67 |
Feb |
| 68 |
|
| 69 |
Mar |
| 70 |
|
| 71 |
Apr |
| 72 |
|
| 73 |
Mag |
| 74 |
|
| 75 |
Giu |
| 76 |
|
| 77 |
Lug |
| 78 |
|
| 79 |
Ago |
| 80 |
|
| 81 |
Set |
| 82 |
|
| 83 |
Ott |
| 84 |
|
| 85 |
Nov |
| 86 |
|
| 87 |
Dic |
| 88 |
|
| 89 |
|
| 90 |
=item B<Day names and abbreviations> |
| 91 |
|
| 92 |
When writing out the name of the day, several different variations may |
| 93 |
exist including full names and abbreviations. |
| 94 |
|
| 95 |
The following day names may be used: |
| 96 |
|
| 97 |
Lunedì |
| 98 |
Lunedi |
| 99 |
|
| 100 |
Martedì |
| 101 |
Martedi |
| 102 |
|
| 103 |
Mercoledì |
| 104 |
Mercoledi |
| 105 |
|
| 106 |
Giovedì |
| 107 |
Giovedi |
| 108 |
|
| 109 |
Venerdì |
| 110 |
Venerdi |
| 111 |
|
| 112 |
Sabato |
| 113 |
|
| 114 |
Domenica |
| 115 |
|
| 116 |
|
| 117 |
The following abbreviations may be used: |
| 118 |
|
| 119 |
Lun |
| 120 |
|
| 121 |
Mar |
| 122 |
|
| 123 |
Mer |
| 124 |
|
| 125 |
Gio |
| 126 |
|
| 127 |
Ven |
| 128 |
|
| 129 |
Sab |
| 130 |
|
| 131 |
Dom |
| 132 |
|
| 133 |
|
| 134 |
The following short (1-2 characters) abbreviations may be used: |
| 135 |
|
| 136 |
L |
| 137 |
|
| 138 |
Ma |
| 139 |
|
| 140 |
Me |
| 141 |
|
| 142 |
G |
| 143 |
|
| 144 |
V |
| 145 |
|
| 146 |
S |
| 147 |
|
| 148 |
D |
| 149 |
|
| 150 |
|
| 151 |
=item B<Delta field names> |
| 152 |
|
| 153 |
These are the names (and abbreviations) for the fields in a delta. There are |
| 154 |
7 fields: years, months, weeks, days, hours, minutes, seconds. |
| 155 |
|
| 156 |
The names and abbreviations for these fields are: |
| 157 |
|
| 158 |
anni |
| 159 |
anno |
| 160 |
a |
| 161 |
|
| 162 |
mesi |
| 163 |
mese |
| 164 |
mes |
| 165 |
m |
| 166 |
|
| 167 |
settimane |
| 168 |
settimana |
| 169 |
sett |
| 170 |
|
| 171 |
giorni |
| 172 |
giorno |
| 173 |
g |
| 174 |
|
| 175 |
ore |
| 176 |
ora |
| 177 |
h |
| 178 |
|
| 179 |
minuti |
| 180 |
minuto |
| 181 |
min |
| 182 |
|
| 183 |
secondi |
| 184 |
s |
| 185 |
secondo |
| 186 |
sec |
| 187 |
|
| 188 |
|
| 189 |
=item B<Morning/afternoon times> |
| 190 |
|
| 191 |
This is a list of expressions use to designate morning or afternoon time |
| 192 |
when a time is entered as a 12-hour time rather than a 24-hour time. |
| 193 |
For example, in English, the time "17:00" could be specified as "5:00 PM". |
| 194 |
|
| 195 |
Morning and afternoon time may be designated by the following sets of |
| 196 |
words: |
| 197 |
|
| 198 |
AM |
| 199 |
m. |
| 200 |
|
| 201 |
PM |
| 202 |
p. |
| 203 |
|
| 204 |
|
| 205 |
=item B<Each or every> |
| 206 |
|
| 207 |
There are a list of words that specify every occurrence of something. These |
| 208 |
are used in the following phrases: |
| 209 |
|
| 210 |
EACH Monday |
| 211 |
EVERY Monday |
| 212 |
EVERY month |
| 213 |
|
| 214 |
The following words may be used: |
| 215 |
|
| 216 |
ogni |
| 217 |
|
| 218 |
|
| 219 |
=item B<Next/Previous/Last occurrence> |
| 220 |
|
| 221 |
There are a list of words that may be used to specify the next, |
| 222 |
previous, or last occurrence of something. These words could be used |
| 223 |
in the following phrases: |
| 224 |
|
| 225 |
NEXT week |
| 226 |
|
| 227 |
LAST Tuesday |
| 228 |
PREVIOUS Tuesday |
| 229 |
|
| 230 |
LAST day of the month |
| 231 |
|
| 232 |
The following words may be used: |
| 233 |
|
| 234 |
Next occurrence: |
| 235 |
|
| 236 |
prossimo |
| 237 |
prossima |
| 238 |
|
| 239 |
|
| 240 |
Previous occurrence: |
| 241 |
|
| 242 |
scorso |
| 243 |
scorsa |
| 244 |
|
| 245 |
|
| 246 |
Last occurrence: |
| 247 |
|
| 248 |
ultimo |
| 249 |
ultima |
| 250 |
|
| 251 |
|
| 252 |
=item B<Delta words for going forward/backward in time> |
| 253 |
|
| 254 |
When parsing deltas, there are words that may be used to specify |
| 255 |
the the delta will refer to a time in the future or to a time in |
| 256 |
the past (relative to some date). In English, for example, you |
| 257 |
might say: |
| 258 |
|
| 259 |
IN 5 days |
| 260 |
5 days AGO |
| 261 |
|
| 262 |
The following words may be used to specify deltas that refer to |
| 263 |
dates in the past or future respectively: |
| 264 |
|
| 265 |
fa |
| 266 |
|
| 267 |
fra |
| 268 |
dopo |
| 269 |
|
| 270 |
|
| 271 |
=item B<Business mode> |
| 272 |
|
| 273 |
This contains two lists of words which can be used to specify a standard |
| 274 |
(i.e. non-business) delta or a business delta. |
| 275 |
|
| 276 |
Previously, it was used to tell whether the delta was approximate or exact, |
| 277 |
but now this list is not used except to force the delta to be standard. |
| 278 |
|
| 279 |
The following words may be used: |
| 280 |
|
| 281 |
esattamente |
| 282 |
circa |
| 283 |
|
| 284 |
|
| 285 |
The following words may be used to specify a business delta: |
| 286 |
|
| 287 |
lavorativi |
| 288 |
lavorativo |
| 289 |
|
| 290 |
|
| 291 |
=item B<Numbers> |
| 292 |
|
| 293 |
Numbers may be spelled out in a variety of ways. The following sets correspond |
| 294 |
to the numbers from 1 to 53: |
| 295 |
|
| 296 |
1o |
| 297 |
1a |
| 298 |
uno |
| 299 |
una |
| 300 |
primo |
| 301 |
prima |
| 302 |
|
| 303 |
2o |
| 304 |
2a |
| 305 |
due |
| 306 |
secondo |
| 307 |
seconda |
| 308 |
|
| 309 |
3o |
| 310 |
3a |
| 311 |
tre |
| 312 |
terzo |
| 313 |
terza |
| 314 |
|
| 315 |
4o |
| 316 |
4a |
| 317 |
quattro |
| 318 |
quarto |
| 319 |
quarta |
| 320 |
|
| 321 |
5o |
| 322 |
5a |
| 323 |
cinque |
| 324 |
quinto |
| 325 |
quinta |
| 326 |
|
| 327 |
6o |
| 328 |
6a |
| 329 |
sei |
| 330 |
sesto |
| 331 |
sesta |
| 332 |
|
| 333 |
7o |
| 334 |
7a |
| 335 |
sette |
| 336 |
settimo |
| 337 |
settima |
| 338 |
|
| 339 |
8o |
| 340 |
8a |
| 341 |
otto |
| 342 |
ottavo |
| 343 |
ottava |
| 344 |
|
| 345 |
9o |
| 346 |
9a |
| 347 |
nove |
| 348 |
nono |
| 349 |
nona |
| 350 |
|
| 351 |
10o |
| 352 |
10a |
| 353 |
dieci |
| 354 |
decimo |
| 355 |
decima |
| 356 |
|
| 357 |
|
| 358 |
11o |
| 359 |
11a |
| 360 |
undici |
| 361 |
undicesimo |
| 362 |
undicesima |
| 363 |
|
| 364 |
12o |
| 365 |
12a |
| 366 |
dodici |
| 367 |
dodicesimo |
| 368 |
dodicesima |
| 369 |
|
| 370 |
13o |
| 371 |
13a |
| 372 |
tredici |
| 373 |
tredicesimo |
| 374 |
tredicesima |
| 375 |
|
| 376 |
14o |
| 377 |
14a |
| 378 |
quattordici |
| 379 |
quattordicesimo |
| 380 |
quattordicesima |
| 381 |
|
| 382 |
15o |
| 383 |
15a |
| 384 |
quindici |
| 385 |
quindicesimo |
| 386 |
quindicesima |
| 387 |
|
| 388 |
16o |
| 389 |
16a |
| 390 |
sedici |
| 391 |
sedicesimo |
| 392 |
sedicesima |
| 393 |
|
| 394 |
17o |
| 395 |
17a |
| 396 |
diciassette |
| 397 |
diciassettesimo |
| 398 |
diciassettesima |
| 399 |
|
| 400 |
18o |
| 401 |
18a |
| 402 |
diciotto |
| 403 |
diciottesimo |
| 404 |
diciottesima |
| 405 |
|
| 406 |
19o |
| 407 |
19a |
| 408 |
diciannove |
| 409 |
diciannovesimo |
| 410 |
diciannovesima |
| 411 |
|
| 412 |
20o |
| 413 |
20a |
| 414 |
venti |
| 415 |
ventesimo |
| 416 |
ventesima |
| 417 |
|
| 418 |
|
| 419 |
21o |
| 420 |
21a |
| 421 |
ventuno |
| 422 |
ventunesimo |
| 423 |
ventunesima |
| 424 |
|
| 425 |
22o |
| 426 |
22a |
| 427 |
ventidue |
| 428 |
ventiduesimo |
| 429 |
ventiduesima |
| 430 |
|
| 431 |
23o |
| 432 |
23a |
| 433 |
ventitré |
| 434 |
ventitre |
| 435 |
ventitreesimo |
| 436 |
ventitreesima |
| 437 |
|
| 438 |
24o |
| 439 |
24a |
| 440 |
ventiquattro |
| 441 |
ventiquattresimo |
| 442 |
ventiquattresima |
| 443 |
|
| 444 |
25o |
| 445 |
25a |
| 446 |
venticinque |
| 447 |
venticinquesimo |
| 448 |
venticinquesima |
| 449 |
|
| 450 |
26o |
| 451 |
26a |
| 452 |
ventisei |
| 453 |
ventiseiesimo |
| 454 |
ventiseiesima |
| 455 |
|
| 456 |
27o |
| 457 |
27a |
| 458 |
ventisette |
| 459 |
ventisettesimo |
| 460 |
ventisettesima |
| 461 |
|
| 462 |
28o |
| 463 |
28a |
| 464 |
ventotto |
| 465 |
ventottesimo |
| 466 |
ventottesima |
| 467 |
|
| 468 |
29o |
| 469 |
29a |
| 470 |
ventinove |
| 471 |
ventinovesimo |
| 472 |
ventinovesima |
| 473 |
|
| 474 |
30o |
| 475 |
30a |
| 476 |
trenta |
| 477 |
trentesimo |
| 478 |
trentesima |
| 479 |
|
| 480 |
|
| 481 |
31o |
| 482 |
31a |
| 483 |
trentuno |
| 484 |
trentunesimo |
| 485 |
trentunesima |
| 486 |
|
| 487 |
32o |
| 488 |
32a |
| 489 |
trentadue |
| 490 |
trentaduesimo |
| 491 |
trentaduesima |
| 492 |
|
| 493 |
33o |
| 494 |
33a |
| 495 |
trentatré |
| 496 |
trentatre |
| 497 |
trentatreesimo |
| 498 |
trentatreesima |
| 499 |
|
| 500 |
34o |
| 501 |
34a |
| 502 |
trentaquattro |
| 503 |
trentiquattresimo |
| 504 |
trentaquattresima |
| 505 |
|
| 506 |
35o |
| 507 |
35a |
| 508 |
trentacinque |
| 509 |
trentacinquesimo |
| 510 |
trentacinquesima |
| 511 |
|
| 512 |
36o |
| 513 |
36a |
| 514 |
trentasei |
| 515 |
trentaseiesimo |
| 516 |
trentaseiesima |
| 517 |
|
| 518 |
37o |
| 519 |
37a |
| 520 |
trentasette |
| 521 |
trentasettesimo |
| 522 |
trentasettesima |
| 523 |
|
| 524 |
38o |
| 525 |
38a |
| 526 |
trentotto |
| 527 |
trentottesimo |
| 528 |
trentottesima |
| 529 |
|
| 530 |
39o |
| 531 |
39a |
| 532 |
trentanove |
| 533 |
trentanovesimo |
| 534 |
trentanovesima |
| 535 |
|
| 536 |
40o |
| 537 |
40a |
| 538 |
quaranta |
| 539 |
quarantesimo |
| 540 |
quarantesima |
| 541 |
|
| 542 |
|
| 543 |
41o |
| 544 |
41a |
| 545 |
quarantuno |
| 546 |
quarantunesimo |
| 547 |
quarantunesima |
| 548 |
|
| 549 |
42o |
| 550 |
42a |
| 551 |
quarantadue |
| 552 |
quarantaduesimo |
| 553 |
quarantaduesima |
| 554 |
|
| 555 |
43o |
| 556 |
43a |
| 557 |
quarantatré |
| 558 |
quarantatre |
| 559 |
quarantatreesimo |
| 560 |
quarantatreesima |
| 561 |
|
| 562 |
44o |
| 563 |
44a |
| 564 |
quarantaquattro |
| 565 |
quarantaquattresimo |
| 566 |
quarantaquattresima |
| 567 |
|
| 568 |
45o |
| 569 |
45a |
| 570 |
quarantacinque |
| 571 |
quarantacinquesimo |
| 572 |
quarantacinquesima |
| 573 |
|
| 574 |
46o |
| 575 |
46a |
| 576 |
quarantasei |
| 577 |
quarantaseiesimo |
| 578 |
quarantaseiesima |
| 579 |
|
| 580 |
47o |
| 581 |
47a |
| 582 |
quarantasette |
| 583 |
quarantasettesimo |
| 584 |
quarantasettesima |
| 585 |
|
| 586 |
48o |
| 587 |
48a |
| 588 |
quarantotto |
| 589 |
quarantottesimo |
| 590 |
quarantottesima |
| 591 |
|
| 592 |
49o |
| 593 |
49a |
| 594 |
quarantanove |
| 595 |
quarantanovesimo |
| 596 |
quarantanovesima |
| 597 |
|
| 598 |
50o |
| 599 |
50a |
| 600 |
cinquanta |
| 601 |
cinquantesimo |
| 602 |
cinquantesima |
| 603 |
|
| 604 |
|
| 605 |
51o |
| 606 |
51a |
| 607 |
cinquantuno |
| 608 |
cinquantunesimo |
| 609 |
cinquantunesima |
| 610 |
|
| 611 |
52o |
| 612 |
52a |
| 613 |
cinquantadue |
| 614 |
cinquantaduesimo |
| 615 |
cinquantaduesima |
| 616 |
|
| 617 |
53o |
| 618 |
53a |
| 619 |
cinquantatré |
| 620 |
cinquantatre |
| 621 |
cinquantatreesimo |
| 622 |
cinquantatreesima |
| 623 |
|
| 624 |
|
| 625 |
=item B<Ignored words> |
| 626 |
|
| 627 |
In writing out dates in common forms, there are a number of words |
| 628 |
that are typically not important. |
| 629 |
|
| 630 |
There is frequently a word that appears in a phrase to designate |
| 631 |
that a time is going to be specified next. In English, you would |
| 632 |
use the word AT in the example: |
| 633 |
|
| 634 |
December 3 at 12:00 |
| 635 |
|
| 636 |
The following words may be used: |
| 637 |
|
| 638 |
alle |
| 639 |
|
| 640 |
|
| 641 |
Another word is used to designate one member of a set. In English, |
| 642 |
you would use the words IN or OF: |
| 643 |
|
| 644 |
1st day OF December |
| 645 |
1st day IN December |
| 646 |
|
| 647 |
The following words may be used: |
| 648 |
|
| 649 |
della |
| 650 |
del |
| 651 |
di |
| 652 |
|
| 653 |
|
| 654 |
Another word is use to specify that something is on a certain date. In |
| 655 |
English, you would use ON: |
| 656 |
|
| 657 |
ON July 5th |
| 658 |
|
| 659 |
The following words may be used: |
| 660 |
|
| 661 |
di |
| 662 |
|
| 663 |
|
| 664 |
=item B<Words that set the date, time, or both> |
| 665 |
|
| 666 |
There are some words that can be used to specify a date, a |
| 667 |
time, or both relative to now. |
| 668 |
|
| 669 |
Words that set the date are similar to the English words 'yesterday' |
| 670 |
or 'tomorrow'. These are specified as a delta which is added to the |
| 671 |
current time to get a date. The time is NOT set however, so the delta |
| 672 |
is only partially used (it should only include year, month, week, and |
| 673 |
day fields). |
| 674 |
|
| 675 |
The following words may be used: |
| 676 |
|
| 677 |
domani +0:0:0:1:0:0:0 |
| 678 |
dopodomani +0:0:0:2:0:0:0 |
| 679 |
ieri -0:0:0:1:0:0:0 |
| 680 |
l'altroieri -0:0:0:2:0:0:0 |
| 681 |
oggi 0:0:0:0:0:0:0 |
| 682 |
|
| 683 |
|
| 684 |
Words that set only the time of day are similar to the English words |
| 685 |
'noon' or 'midnight'. |
| 686 |
|
| 687 |
The following words may be used: |
| 688 |
|
| 689 |
mezzanotte 00:00:00 |
| 690 |
mezzogiorno 12:00:00 |
| 691 |
|
| 692 |
|
| 693 |
Words that set the entire time and date (relative to the current |
| 694 |
time and date) are also available. |
| 695 |
|
| 696 |
In English, the word 'now' is one of these. |
| 697 |
|
| 698 |
The following words may be used: |
| 699 |
|
| 700 |
adesso 0:0:0:0:0:0:0 |
| 701 |
|
| 702 |
|
| 703 |
=item B<Hour/Minute/Second separators> |
| 704 |
|
| 705 |
When specifying the time of day, the most common separator is a colon (:) |
| 706 |
which can be used for both separators. |
| 707 |
|
| 708 |
Some languages use different pairs. For example, French allows you to |
| 709 |
specify the time as 13h30:20, so it would use the following pairs: |
| 710 |
|
| 711 |
: : |
| 712 |
h : |
| 713 |
|
| 714 |
The first column is the hour-minute separator and the second column is |
| 715 |
the minute-second separator. Both are perl regular expressions. When |
| 716 |
creating a new translation, be aware that regular expressions with utf-8 |
| 717 |
characters may be tricky. For example, don't include the expression '[x]' |
| 718 |
where 'x' is a utf-8 character. |
| 719 |
|
| 720 |
A pair of colons is ALWAYS allowed for all languages. If a language allows |
| 721 |
additional pairs, they are listed here: |
| 722 |
|
| 723 |
Not defined in this language |
| 724 |
|
| 725 |
|
| 726 |
=item B<Fractional second separator> |
| 727 |
|
| 728 |
When specifying fractional seconds, the most common way is to use a |
| 729 |
decimal point (.). Some languages may specify a different separator |
| 730 |
that might be used. If this is done, it is a regular expression. |
| 731 |
|
| 732 |
The decimal point is ALWAYS allowed for all languages. If a language allows |
| 733 |
another separator, it is listed here: |
| 734 |
|
| 735 |
Not defined in this language |
| 736 |
|
| 737 |
|
| 738 |
=back |
| 739 |
|
| 740 |
=head1 KNOWN BUGS |
| 741 |
|
| 742 |
None known. |
| 743 |
|
| 744 |
=head1 BUGS AND QUESTIONS |
| 745 |
|
| 746 |
Please refer to the L<Date::Manip::Problems> documentation for |
| 747 |
information on submitting bug reports or questions to the author. |
| 748 |
|
| 749 |
=head1 SEE ALSO |
| 750 |
|
| 751 |
L<Date::Manip> - main module documentation |
| 752 |
|
| 753 |
=head1 LICENSE |
| 754 |
|
| 755 |
This script is free software; you can redistribute it and/or |
| 756 |
modify it under the same terms as Perl itself. |
| 757 |
|
| 758 |
=head1 AUTHOR |
| 759 |
|
| 760 |
Sullivan Beck ([email protected]) |
| 761 |
|
| 762 |
=cut |