complexType "DateType"
Namespace:
Content:
complex, 9 elements
Defined:
globally in reusable.xsd; see XML source
Includes:
definitions of 9 elements
Used:
XML Representation Summary
<...>
   
Content: 
</...>
Content Model Elements (9):
Cycle, EndDate, EndDate, HistoricalDate, HistoricalEndDate, HistoricalEndDate, HistoricalStartDate, SimpleDate, StartDate
Known Direct Subtypes (3):
AccessRestrictionDateType, DataCollectionFrequencyType, ReferenceDateType
All Direct / Indirect Based Elements (8):
AccessRestrictionDate, DataCollectionDate, DataCollectionFrequency, Date, EffectivePeriod, GeographicTime, PublicationDate, ReferenceDate
Known Usage Locations
Annotation
Provides the structure of a Date element, which allows a choice between single, simple dates (of BaseDateType) or date ranges. If the Date element contains a range, Cycle may be used to indicate occurrence of this range within a series of ranges as an integer identifying the cycle, i.e. the 4th wave of a data collection cycle would have <Cycle>4</Cycle>. ISO-formatted dates are required for all standard date fields; a historically-formatted date may also be provided to reflect the specific content of a legacy document or common practice within an agency or for publication. All uses of DateType should be optional.
XML Source (w/o annotations (10); see within schema source)
<xs:complexType name="DateType">
<xs:sequence>
<xs:choice>
<xs:sequence>
<xs:element ref="SimpleDate"/>
<xs:element minOccurs="0" ref="HistoricalDate"/>
</xs:sequence>
<xs:sequence>
<xs:element ref="StartDate"/>
<xs:element minOccurs="0" ref="HistoricalStartDate"/>
<xs:element minOccurs="0" ref="EndDate"/>
<xs:element minOccurs="0" ref="HistoricalEndDate"/>
<xs:element minOccurs="0" name="Cycle" type="xs:integer"/>
</xs:sequence>
<xs:sequence>
<xs:element ref="EndDate"/>
<xs:element minOccurs="0" ref="HistoricalEndDate"/>
</xs:sequence>
</xs:choice>
</xs:sequence>
</xs:complexType>
Content Element Detail (all declarations; defined within this component only; 9/9)
Cycle
Type:
xs:integer, predefined, simple content
Use to indicate occurrence of this range within a series of ranges as an integer identifying the cycle, i.e. the 4th wave of a data collection cycle would have <Cycle>4</Cycle>.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="Cycle" type="xs:integer"/>

EndDate
Type:
BaseDateType, simple content
End of a date range with a known start date.
Simple Content
xs:dateTime | xs:date | xs:gYearMonth | xs:gYear | xs:duration
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="EndDate"/>

EndDate
Type:
BaseDateType, simple content
This is the End date of a range for which the Start Date is unknown. For example an embargo may have only an end date. In some cases only the end date is known. This implies that the start date is unknown but that the date being recorded is not just a simple date but a range of unknown duration with a known end date.
Simple Content
xs:dateTime | xs:date | xs:gYearMonth | xs:gYear | xs:duration
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="EndDate"/>

HistoricalDate
Type:
HistoricalDateType, complex content
A simple date expressed in a historical date format, including a specification of the date format and calendar used.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="HistoricalDate"/>

HistoricalEndDate
Type:
HistoricalDateType, complex content
An end date expressed in a historical date format, including a specification of the date format and calendar used.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="HistoricalEndDate"/>

HistoricalEndDate
Type:
HistoricalDateType, complex content
An end date of a range for which the start date is unknown expressed in a historical date format, including a specification of the date format and calendar used.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="HistoricalEndDate"/>

HistoricalStartDate
Type:
HistoricalDateType, complex content
A start date expressed in a historical date format, including a specification of the date format and calendar used.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="HistoricalStartDate"/>

SimpleDate
Type:
BaseDateType, simple content
A single point in time. If a duration is expressed as a SimpleDate it is defining a period of time without a designated Start or End date.
Simple Content
xs:dateTime | xs:date | xs:gYearMonth | xs:gYear | xs:duration
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="SimpleDate"/>

StartDate
Type:
BaseDateType, simple content
Start of a date range. If there is a start date with no end date provided, this implies that the end date is unknown but that the date being recorded is not just a simple date but a range of unknown duration.
Simple Content
xs:dateTime | xs:date | xs:gYearMonth | xs:gYear | xs:duration
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="StartDate"/>

XML schema documentation generated with DocFlex/XML RE 1.9.0 using DocFlex/XML XSDDoc 2.8.0 template set