2.2.5.87 ser:duration

The ser:duration simple type represents an interval of time that is specified as a positive or negative number of days, hours, minutes, seconds and fractions of a second.

 <xs:simpleType name="duration">
   <xs:restriction base="xsd:duration">
     <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
     <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
     <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
   </xs:restriction>
 </xs:simpleType>