Temporal represents a point on the time-line - absolute (instant) or relative to another temporal (base and offset).

Supertypes

Subtypes

Referrers

Uses

  • Temporal

An absolute point on the time-line. E.g. 2021/07/04.

Type Instant
Cardinality 0..1
Changeable true
Derived false

Time offset from the base in ISO-8601 durations format.

Examples:

  • P1H for one hour later.
  • -P20D or P-20D for 20 days before. Can be null (zero), e.g. if one period starts right after another period ends.
Type Duration
Cardinality 0..1
Changeable true
Derived false

Base of this temporal.

Type Temporal
Cardinality 0..1
Changeable true
Derived false
Opposite derivatives

Temporals which are based on this temporal.

Type Temporal
Cardinality 0..*
Changeable true
Derived true
Opposite base

Lower bounds of a temporal. E.g. exact time of some temporal might not be known at a moment, but it might be known that it should not be before than some other temporal - a lower bound. Lower bounds are used in validations and before/after computations.

Type Temporal
Cardinality 0..*
Changeable true
Derived false

Upper bounds of a temporal. E.g. exact time of some temporal might not be known at a moment, but it might be known that it should not be after some other temporal - an upper bound. Upper bounds are used in validations and before/after computations.

Type Temporal
Cardinality 0..*
Changeable true
Derived false

Tests if this temporal is after the specified temporal. Returns null if unknown, i.e. two unrelated points in time.

Type EBooleanObject
Cardinality 0..1

Parameters

Type Temporal
Cardinality 0..1

Tests if this temporal is before the specified temporal. Returns null if unknown, i.e. two unrelated points in time.

Type EBooleanObject
Cardinality 0..1

Parameters

Type Temporal
Cardinality 0..1

Tests if this temporal occurs at the same point on the time-line as the specified temporal. Returns null if unknown, i.e. two unrelated points in time.

Type EBooleanObject
Cardinality 0..1

Parameters

Type Temporal
Cardinality 0..1

Returns a deep copy of self with bounds copied. Other containment references are not set.

Type Temporal
Cardinality 0..1

Returns duration difference between this temporal and the argument temporal - how much this temporal is after the argument on the time-line, if difference can be computed, i.e. both this temporal and the argument temporal are instant or trace to the same base temporal. Returns null otherwise.

Type Duration
Cardinality 0..1

Parameters

Type Temporal
Cardinality 0..1

Returns a temporal based on this one offset by negation of the argument duration. Null duration is treated as zero and set as-is (not negated).

Type Temporal
Cardinality 0..1

Parameters

Type Duration
Cardinality 0..1

Returns a normalized instance of this temporal not contained in the model. Normalization walks through the temporal chain from a temporal to its base to the root temporal. If that root temporal is instant/absolute then the normalized instance would be instant/absolute. Otherwise the normalized instance would contain the root temporal as its base and the offset would be the sum of all offsets.

Type Temporal
Cardinality 0..1

Returns a temporal based on this one offset by the argument duration. Duration can be null - in this case it is treated as zero.

Type Temporal
Cardinality 0..1

Parameters

Type Duration
Cardinality 0..1