Rule Name: 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, delta_days = 0.
- 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_ANY_MONTH, then
delta_days must 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_USE_DAY_OF_YEAR,
and year = -1, then
delta_days must 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_USE_DAY_OF_YEAR,
then day cannot = -1.
Rationale
- Since an Absolute Time Point with
day = -1 indicates any day, 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_ANY_MONTH 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.
- This rule 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 must fall within the bounds of a 365-day year (negative days
in a year are not defined).
Example
--Example needed here --FAQs
--FAQs needed here --
Prev: Spatial Index Related Organizing Principle.
Next: Time Interval Calculation.
Up:Index.