This constraint forces an observation to be made (attribute type="include", the default) or not to be made (attribute type="exclude") between two given dates and times (expressed as ISO DateTime's). The maxDuration and minDuration attributes are used by servers to indicate explicitly over what timescales they are willing to enable the constraint. |
QName | Type | Fixed | Default | Use | Inheritable | Annotation |
---|---|---|---|---|---|---|
id | xs:ID | optional | ||||
maxDuration | xs:duration | optional | ||||
minDuration | xs:duration | optional | ||||
rdf | xs:anyURI | optional | ||||
ref | xs:IDREF | optional | ||||
type | restriction of xs:string | include | optional | |||
uref | UniqueNamesSimpleType | optional |
<xs:complexType name="DateTimeConstraintComplexType"> <xs:annotation> <xs:documentation>This constraint forces an observation to be made (attribute type="include", the default) or not to be made (attribute type="exclude") between two given dates and times (expressed as ISO DateTime's). The maxDuration and minDuration attributes are used by servers to indicate explicitly over what timescales they are willing to enable the constraint.</xs:documentation> </xs:annotation> <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:element name="DateTimeStart" type="DateTimeComplexType"/> <xs:element name="DateTimeEnd" type="DateTimeComplexType"/> <xs:element name="Description" type="DescriptionComplexType"/> <xs:any namespace="##other" processContents="strict"/> </xs:choice> <xs:attribute name="type" default="include"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:enumeration value="include"/> <xs:enumeration value="exclude"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="maxDuration" type="xs:duration"/> <xs:attribute name="minDuration" type="xs:duration"/> <xs:attributeGroup ref="RTMLAttributes"/> </xs:complexType> |