Schema Central > NIEM 3.0 > temporal.xsd > gml:timeInterval
Advanced search
Need NIEM Help?

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

gml:timeInterval

 gml:timeInterval conforms to ISO 11404 which is based on floating point values for temporal length.
ISO 11404 syntax specifies the use of a positiveInteger together with appropriate values for radix and factor. The resolution of the time interval is to one radix ^(-factor) of the specified time unit.
The value of the unit is either selected from the units for time intervals from ISO 31-1:1992, or is another suitable unit.  The encoding is defined for GML in gml:TimeUnitType. The second component of this union type provides a method for indicating time units other than the six standard units given in the enumeration.

Element information

Type: gml:TimeIntervalLengthType

Properties: Global, Qualified

Content

  • xsd:decimal
  • Attributes

    NameOccTypeDescriptionNotes
    unit [1..1]gml:TimeUnitType
    radix [0..1]xsd:positiveInteger
    factor [0..1]xsd:integer

    Used in

    Sample instance

    <gml:timeInterval unit="year">1.0</gml:timeInterval>

    Site developed and hosted by Datypic, Inc.

    Please report errors or comments about this site to pwalmsley@datypic.com