TimePeriod
| Elements | Definition and Recommended Practice | ||
|---|---|---|---|
| 1 | description | 0..1 | Textual description of the date and time documented. |
| 2 | descriptionReference | 0..1 | |
| 3 | identifier | 0..1 | |
| 4 | name | 0..* | |
| 5 | beginPosition | 1 | The beginning date or date and time of the resource contents. Use the ISO 8601 extended standard: YYY-MM-DD or YYY-MM-DDThh:mm:ssZ. Example: 2010-06-05T12:00:17. If you don't know the start date, then use the indeterminatePosition attribute. Example: <gml:beginPosition indeterminatePosition="unknown"/> |
| 6 | endPosition | 1 | The ending date or date and time of the resource contents. Use the ISO 8601 extended standard: YYY-MM-DD or YYY-MM-DDThh:mm:ssZ . If the resource has a status of 'ongoing' then use the indeterminatePosition attribute without an end date value. Example: <gml:beginPosition indeterminatePosition="unknown/> <gml:endPosition indeterminatePosition="now"/> </code> |
| 7 | duration | 0..1 | Length of time between measurements. Use the ISO 8601 syntax for temporal length. Provide either duration or time interval if applicable. Example: <gml:duration>P1D</gml:duration> |
| 8 | timeInterval | 0..1 | Frequency between time events based on floating point values for temporal length. Provide either duration or time interval if applicable.
Example: <gml:timeInterval unit="hour"> 6 </gml:timeInterval> |
More Information
| UML | |
|---|---|
| Links | |
| Examples |
<gml:TimePeriod gml:id="ID006"> <gml:beginPosition>1846</gml:beginPosition> <gml:endPosition indeterminatePosition="now"/> </gml:TimePeriod> <gml:TimePeriod gml:id="ID003"> <gml:beginPosition>1992-01-01T00:00:00Z</gml:beginPosition> <gml:endPosition>2007-12-31T00:00:00Z</gml:endPosition> <gml:timeInterval unit="hour">6</gml:timeInterval> </gml:TimePeriod> |