The SEDRIS Data Representation Model
APPENDIX B - Constraints
Time Dependency

Definition

<Relative Time> instances, <Absolute Time Interval> instances, and <Relative Time Interval> instances may each have an <Absolute Time> component. When the <Absolute Time> component is present, the constraints on the field values of the respective <Relative Time>, <Absolute Time Interval>, and <Relative Time Interval> instances depend on the field values of the <Absolute Time> component as follows:

  1. If an <Absolute Time> component is present with a time_value.configuration entry specifying that the day field value is not applicable,

    1. For <Absolute Time Interval> instances, delta_days = 0.

    2. For <Relative Time> instances, delta_days = 0.

    3. For <Relative Time Interval> instances, delta_start_days = delta_stop_days = 0.

  2. If an <Absolute Time> component is present with a time_value.configuration entry specifying that the month field value is not applicable but that the day field value is applicable,

    1. For <Absolute Time Interval> instances, delta_days shall be in the range (1 - day) to (30 - day) to where day is the day field within the time_value field of the <Absolute Time> component.

    2. For <Relative Time> instances, delta_days shall be in the range (1 - day) to (30 - day) where day is the day field within the time_value field of the <Absolute Time> component.

  3. If an <Absolute Time> component is present with a time_value.configuration entry specifying that the month field value is not applicable and that the year field value is not applicable,

    1. For <Absolute Time Interval> instances, delta_days shall be in the range [0..365] inclusive.

    2. For <Relative Time> instances, delta_days shall be in the range [0..365] inclusive.

Rationale

  1. No meaningful delta values can be applied to the day value of an <Absolute Time> instance for the case where a day value is not specified by the configuration field of the time_value field of that <Absolute Time> instance.

  2. A <Time Interval> instance that is referenced to an <Absolute Time> component for which no specific month is specified is assumed to have a 30 day month, and the interval cannot exceed a 30 day period.

  3. When using day of year (rather than explicitly specifying the month) for an unspecified year, the year is assumed to be a 365-day year.

  4. Part 4 of this constraint only applies to the cases explicitly specified by the constraint.

  5. If the day of the year is specified rather than a specific month, the day shall fall within the bounds of a 365-day year (negative days in a year are not defined).

Example

No example supplied.

FAQs

No FAQs supplied.


Prev: Table Property Description Constraints. Next: Time Interval Calculation. Up:Index.