Schema Central > niem41 > temporalReferenceSystems.xsd > gml:TimeCalendarEra
Advanced search
Need NIEM Help?

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

gml:TimeCalendarEra

gml:TimeCalendarEra inherits basic properties from gml:DefinitionType and has the following additional properties:
-	gml:referenceEvent is the name or description of a mythical or historic event which fixes the position of the base scale of the calendar era.  This is given as text or using a link to description held elsewhere.
-	gml:referenceDate specifies the date of the referenceEvent expressed as a date in the given calendar.  In most calendars, this date is the origin (i.e., the first day) of the scale, but this is not always true.
-	gml:julianReference specifies the Julian date that corresponds to the reference date.  The Julian day number is an integer value; the Julian date is a decimal value that allows greater resolution.  Transforming calendar dates to and from Julian dates provides a relatively simple basis for transforming dates from one calendar to another.
-	gml:epochOfUse is the period for which the calendar era was used as a basis for dating.

Element information

Content

Attributes

NameOccTypeDescriptionNotes
gml:id [1..1]xsd:IDThe attribute gml:id supports provision of a handle for the XML element representing a GML Object. Its use is mandatory for all GML objects. It is of XML type ID, so is constrained to be unique in the XML document within which it occurs.from type gml:DefinitionBaseType

Used in

Sample instance

<gml:TimeCalendarEra gml:id="ID">
   <gml:metaDataProperty>
      <gml:GenericMetaData>Any text, intermingled with:
         <!--any element-->
      </gml:GenericMetaData>
   </gml:metaDataProperty>
   <gml:description>string</gml:description>
   <gml:descriptionReference/>
   <gml:identifier codeSpace="http://www.example.com/">string</gml:identifier>
   <gml:name>string</gml:name>
   <gml:remarks>string</gml:remarks>
   <gml:referenceEvent>string</gml:referenceEvent>
   <gml:referenceDate>2000-01-01</gml:referenceDate>
   <gml:julianReference>1.0</gml:julianReference>
   <gml:epochOfUse>
      <gml:TimePeriod gml:id="ID">
         <gml:metaDataProperty>...
         </gml:metaDataProperty>
         <gml:description>string</gml:description>
         <gml:descriptionReference/>
         <gml:identifier codeSpace="http://www.example.com/">string</gml:identifier>
         <gml:name>string</gml:name>
         <gml:relatedTime>...
         </gml:relatedTime>
         <gml:beginPosition>12:00:00</gml:beginPosition>
         <gml:endPosition>12:00:00</gml:endPosition>
         <gml:duration>P1Y2M3DT10H</gml:duration>
      </gml:TimePeriod>
   </gml:epochOfUse>
</gml:TimeCalendarEra>