RelativeTime
Type CDM 7.2.0Defines a time value calculated relative to a reference time. The final value is derived by applying any offset and rounding rules inherited from RelativeTimeOffset to the reference time.
Attributes
1 declared on RelativeTime, 3 inherited. Cardinality in amber is required.
| Name | Type | Card. | Description | From |
|---|---|---|---|---|
| offsetTimeUnit | TimeUnitEnum | 0..1 | The unit of time for the offset (e.g., seconds, minutes, hours, days). | RelativeTimeOffset |
| offsetMultiplier | int | 0..1 | A time offset multiplier, e.g. 1, 2 or 3 etc. A negative value can be used when specifying a negative offset, e.g. -2 hours. | RelativeTimeOffset |
| rounding | TimeRounding | 0..1 | Optional rules that define how the calculated time should be rounded after the offset has been applied. | RelativeTimeOffset |
| timeRelativeTo | TimeZone | 0..1 | The reference time zone or base time from which the relative time is calculated. | — |
Referenced by
1 type holds a RelativeTime as an attribute.
Open RelativeTime in the Model Browser
Walk the tree and the reference graph interactively, and switch releases to see how the type has changed. Free, no signup.