opencimi / AML

Archetype Modeling Language development repository
4 stars 5 forks source link

DTV and Primitives Time #89

Open neuronsong opened 9 years ago

neuronsong commented 9 years ago

Represents an absolute point in time from an origin usually interpreted as meaning the start of the current day, specified to the second.

C_TIME

ISO 8601-compatible constraint on instances of Time in the form either of a set of validity values, or else date ranges based on the C_ORDERED list constraint. There is no validity flag for ‘hour’, since it must always be by definition mandatory in order to have a sensible time at all. Syntax expressions of instances of this class include “HH:??:xx” (time with optional minutes and seconds not allowed). The lexical representation for XSD time is the left truncated lexical representation for dateTime: hh:mm:ss.sss with optional following time zone indicator. Thus, the optional minutes and seconds values are outside the value space for XSD/DTV time and requires that the type is a unique AOM type.