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

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

gml:TimeClock

A clock provides a basis for defining temporal position within a day. A clock shall be used with a calendar in order to provide a complete description of a temporal position within a specific day.
gml:TimeClock adds the following properties to those inherited from gml:TimeReferenceSystemType:
-	gml:referenceEvent is the name or description of an event, such as solar noon or sunrise, which fixes the position of the base scale of the clock.
-	gml:referenceTime specifies the time of day associated with the reference event expressed as a time of day in the given clock. The reference time is usually the origin of the clock scale. 
-	gml:utcReference specifies the 24 hour local or UTC time that corresponds to the reference time.
-	gml:dateBasis contains or references the calendars that use this clock.

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

Substitution hierarchy

Sample instance

<gml:TimeClock 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:domainOfValidity>string</gml:domainOfValidity>
   <gml:referenceEvent>string</gml:referenceEvent>
   <gml:referenceTime>12:00:00</gml:referenceTime>
   <gml:utcReference>12:00:00</gml:utcReference>
   <gml:dateBasis>
      <gml:TimeCalendar 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:remarks>string</gml:remarks>
         <gml:domainOfValidity>string</gml:domainOfValidity>
         <gml:referenceFrame>...
         </gml:referenceFrame>
      </gml:TimeCalendar>
   </gml:dateBasis>
</gml:TimeClock>