att.datable.custom

att.datable.custom provides attributes for normalization of elements that contain datable events to a custom dating system (i.e. other than the Gregorian used by W3 and ISO). [13.4. Dates]
Module namesdates
Members att.datable [affiliation author birth change correspAction creation death editor faith floruit idno langKnown location name nationality objectName occupation orgName origin persName placeName residence resp settlement title]
Attributes Attributes
when-custom supplies the value of a date or time in some custom standard form.
Status Optional
Datatype 1–∞ occurrences of teidata.word separated by whitespace
The following are examples of custom date or time formats that are not valid ISO or W3C format normalizations, normalized to a different dating system

<p>Alhazen died in Cairo on the 
         
<date when="1040-03-06" when-custom="431-06-12">
          12th day of Jumada t-Tania, 430 AH
         
</date>.</p>
<p>The current world will end at the 
         
<date when="2012-12-21" when-custom="13.0.0.0.0">end of B'ak'tun 13</date>.</p>
<p>The Battle of Meggidu
         (
<date when-custom="Thutmose_III:23">23rd year of reign of Thutmose III</date>).</p>
<p>Esidorus bixit in pace annos LXX plus minus sub
         
<date when-custom="Ind:4-10-11">die XI mensis Octobris indictione IIII</date>
</p>
Not all custom date formulations will have Gregorian equivalents.The when-custom attribute and other custom dating are not constrained to a datatype by the TEI, but individual projects are recommended to regularize and document their dating formats.
notBefore-custom specifies the earliest possible date for the event in some custom standard form.
Status Optional
Datatype 1–∞ occurrences of teidata.word separated by whitespace
notAfter-custom specifies the latest possible date for the event in some custom standard form.
Status Optional
Datatype 1–∞ occurrences of teidata.word separated by whitespace
from-custom indicates the starting point of the period in some custom standard form.
Status Optional
Datatype 1–∞ occurrences of teidata.word separated by whitespace

<event xml:id="FIRE1" datingMethod="#julian" from-custom="1666-09-02" to-custom="1666-09-05">
   
<head>The Great Fire of London</head>
   
<p>The Great Fire of London burned through a large part 
      of the city of London.
</p>
</event>
to-custom indicates the ending point of the period in some custom standard form.
Status Optional
Datatype 1–∞ occurrences of teidata.word separated by whitespace
datingMethod supplies a pointer to a calendar element or other means of interpreting the values of the custom dating attributes.
Status Optional
Datatype teidata.pointer
Contayning the Originall, Antiquity, Increaſe, Moderne 
           eſtate, and deſcription of that Citie, written in the yeare 
<date when-custom="1598" calendar="#julian" datingMethod="#julian">1598</date>. by Iohn Stow            Citizen of London.
In this example, the calendar attribute points to a calendar element for the Julian calendar, specifying that the text content of the date element is a Julian date, and the datingMethod attribute also points to the Julian calendar to indicate that the content of the when-custom attribute value is Julian too.

<date when="1382-06-28" when-custom="6890-06-20" datingMethod="#creationOfWorld">
        μηνὶ Ἰουνίου εἰς 
<num>κ</num> ἔτους <num>ςωϞ</num>
</date>
In this example, a date is given in a Mediaeval text measured "from the creation of the world", which is normalized (in when) to the Gregorian date, but is also normalized (in when-custom) to a machine-actionable, numeric version of the date from the Creation.
Note
Note that the datingMethod attribute (unlike calendar defined in att.datable) defines the calendar or dating system to which the date described by the parent element is normalized (i.e. in the when-custom or other X-custom attributes), not the calendar of the original date in the element.
Source Github

<classSpec rend="change" module="namesdates" xml:id="DATABLECUSTOM" type="atts" predeclare="true" ident="att.datable.custom">
   
<desc>provides attributes for normalization of elements that contain datable events to a custom dating system
 (i.e. other than the Gregorian used by W3 and ISO).
</desc>
   
<classes/>
   
<attList>
      
<attDef ident="when-custom" usage="opt">
         
<desc>supplies the value of a date or time in some custom standard form.</desc>
         
<datatype minOccurs="1" maxOccurs="unbounded">
            
<dataRef key="teidata.word"/>
         
</datatype>
      
</attDef>
      
<attDef ident="notBefore-custom" usage="opt">
         
<desc>specifies the earliest possible date for the event in some custom standard form.</desc>
         
<datatype minOccurs="1" maxOccurs="unbounded">
            
<dataRef key="teidata.word"/>
         
</datatype>
      
</attDef>
      
<attDef ident="notAfter-custom" usage="opt">
         
<desc>specifies the latest possible date for the event in some custom standard form.</desc>
         
<datatype minOccurs="1" maxOccurs="unbounded">
            
<dataRef key="teidata.word"/>
         
</datatype>
      
</attDef>
      
<attDef ident="from-custom" usage="opt">
         
<desc>indicates the starting point of the period in some custom standard form.</desc>
         
<datatype minOccurs="1" maxOccurs="unbounded">
            
<dataRef key="teidata.word"/>
         
</datatype>
      
</attDef>
      
<attDef ident="to-custom" usage="opt">
         
<desc>indicates the ending point of the period in some custom standard form.</desc>
         
<datatype minOccurs="1" maxOccurs="unbounded">
            
<dataRef key="teidata.word"/>
         
</datatype>
      
</attDef>
      
<attDef ident="datingMethod" usage="opt">
         
<desc>supplies a pointer to a <gi>calendar</gi> element or other
    means of interpreting the values of the custom dating attributes.
</desc>
         
<datatype>
            
<dataRef key="teidata.pointer"/>
         
</datatype>
      
</attDef>
   
</attList>
</classSpec>