<xsd:element name="Duration" type="DurationType">
<xsd:annotation>
<xsd:documentation>
<Documentation>
<Description>A duration of elapsed date(s) and/or time.</Description>
<SampleData>P1Y2M3DT10H30M</SampleData>
<CodeListName>ISO 8601</CodeListName>
<Comments>The datatype Duration replicates the datatype as defined by the W3C specification for XML Schema (Part 2 - Datatypes).
The lexical representation is the ISO 8601extended format PnYnMnDTnHnMnS, where nY represents the number of years, nM the number of months, nD the number of days, 'T' is the date/time separator, nH the number of hours, nM the number of minutes and nS the number of seconds. For example, to indicate a duration of 1 year, 2 months, 3 days, 10 hours, and 30 minutes, one would write: P1Y2M3DT10H30M. One could also indicate a duration of minus 120 days as: -P120D.</Comments>
</Documentation>
</xsd:documentation>
</xsd:annotation>
</xsd:element>
|