simpleType CombinedDateType
namespace http://metadata.dod.mil/mdr/ns/DDMS/3.0/
type union of (xsd:dateTime, xsd:date, xsd:gYearMonth, xsd:gYear)
used by
simpleType ExtendedCombinedDateType
attributes DatesType/@created DatesType/@infoCutOff Dates/@dateApproved DatesType/@posted DatesType/@validTil
annotation
appinfo
<mdr:definition>The type used to support the range of date representations.</mdr:definition>
<mdr:comment>
Recommended practice is that date be specified in one of the following formats:
YYYYYYYY-MM
YYYY-MM-DD
YYYY-MM-DDThh:mmTZD
YYYY-MM-DDThh:mm.ssTZD
YYYY-MM-DDThh:mm:ss.sTZD
Where:YYYY 0000 through current year
MM 01 through 12  (month)
DD 01 through 31  (day)
hh 00 through 24  (hour)
mm 00 through 59  (minute)
ss 00 through 60  (second)
.s .0 through 999 (fractional second)

This profile suggests two ways of handling time zone offsets:   1. Times are expressed in UTC (Coordinated Universal Time), with a special UTC designator ("Z").   2. Times are expressed in local time, together with a time zone offset in hours and minutes. A time zone offset of "+hh:mm" indicates that the date/time uses a local time zone which is "hh" hours and "mm" minutes ahead of UTC. A time zone offset of "-hh:mm" indicates that the date/time uses a local time zone which is "hh" hours and "mm" minutes behind UTC.
</mdr:comment>
source <xsd:simpleType name="CombinedDateType">
 
<xsd:annotation>
   
<xsd:appinfo>
     
<mdr:definition>The type used to support the range of date representations.</mdr:definition>
     
<mdr:comment>
Recommended practice is that date be specified in one of the following formats:
YYYYYYYY-MM
YYYY-MM-DD
YYYY-MM-DDThh:mmTZD
YYYY-MM-DDThh:mm.ssTZD
YYYY-MM-DDThh:mm:ss.sTZD
Where:YYYY 0000 through current year
MM 01 through 12  (month)
DD 01 through 31  (day)
hh 00 through 24  (hour)
mm 00 through 59  (minute)
ss 00 through 60  (second)
.s .0 through 999 (fractional second)

This profile suggests two ways of handling time zone offsets:   1. Times are expressed in UTC (Coordinated Universal Time), with a special UTC designator ("Z").   2. Times are expressed in local time, together with a time zone offset in hours and minutes. A time zone offset of "+hh:mm" indicates that the date/time uses a local time zone which is "hh" hours and "mm" minutes ahead of UTC. A time zone offset of "-hh:mm" indicates that the date/time uses a local time zone which is "hh" hours and "mm" minutes behind UTC.
</mdr:comment>
   
</xsd:appinfo>
 
</xsd:annotation>
 
<xsd:union memberTypes="xs:dateTime xs:date xs:gYearMonth xs:gYear"/>
</xsd:simpleType>


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy