source |
<xs:simpleType name="DurationType">
<xs:annotation>
<xs:documentation>Length or distance in the temporal dimension. [ISO 19108, chapter 5.2.3.7]
Duration has no reference to start or stop times.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:duration">
<xs:pattern value="-?P([0-9]+Y)?([0-9]+M)?([0-9]+D)?(T([0-9]+H)?([0-9]+M)?([0-9]+S)?)?"/>
</xs:restriction>
</xs:simpleType> |