2.2.4.2 t:RulePredicateDateRangeType Complex Type

The RulePredicateDateRangeType complex type specifies the date range in the RulePredicatesType complex type.

 <xs:complexType name="RulePredicateDateRangeType">
   <xs:sequence>
     <xs:element name="StartDateTime"
       type="xs:dateTime"
       minOccurs="0"
       maxOccurs="1"
      />
     <xs:element name="EndDateTime"
       type="xs:dateTime"
       minOccurs="0"
       maxOccurs="1"
      />
   </xs:sequence>
 </xs:complexType>
  

The following table lists the child elements of the RulePredicateDateRangeType complex type.

Element name

Type

Description

StartDateTime

xs:dateTime ([XMLSCHEMA2])

Specifies the rule (2) time period and indicates that the rule (2) condition is met after this value.

EndDateTime

xs:dateTime

Specifies the rule (2) time period and indicates that the rule (2) condition is met before this value.

This complex type MUST contain a StartDateTime or an EndDateTime element and can contain both a StartDateTime and an EndDateTime element.

The time period specified by the StartDateTime element MUST NOT be after the time period specified by the EndDateTime element.