<?xml version="1.0" encoding="UTF-8"?>
<!-- © TEI Consortium. Dual-licensed under CC-by and BSD2 licenses; see the file COPYING.txt for details. -->
<?xml-model href="https://jenkins.tei-c.org/job/TEIP5-dev/lastSuccessfulBuild/artifact/P5/release/xml/tei/odd/p5.nvdl" type="application/xml" schematypens="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"?>
<dataSpec xmlns="http://www.tei-c.org/ns/1.0" module="tei" ident="teidata.temporal.working">
  <desc versionDate="2020-11-19" xml:lang="en">defines the range of
    values, conforming to the W3C <ref target="#XSD2">XML Schema Part 2:
  Datatypes Second Edition</ref> specification, expressing a date or
  a date and a time within the working life of the document.</desc>
  <content>
    <alternate>
      <dataRef name="date" restriction="(19[789][0-9]|[2-9][0-9]{3}).*"/>
      <dataRef name="dateTime" restriction="(19[789][0-9]|[2-9][0-9]{3}).*"/>
      <!--
	  Note: the idea behind the regular expression used above is
	  to constrain only the first 4 characters of the value, i.e.
	  the year; let the standard named datatype constrain the
	  rest.
      -->
    </alternate>
  </content>
  <remarks versionDate="2020-11-19" xml:lang="en">
    <p>If it is likely that the value used is to be compared with
    another, then a time zone indicator should always be included, and
    only the dateTime representation should be used.</p>
    <p>The earliest time expressable with this datatype is 01 January
    1970 (the Unix Epoch), which could be written as either 1970-01-01
    or 1970-01-01T00:00:00Z.</p>
  </remarks>
</dataSpec>
