att.datable.w3c

att.datable.w3c indica degli attributi per la normalizzazione di elementi che contengono eventi databili utilizzando i tipi di dati del W3C 3.5.4 Dates and Times 13.3.6 Dates and Times
Modulotei — 1 The TEI Infrastructure
Membri att.datable [ acquisition affiliation age application binding birth bloc climate country custEvent date death district education event faith floruit geogFeat langKnowledge langKnown location nationality occupation orgName origDate origin persName placeName population provenance region relation residence seal settlement sex socecStatus stamp state terrain time trait]
Attributi
periodfornisce un puntatore a una data posizione definendo un determinato periodo di tempo entro il quale l'oggetto da datare è collocabile
Stato Opzionale
Tipo di dati
data.pointer
whenindica il valore di una data o di un orario in un formato standard
Stato Opzionale
Tipo di dati
data.temporal.w3c
Valori A normalized form of temporal expression conforming to the W3C XML Schema Part 2: Datatypes Second Edition.

Examples of W3C date, time, and date & time formats.

<date when="1945-10-24">24 Oct 45</date>
<date when="1996-09-24T07:25:00Z">September 24th, 1996 at 3:25 in the morning</date>
<time when="1999-01-04T20:42:00-05:00">Jan 4 1999 at 8 pm</time>
<time when="14:12:38">fourteen twelve and 38 seconds</time>
<date when="1962-10">October of 1962</date>
<date when="--06-12">June 12th</date>
<date when="---01">the first of the month</date>
<date when="--08">August</date>
<date when="2006">MMVI</date>
<date when="0056">56 AD</date>
<date when="-0056">56 BC</date>
This list begins in
the year 1632, more precisely on Trinity Sunday, i.e. the Sunday after
Pentecost, in that year the <date calendar="Julianwhen="1632-06-06">27th of May (old style)</date>.
<opener>
 <dateline>
  <placeName>Dorchester, Village,</placeName>
  <date when="1828-03-02">March 2d. 1828.</date>
 </dateline>
 <salute>To
   Mrs. Cornell,</salute> Sunday <time when="12:00:00">noon.</time>
</opener>
Nota
The value of the when attribute is a string representing a date or time, or both, in any one of the following forms:
  • a date in any of the standard formats described by XML Schema Part 2: Datatypes Second Edition, i.e. most commonly yyyy-mm-dd, but also yyyy, --mm, ---dd, yyyy-mm, or --mm-dd
  • a time in the standard format described by XML Schema Part 2: Datatypes Second Edition, i.e. hh:mm:ss
  • a combined date and time in any of the standard formats described by XML Schema Part 2: Datatypes Second Edition, i.e. yyyy-mm-ddThh:mm:ss
The value of when is constrained to be in one of the date, time, or combined date & time formats recognized by the W3C XML Schema Part 2: Datatypes specification. This is true whether the date component (if any) is a Gregorian or a proleptic Gregorian date.
At the time of this writing, the W3C does not permit the year 0000, which would normally be used to represent the year 1 BCE. Using the current W3C system, the year 1 BCE is indicated with -0001, the year 2 BCE with -0002, etc.
It is the intention of the XML Schema Working Group to allow 0000 as … the lexical representation of 1 BCE (which is a leap year), -0001 will become the lexical representation of 2 BCE, -0002 of 3 BCE, etc.
Thus in some cases it may be advantageous to use the when-iso attribute to indicate years BCE instead.
notBeforespecifica la prima data possibile per un evento nel formato standard aaaa-mm-gg
Stato Opzionale
Tipo di dati
data.temporal.w3c
Valori A normalized form of temporal expression conforming to the W3C XML Schema Part 2: Datatypes Second Edition.
notAfterspecifica l'ultima data possibile per un evento nel formato standard aaaa-mm-gg
Stato Opzionale
Tipo di dati
data.temporal.w3c
Valori A normalized form of temporal expression conforming to the W3C XML Schema Part 2: Datatypes Second Edition.
fromindica l'inizio del periodo nel formato standard
Stato Opzionale
Tipo di dati
data.temporal.w3c
Valori A normalized form of temporal expression conforming to the W3C XML Schema Part 2: Datatypes Second Edition.
toindica la fine del periodo nel formato standard
Stato Opzionale
Tipo di dati
data.temporal.w3c
Valori A normalized form of temporal expression conforming to the W3C XML Schema Part 2: Datatypes Second Edition.