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.
- If an <Absolute Time Point> is
present with day = -1, then
- 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.
Rationale
- 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).
Example
No Example supplied.
FAQs
No FAQs supplied.
Prev: State Related Organizing Principle.
Next: Time Interval Calculation.
Up:Index.
|
Last updated: October 1, 2002
|
Copyright © 2002 SEDRIS
|
|