Definition Type: Element
Name: Duration
Namespace: urn:cidx:names:specification:ces:schema:all:4:0
Type: nsA:DurationType
Containing Schema: CIDX_CeS_v4.0_CommonComponents.xsd
Abstract
Documentation:
A duration of elapsed date(s) and/or time. P1Y2M3DT10H30M ISO 8601 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.
Collapse XSD Schema Diagram:
XSD Diagram of Duration in schema cidx_ces_v4_0_commoncomponents_xsd (CIDX eChemical Standard)
Collapse XSD Schema Code:
<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>
Collapse Derivation Tree: