The SEDRIS Data Representation Model
APPENDIX B - Constraints
Time Dependency

Definition

<Relative Time Point>, <Absolute Time Interval>, and <Relative Time Interval> may each have a component <Absolute Time Point>, and the restrictions on their field values depend on the value of the <Absolute Time Point> component, when it is present.

  1. If an <Absolute Time Point> is present with day = -1, then
    1.1 for <Absolute Time Interval> and <Relative Time Point>, delta_days = 0.
    1.2 for <Relative Time Interval>, delta_start_days = delta_stop_days = 0.
  2. For <Absolute Time Interval> and <Relative Time Point>, if an <Absolute Time Point> is present with day <> -1 and month = SE_MONTH_ANY, then delta_days shall be in the range
    (1 - day) to (30 - day)
    where day is the <Absolute Time Point>'s day field.

    Note that delta_days is allowed to be negative for this case.

  3. For <Absolute Time Interval> and <Relative Time Point>, if an <Absolute Time Point> is present with day <> -1, month = SE_MONTH_USE_DAY_OF_YEAR, and year = -1, then delta_days shall be between 0 and 365 inclusive.

  4. If no <Absolute Time Point> component is present, or restrictions 1-3 do not apply, then delta_days has no constraints for <<Time Dependency>>.

  5. For any <Absolute Time Point>, if month = SE_MONTH_USE_DAY_OF_YEAR, then day cannot = -1.

Rationale

  1. Since an <Absolute Time Point> with day = -1 indicates that day is not applicable, no meaningful delta values can be applied to the day value for this case.

  2. <Time Intervals> that are referenced to an <Absolute Time Point> with month = SE_MONTH_ANY are 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 = -1, the year is assumed to be a 365-day year.

  4. Rule 4 only applies to the cases explicitly stated by the rule.

  5. If the day of the year is specified rather than a specific month, then 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: State Related Organizing Principle. Next: Time Interval Calculation. Up:Index.

Last updated: May 15, 2003 Copyright © 2003 SEDRIS™