complexType "DateType"
Namespace: |
|
Content: |
|
Defined: |
|
Includes: |
|
Used: |
|
XML Representation Summary |
<...> |
|
|
</...> |
Content Model Elements (1):
-
Known Direct Subtypes (3):
-
All Direct / Indirect Based Elements (18):
-
AccessRestrictionDate,
ActivityDate,
ApplicationDate,
ApprovalDate,
ApprovedPeriod,
DataCollectionDate,
DataCollectionFrequency,
Date,
DateOfSample,
EffectivePeriod,
FundingPeriod,
GeographicTime,
PublicationDate,
ReferenceDate,
ReferencePeriod,
ResultsDate,
TimePeriod,
ValidPeriod
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:sequence>
<xs:choice>
<xs:sequence>
</xs:sequence>
<xs:sequence>
<xs:element ref="StartDate"/>
<xs:element minOccurs="0" ref="EndDate"/>
<xs:element minOccurs="0" name="Cycle" type="xs:integer"/>
</xs:sequence>
<xs:sequence>
</xs:sequence>
</xs:choice>
</xs:sequence>
</xs:complexType>
|
Content Element Detail (all declarations; defined within this component only; 9/9)
-
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"/>
|
-
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"/>
|
-
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)
-
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)
-
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)
-
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)
-
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)
-
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)
-
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)