2.2.4.28 t:Duration Complex Type
The Duration complex type specifies a time interval.
-
<xs:complexType name="Duration"> <xs:sequence> <xs:element name="StartTime" type="xs:dateTime" maxOccurs="1" minOccurs="1" /> <xs:element name="EndTime" type="xs:dateTime" maxOccurs="1" minOccurs="1" /> </xs:sequence> </xs:complexType>
The following table lists the child elements of the Duration complex type.
Element name |
Type |
Description |
---|---|---|
StartTime |
xs:dateTime ([XMLSCHEMA2]) |
Specifies the start of a time period. This element MUST be present. |
EndTime |
xs:dateTime |
Specifies the end of a time period. This element MUST be present. |
Restriction: The value of the EndTime element MUST be greater than the value of the StartTime element. Also, the specified times MUST be in Coordinated Universal Time (UTC).