The SEDRIS Data Representation Model
APPENDIX B - Constraints Time Dependency |
---|
<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:
If an <Absolute Time> component is present with a time_value.configuration entry specifying that the day field value is not applicable,
For <Absolute Time Interval> instances, delta_days = 0.
For <Relative Time> instances, delta_days = 0.
For <Relative Time Interval> instances, delta_start_days = delta_stop_days = 0.
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,
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.
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.
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,
For <Absolute Time Interval> instances, delta_days shall be in the range [0..365] inclusive.
For <Relative Time> instances, delta_days shall be in the range [0..365] inclusive.
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.
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.
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.
Part 4 of this constraint only applies to the cases explicitly specified by the constraint.
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).
No example supplied.
No FAQs supplied.
|