The SEDRIS Data Representation Model
APPENDIX B - Constraints Time Dependency |
---|
<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.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. |
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.
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.
If no <Absolute Time Point> component is present, or restrictions 1-3 do not apply, then delta_days has no constraints for <<Time Dependency>>.
For any <Absolute Time Point>, if month = SE_MONTH_USE_DAY_OF_YEAR, then day cannot = -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.
<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.
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.
Rule 4 only applies to the cases explicitly stated by the rule.
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).
No Example supplied.
No FAQs supplied.
|