|
Packit |
95306a |
# Copyright (c) 1999-2017 Sullivan Beck. All rights reserved.
|
|
Packit |
95306a |
# This program is free software; you can redistribute it and/or modify it
|
|
Packit |
95306a |
# under the same terms as Perl itself.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
########################################################################
|
|
Packit |
95306a |
########################################################################
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=pod
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=encoding utf-8
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 NAME
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Date::Manip::Lang::italian - Italian language support.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 SYNOPSIS
|
|
Packit |
95306a |
|
|
Packit |
95306a |
This module contains a list of words and expressions supporting
|
|
Packit |
95306a |
the language. It is not intended to be used directly (other
|
|
Packit |
95306a |
Date::Manip modules will load it as needed).
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 LANGUAGE EXPRESSIONS
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The following is a list of all language words and expressions used
|
|
Packit |
95306a |
to write times and/or dates.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
All strings are case insensitive.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=over 4
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<Month names and abbreviations>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
When writing out the name of the month, several different variations may
|
|
Packit |
95306a |
exist including full names and abbreviations.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The following month names may be used:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Gennaio
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Febbraio
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Marzo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Aprile
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Maggio
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Giugno
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Luglio
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Agosto
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Settembre
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Ottobre
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Novembre
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Dicembre
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The following abbreviations may be used:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Gen
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Feb
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Mar
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Apr
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Mag
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Giu
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Lug
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Ago
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Set
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Ott
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Nov
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Dic
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<Day names and abbreviations>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
When writing out the name of the day, several different variations may
|
|
Packit |
95306a |
exist including full names and abbreviations.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The following day names may be used:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Lunedì
|
|
Packit |
95306a |
Lunedi
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Martedì
|
|
Packit |
95306a |
Martedi
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Mercoledì
|
|
Packit |
95306a |
Mercoledi
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Giovedì
|
|
Packit |
95306a |
Giovedi
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Venerdì
|
|
Packit |
95306a |
Venerdi
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Sabato
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Domenica
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The following abbreviations may be used:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Lun
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Mar
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Mer
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Gio
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Ven
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Sab
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Dom
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The following short (1-2 characters) abbreviations may be used:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
L
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Ma
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Me
|
|
Packit |
95306a |
|
|
Packit |
95306a |
G
|
|
Packit |
95306a |
|
|
Packit |
95306a |
V
|
|
Packit |
95306a |
|
|
Packit |
95306a |
S
|
|
Packit |
95306a |
|
|
Packit |
95306a |
D
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<Delta field names>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
These are the names (and abbreviations) for the fields in a delta. There are
|
|
Packit |
95306a |
7 fields: years, months, weeks, days, hours, minutes, seconds.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The names and abbreviations for these fields are:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
anni
|
|
Packit |
95306a |
anno
|
|
Packit |
95306a |
a
|
|
Packit |
95306a |
|
|
Packit |
95306a |
mesi
|
|
Packit |
95306a |
mese
|
|
Packit |
95306a |
mes
|
|
Packit |
95306a |
m
|
|
Packit |
95306a |
|
|
Packit |
95306a |
settimane
|
|
Packit |
95306a |
settimana
|
|
Packit |
95306a |
sett
|
|
Packit |
95306a |
|
|
Packit |
95306a |
giorni
|
|
Packit |
95306a |
giorno
|
|
Packit |
95306a |
g
|
|
Packit |
95306a |
|
|
Packit |
95306a |
ore
|
|
Packit |
95306a |
ora
|
|
Packit |
95306a |
h
|
|
Packit |
95306a |
|
|
Packit |
95306a |
minuti
|
|
Packit |
95306a |
minuto
|
|
Packit |
95306a |
min
|
|
Packit |
95306a |
|
|
Packit |
95306a |
secondi
|
|
Packit |
95306a |
s
|
|
Packit |
95306a |
secondo
|
|
Packit |
95306a |
sec
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<Morning/afternoon times>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
This is a list of expressions use to designate morning or afternoon time
|
|
Packit |
95306a |
when a time is entered as a 12-hour time rather than a 24-hour time.
|
|
Packit |
95306a |
For example, in English, the time "17:00" could be specified as "5:00 PM".
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Morning and afternoon time may be designated by the following sets of
|
|
Packit |
95306a |
words:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
AM
|
|
Packit |
95306a |
m.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
PM
|
|
Packit |
95306a |
p.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<Each or every>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
There are a list of words that specify every occurrence of something. These
|
|
Packit |
95306a |
are used in the following phrases:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
EACH Monday
|
|
Packit |
95306a |
EVERY Monday
|
|
Packit |
95306a |
EVERY month
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The following words may be used:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
ogni
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<Next/Previous/Last occurrence>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
There are a list of words that may be used to specify the next,
|
|
Packit |
95306a |
previous, or last occurrence of something. These words could be used
|
|
Packit |
95306a |
in the following phrases:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
NEXT week
|
|
Packit |
95306a |
|
|
Packit |
95306a |
LAST Tuesday
|
|
Packit |
95306a |
PREVIOUS Tuesday
|
|
Packit |
95306a |
|
|
Packit |
95306a |
LAST day of the month
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The following words may be used:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Next occurrence:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
prossimo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Previous occurrence:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
ultimo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Last occurrence:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
ultimo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<Delta words for going forward/backward in time>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
When parsing deltas, there are words that may be used to specify
|
|
Packit |
95306a |
the the delta will refer to a time in the future or to a time in
|
|
Packit |
95306a |
the past (relative to some date). In English, for example, you
|
|
Packit |
95306a |
might say:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
IN 5 days
|
|
Packit |
95306a |
5 days AGO
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The following words may be used to specify deltas that refer to
|
|
Packit |
95306a |
dates in the past or future respectively:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
fa
|
|
Packit |
95306a |
|
|
Packit |
95306a |
fra
|
|
Packit |
95306a |
dopo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<Business mode>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
This contains two lists of words which can be used to specify a standard
|
|
Packit |
95306a |
(i.e. non-business) delta or a business delta.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Previously, it was used to tell whether the delta was approximate or exact,
|
|
Packit |
95306a |
but now this list is not used except to force the delta to be standard.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The following words may be used:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
esattamente
|
|
Packit |
95306a |
circa
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The following words may be used to specify a business delta:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
lavorativi
|
|
Packit |
95306a |
lavorativo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<Numbers>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Numbers may be spelled out in a variety of ways. The following sets correspond
|
|
Packit |
95306a |
to the numbers from 1 to 53:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
1mo
|
|
Packit |
95306a |
uno
|
|
Packit |
95306a |
primo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
2do
|
|
Packit |
95306a |
due
|
|
Packit |
95306a |
secondo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
3zo
|
|
Packit |
95306a |
tre
|
|
Packit |
95306a |
terzo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
4to
|
|
Packit |
95306a |
quattro
|
|
Packit |
95306a |
quarto
|
|
Packit |
95306a |
|
|
Packit |
95306a |
5to
|
|
Packit |
95306a |
cinque
|
|
Packit |
95306a |
quinto
|
|
Packit |
95306a |
|
|
Packit |
95306a |
6to
|
|
Packit |
95306a |
sei
|
|
Packit |
95306a |
sesto
|
|
Packit |
95306a |
|
|
Packit |
95306a |
7mo
|
|
Packit |
95306a |
sette
|
|
Packit |
95306a |
settimo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
8vo
|
|
Packit |
95306a |
otto
|
|
Packit |
95306a |
ottavo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
9no
|
|
Packit |
95306a |
nove
|
|
Packit |
95306a |
nono
|
|
Packit |
95306a |
|
|
Packit |
95306a |
10mo
|
|
Packit |
95306a |
dieci
|
|
Packit |
95306a |
decimo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
11mo
|
|
Packit |
95306a |
undici
|
|
Packit |
95306a |
undicesimo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
12mo
|
|
Packit |
95306a |
dodici
|
|
Packit |
95306a |
dodicesimo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
13mo
|
|
Packit |
95306a |
tredici
|
|
Packit |
95306a |
tredicesimo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
14mo
|
|
Packit |
95306a |
quattordici
|
|
Packit |
95306a |
quattordicesimo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
15mo
|
|
Packit |
95306a |
quindici
|
|
Packit |
95306a |
quindicesimo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
16mo
|
|
Packit |
95306a |
sedici
|
|
Packit |
95306a |
sedicesimo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
17mo
|
|
Packit |
95306a |
diciassette
|
|
Packit |
95306a |
diciassettesimo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
18mo
|
|
Packit |
95306a |
diciotto
|
|
Packit |
95306a |
diciottesimo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
19mo
|
|
Packit |
95306a |
diciannove
|
|
Packit |
95306a |
diciannovesimo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
20mo
|
|
Packit |
95306a |
venti
|
|
Packit |
95306a |
ventesimo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
21mo
|
|
Packit |
95306a |
ventuno
|
|
Packit |
95306a |
ventunesimo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
22mo
|
|
Packit |
95306a |
ventidue
|
|
Packit |
95306a |
ventiduesimo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
23mo
|
|
Packit |
95306a |
ventitre
|
|
Packit |
95306a |
ventitreesimo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
24mo
|
|
Packit |
95306a |
ventiquattro
|
|
Packit |
95306a |
ventiquattresimo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
25mo
|
|
Packit |
95306a |
venticinque
|
|
Packit |
95306a |
venticinquesimo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
26mo
|
|
Packit |
95306a |
ventisei
|
|
Packit |
95306a |
ventiseiesimo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
27mo
|
|
Packit |
95306a |
ventisette
|
|
Packit |
95306a |
ventisettesimo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
28mo
|
|
Packit |
95306a |
ventotto
|
|
Packit |
95306a |
ventottesimo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
29mo
|
|
Packit |
95306a |
ventinove
|
|
Packit |
95306a |
ventinovesimo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
3mo
|
|
Packit |
95306a |
trenta
|
|
Packit |
95306a |
trentesima
|
|
Packit |
95306a |
trentesimo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
31mo
|
|
Packit |
95306a |
trentuno
|
|
Packit |
95306a |
trentunesimo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
32mo
|
|
Packit |
95306a |
trentadue
|
|
Packit |
95306a |
trentiduesima
|
|
Packit |
95306a |
|
|
Packit |
95306a |
33mo
|
|
Packit |
95306a |
trentatré
|
|
Packit |
95306a |
trentatre
|
|
Packit |
95306a |
trentitreesime
|
|
Packit |
95306a |
|
|
Packit |
95306a |
34mo
|
|
Packit |
95306a |
trentaquattro
|
|
Packit |
95306a |
trentiquattresimo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
35mo
|
|
Packit |
95306a |
trentacinque
|
|
Packit |
95306a |
trenticinquesima
|
|
Packit |
95306a |
|
|
Packit |
95306a |
36mo
|
|
Packit |
95306a |
trentasei
|
|
Packit |
95306a |
trentiseisima
|
|
Packit |
95306a |
|
|
Packit |
95306a |
37mo
|
|
Packit |
95306a |
trentasette
|
|
Packit |
95306a |
trentisettesima
|
|
Packit |
95306a |
|
|
Packit |
95306a |
38mo
|
|
Packit |
95306a |
trentotto
|
|
Packit |
95306a |
trentiottesime
|
|
Packit |
95306a |
|
|
Packit |
95306a |
39mo
|
|
Packit |
95306a |
trentanove
|
|
Packit |
95306a |
trentinovesime
|
|
Packit |
95306a |
|
|
Packit |
95306a |
40mo
|
|
Packit |
95306a |
quaranta
|
|
Packit |
95306a |
quarantesimo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
41mo
|
|
Packit |
95306a |
quarantuno
|
|
Packit |
95306a |
quarantunesimo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
42mo
|
|
Packit |
95306a |
quarantadue
|
|
Packit |
95306a |
quarantiduesime
|
|
Packit |
95306a |
|
|
Packit |
95306a |
43mo
|
|
Packit |
95306a |
quaranta
|
|
Packit |
95306a |
quarantitreesima
|
|
Packit |
95306a |
|
|
Packit |
95306a |
44mo
|
|
Packit |
95306a |
quarantaquattro
|
|
Packit |
95306a |
quarantiquattresime
|
|
Packit |
95306a |
|
|
Packit |
95306a |
45mo
|
|
Packit |
95306a |
quarantacinque
|
|
Packit |
95306a |
quaranticinquesima
|
|
Packit |
95306a |
|
|
Packit |
95306a |
46mo
|
|
Packit |
95306a |
quarantasei
|
|
Packit |
95306a |
quarantiseisime
|
|
Packit |
95306a |
|
|
Packit |
95306a |
47mo
|
|
Packit |
95306a |
quarantasette
|
|
Packit |
95306a |
quarantisettesimo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
48mo
|
|
Packit |
95306a |
quarantotto
|
|
Packit |
95306a |
quarantiottesima
|
|
Packit |
95306a |
|
|
Packit |
95306a |
49mo
|
|
Packit |
95306a |
quarantanove
|
|
Packit |
95306a |
quarantinovesime
|
|
Packit |
95306a |
|
|
Packit |
95306a |
50mo
|
|
Packit |
95306a |
cinquanta
|
|
Packit |
95306a |
cinquantesimo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
51mo
|
|
Packit |
95306a |
cinquantuno
|
|
Packit |
95306a |
cinquantunesimo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
52mo
|
|
Packit |
95306a |
cinquantadue
|
|
Packit |
95306a |
cinquantiduesime
|
|
Packit |
95306a |
|
|
Packit |
95306a |
53mo
|
|
Packit |
95306a |
cinquantatré
|
|
Packit |
95306a |
cinquantatre
|
|
Packit |
95306a |
cinquantitreesimo
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<Ignored words>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
In writing out dates in common forms, there are a number of words
|
|
Packit |
95306a |
that are typically not important.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
There is frequently a word that appears in a phrase to designate
|
|
Packit |
95306a |
that a time is going to be specified next. In English, you would
|
|
Packit |
95306a |
use the word AT in the example:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
December 3 at 12:00
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The following words may be used:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
alle
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Another word is used to designate one member of a set. In English,
|
|
Packit |
95306a |
you would use the words IN or OF:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
1st day OF December
|
|
Packit |
95306a |
1st day IN December
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The following words may be used:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
della
|
|
Packit |
95306a |
del
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Another word is use to specify that something is on a certain date. In
|
|
Packit |
95306a |
English, you would use ON:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
ON July 5th
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The following words may be used:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
di
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<Words that set the date, time, or both>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
There are some words that can be used to specify a date, a
|
|
Packit |
95306a |
time, or both relative to now.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Words that set the date are similar to the English words 'yesterday'
|
|
Packit |
95306a |
or 'tomorrow'. These are specified as a delta which is added to the
|
|
Packit |
95306a |
current time to get a date. The time is NOT set however, so the delta
|
|
Packit |
95306a |
is only partially used (it should only include year, month, week, and
|
|
Packit |
95306a |
day fields).
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The following words may be used:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
domani +0:0:0:1:0:0:0
|
|
Packit |
95306a |
ieri -0:0:0:1:0:0:0
|
|
Packit |
95306a |
oggi 0:0:0:0:0:0:0
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Words that set only the time of day are similar to the English words
|
|
Packit |
95306a |
'noon' or 'midnight'.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The following words may be used:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
mezzanotte 00:00:00
|
|
Packit |
95306a |
mezzogiorno 12:00:00
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Words that set the entire time and date (relative to the current
|
|
Packit |
95306a |
time and date) are also available.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
In English, the word 'now' is one of these.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The following words may be used:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
adesso 0:0:0:0:0:0:0
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<Hour/Minute/Second separators>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
When specifying the time of day, the most common separator is a colon (:)
|
|
Packit |
95306a |
which can be used for both separators.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Some languages use different pairs. For example, French allows you to
|
|
Packit |
95306a |
specify the time as 13h30:20, so it would use the following pairs:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
: :
|
|
Packit |
95306a |
h :
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The first column is the hour-minute separator and the second column is
|
|
Packit |
95306a |
the minute-second separator. Both are perl regular expressions. When
|
|
Packit |
95306a |
creating a new translation, be aware that regular expressions with utf-8
|
|
Packit |
95306a |
characters may be tricky. For example, don't include the expression '[x]'
|
|
Packit |
95306a |
where 'x' is a utf-8 character.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
A pair of colons is ALWAY allowed for all languages. If a language allows
|
|
Packit |
95306a |
additional pairs, they are listed here:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Not defined in this language
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=item B<Fractional second separator>
|
|
Packit |
95306a |
|
|
Packit |
95306a |
When specifying fractional seconds, the most common way is to use a
|
|
Packit |
95306a |
decimal point (.). Some languages may specify a different separator
|
|
Packit |
95306a |
that might be used. If this is done, it is a regular expression.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
The decimal point is ALWAYS allowed for all languages. If a language allows
|
|
Packit |
95306a |
another separator, it is listed here:
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Not defined in this language
|
|
Packit |
95306a |
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=back
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 KNOWN BUGS
|
|
Packit |
95306a |
|
|
Packit |
95306a |
None known.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 BUGS AND QUESTIONS
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Please refer to the L<Date::Manip::Problems> documentation for
|
|
Packit |
95306a |
information on submitting bug reports or questions to the author.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 SEE ALSO
|
|
Packit |
95306a |
|
|
Packit |
95306a |
L<Date::Manip> - main module documentation
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 LICENSE
|
|
Packit |
95306a |
|
|
Packit |
95306a |
This script is free software; you can redistribute it and/or
|
|
Packit |
95306a |
modify it under the same terms as Perl itself.
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=head1 AUTHOR
|
|
Packit |
95306a |
|
|
Packit |
95306a |
Sullivan Beck (sbeck@cpan.org)
|
|
Packit |
95306a |
|
|
Packit |
95306a |
=cut
|