att.datable

att.datable provides attributes for normalization of elements that contain dates, times, or datable events. [3.6.4. Dates and Times 13.4. Dates]
Module tei
Members 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 att.datable.w3c (when, notBefore, notAfter, from, to) att.datable.custom (when-custom, notBefore-custom, notAfter-custom, from-custom, to-custom, datingMethod)
calendar indicates one or more systems or calendars to which the date represented by the content of this element belongs.
Status Optional
Datatype 1–∞ occurrences of teidata.pointer separated by whitespace
Schematron
<sch:rule context="tei:*[@calendar]"> <sch:assert test="string-length( normalize-space(.) ) gt 0"> @calendar indicates one or more systems or calendars to which the date represented by the content of this element belongs, but this <sch:name/> element has no textual content.</sch:assert> </sch:rule>
He was born on <date calendar="#gregorian">Feb. 22, 1732</date>  (<date calendar="#julian" when="1732-02-22">Feb. 11, 1731/32,
           O.S.
</date>).        

He was born on 
<date calendar="#gregorian #julian" when="1732-02-22">Feb. 22, 1732 
   (Feb. 11, 1731/32, O.S.)
</date>.        
Note
Note that the calendar attribute (unlike datingMethod defined in att.datable.custom) defines the calendar system of the date in the original material defined by the parent element, not the calendar to which the date is normalized.
Note
This superclass provides attributes that can be used to provide normalized values of temporal information. By default, the attributes from the att.datable.w3c class are provided. If the module for names & dates is loaded, this class also provides attributes from the att.datable.iso and att.datable.custom classes. In general, the possible values of attributes restricted to the W3C datatypes form a subset of those values available via the ISO 8601 standard. However, the greater expressiveness of the ISO datatypes may not be needed, and there exists much greater software support for the W3C datatypes.
Source Github

<classSpec rend="change" module="tei" type="atts" xml:id="DATABLE" ident="att.datable">
   
<desc>provides attributes for normalization of elements
that contain dates, times, or datable events.
</desc>
   
<classes>
      
<memberOf key="att.datable.w3c"/>
      
<memberOf key="att.datable.custom"/>
   
</classes>
   
<attList>
      
<attDef ident="calendar" usage="opt">
         
<desc>indicates one or more systems or calendars to which the
    date represented by the content of this element belongs.
</desc>
         
<datatype minOccurs="1" maxOccurs="unbounded">
            
<dataRef key="teidata.pointer"/>
         
</datatype>
      
</attDef>
   
</attList>
</classSpec>