<xs:complexType name="DateTimeSpanType">
<xs:annotation>
<xs:documentation xml:lang="en">Used to specify a time window range by either specifying an earliest and latest date for the start date and end date or by giving a date with a time period that can be applied before and/or after the start date.</xs:documentation>
</xs:annotation>
<xs:choice>
<xs:element name="DateWindowRange" type="TimeInstantType">
<xs:annotation>
<xs:documentation xml:lang="en">Specifies a time period that can be applied before and/or after the start date.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:sequence>
<xs:element name="StartDateWindow" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">The earliest and latest dates acceptable for the start date.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attributeGroup ref="TimeWindowGroup">
<xs:annotation>
<xs:documentation xml:lang="en">Identifies a date range.</xs:documentation>
</xs:annotation>
</xs:attributeGroup>
</xs:complexType>
</xs:element>
<xs:element name="EndDateWindow" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">The earliest and latest dates acceptable for the end date.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attributeGroup ref="TimeWindowGroup">
<xs:annotation>
<xs:documentation xml:lang="en">Identifies a date range.</xs:documentation>
</xs:annotation>
</xs:attributeGroup>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:choice>
<xs:attributeGroup ref="DateTimeSpanGroup">
<xs:annotation>
<xs:documentation xml:lang="en">Defines the date and/or time span.</xs:documentation>
</xs:annotation>
</xs:attributeGroup>
</xs:complexType>
|