| 1 | === Base Template !TimeRepresentation === |
| 2 | |
| 3 | [[br]]This is a template for stating the coordinates of points in time. |
| 4 | [[br]] |
| 5 | [[br]]!PointInTime(a, b, c, d, e, f, g) means that a is a representation of a point in time, b, c, d, e, and f are integer numbers, and g a real number, and that the coordinates of a are given by b representing the year, c the month, d the day, e the hour, f the minute, and g the second of a. |
| 6 | [[br]] |
| 7 | [[br]]Roles: |
| 8 | [[br]]1 hasTime !RepresentationOfGregorianDateAndUtcTime |
| 9 | [[br]]2 valYear INTEGER |
| 10 | [[br]]3 valMonth INTEGER |
| 11 | [[br]]4 valDay INTEGER |
| 12 | [[br]]5 valHour INTEGER |
| 13 | [[br]]6 valMinute INTEGER |
| 14 | [[br]]7 valSecond REAL |
| 15 | |
| 16 | Axiom: |
| 17 | {{{ |
| 18 | TimeRepresentation(x1, x2, x3, x4, x5, x6, x7) <-> |
| 19 | RepresentationOfGregorianDateAndUtcTime(x1) & |
| 20 | INTEGER(x2) & |
| 21 | INTEGER(x3) & |
| 22 | INTEGER(x4) & |
| 23 | INTEGER(x5) & |
| 24 | INTEGER(x6) & |
| 25 | REAL(x7) & |
| 26 | hasYear(x1, x2) & |
| 27 | hasMonth(x1, x3) & |
| 28 | hasDay(x1, x4) & |
| 29 | hasHour(x1, x5) & |
| 30 | hasMinute(x1, x6) & |
| 31 | hasSecond(x1, x7) . |
| 32 | }}} |
| 33 | |
| 34 | NOTE This template provides a pattern for defining points in time. While the entity type !RepresentationOfGregorianDateAndUtcTime has all attributes except hasYear optional, none are optional in the template. |