Definition Type: ComplexType
Name: DateTimeSpanType
Containing Schema: OTA_CommonTypes.xsd
Abstract
Documentation:
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.
Collapse XSD Schema Diagram:
Drilldown into EndDateWindow in schema ota_commontypes_xsd Drilldown into StartDateWindow in schema ota_commontypes_xsd Drilldown into DateWindowRange in schema ota_commontypes_xsd Drilldown into End in schema ota_commontypes_xsd1 Drilldown into Duration in schema ota_commontypes_xsd1 Drilldown into Start in schema ota_commontypes_xsd1 Drilldown into DateTimeSpanGroup in schema ota_commontypes_xsdXSD Diagram of DateTimeSpanType in schema ota_commontypes_xsd1 (Open Travel (OTA))
Collapse XSD Schema Code:
<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>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
DateWindowRange DateWindowRange (1) (1)
StartDateWindow StartDateWindow 0 (1)
EndDateWindow EndDateWindow 0 (1)
Collapse Child Attributes:
Name Type Default Value Use
Start Start Optional
Duration Duration Optional
End End Optional
Collapse Derivation Tree:
  • DateTimeSpanType
    • Unresolved link to sailingdaterange
    • Unresolved link to staydaterange
    • Unresolved link to staydaterange1
    • Unresolved link to timespan
    • Unresolved link to timespan3
    • Unresolved link to closedseason1
    • Unresolved link to date15
    • Unresolved link to date18
    • Unresolved link to date19
    • Unresolved link to timespan5
    • Unresolved link to inhousetimespan1
    • Unresolved link to date20
    • Unresolved link to availabledaterange1
    • Unresolved link to offereddaterange
    • Unresolved link to daterange1
    • Unresolved link to daterange3
    • Unresolved link to date24
    • Unresolved link to daterange6
    • Unresolved link to daterange12
    • Unresolved link to searchdaterange
Collapse References:
Unresolved link to availabledaterange1, BlackoutDate, Unresolved link to closedseason1, Unresolved link to date15, Unresolved link to date18, Unresolved link to date19, Unresolved link to date20, Unresolved link to date24, Unresolved link to daterange1, Unresolved link to daterange12, Unresolved link to daterange3, Unresolved link to daterange6, Unresolved link to inhousetimespan1, Unresolved link to offereddaterange, Unresolved link to sailingdaterange, Unresolved link to searchdaterange Unresolved link to staydaterange, Unresolved link to staydaterange1, Unresolved link to timespan, Unresolved link to timespan3, Unresolved link to timespan5,