broken
Description
This schedule allows a normal schedule
to be broken by the results of another
schedule. This might be a list of bank holidays, or time of day, or any other
schedule.
This schedule works by moving the schedule forward if the start time of the
next interval falls within the next interval defined by the break. In the
example below for a time of 12:00 on 24-dec-04 the logic is as follows:
- The schedule is next due at 10:00 on the 25-dec-04.
- This schedule is within the break, move the schedule on.
- The schedule is next due at 10:00 on the 26-dec-04.
- This schedule is within the break, move the schedule on.
- The schedule is next due at 10:00 on the 27-dec-04.
- This schedule is outside the break, use this result.
Example
<broken>
<schedule>
<time on="10:00" />
</schedule>
<breaks>
<date from="25-dec-04" to="26-dec-04" />
</breaks>
</broken>
(c) Rob Gordon 2005