The SEDRIS Data Representation Model
APPENDIX A - Classes Absolute Time Point |
---|
An instance of this DRM class is used to specify an absolute time (that is, Greenwich Mean Time (GMT), which is not relative to some other point in time).
<Absolute Time Point> provides
Consider a SEDRIS transmittal constructed from a historical database, in which the time at which an event happened is recorded as Oct 3 17:56:47 GMT 1994. In the SEDRIS transmittal, this information is specified by an <Absolute Time Point> instance with time_significance = SE_TIME_SIGNIFICANCE_OCCURRENCE, as follows.
time_significance | = | SE_TIME_SIGNIFICANCE_OCCURRENCE |
year | = | 1994 |
month | = | SE_MONTH_OCTOBER |
day | = | 3 |
hour | = | 17 |
minutes | = | 56 |
seconds | = | 47.0 |
Consider a SEDRIS transmittal for which the data provider wishes to represent the date and time when the transmittal was created - in this example, Mar 23 15:18:33 GMT 2003. In this case, the data provider would create an <Absolute Time Point> instance with time_significance = SE_TIME_SIGNIFICANCE_CREATION_DATE and the other field values set appropriately, as follows.
time_significance | = | SE_TIME_SIGNIFICANCE_CREATION_DATE |
year | = | 2003 |
month | = | SE_MONTH_MARCH |
day | = | 23 |
hour | = | 15 |
minutes | = | 18 |
seconds | = | 33.0 |
This <Absolute Time Point> instance would then be attached as a component of the transmittal's <Transmittal Root>.
The date and time of observations.
Setting year = -1 indicates this. Please note that this means that an actual date of 1 BCE (before common era) cannot be used. (It is anticipated that the only time a BCE date would be desired would be for astronomical Julian dates).
Setting month = SE_MONTH_ANY indicates this.
Setting day = -1 indicates this.
Setting hour = -1, minutes = -1, and / or seconds = -1 indicates that they are not applicable and are to be ignored.
SE_Time_Significance | time_significance; | (notes) |
---|
SE_Short_Integer | year; | |
---|---|---|
SE_Month | month; | |
SE_Short_Integer | day; | |
SE_Byte | hour; | (notes) |
SE_Byte | minutes; | (notes) |
SE_Long_Float | seconds; | (notes) |
This indicates the significance of the time information.
Use 24 hour clock for hour. The value shall be between -1 and 23, where a value of -1 indicates not applicable.
The value shall be between -1 and 59, where a value of -1 indicates not applicable.
Fractions provide higher accuracy if needed, e.g. milliseconds. -1 is the only negative value, and indicates not applicable.
|