The days of the week are specified according to the ISO 8601 standard with Monday being day 1 and Sunday being day 7, or as one of MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY (case insensitive).
from | The from day of the week. |
on | The on day of week. |
refinement | Provide a refinement to this schedule. |
to | The to day of the week. |
Example 1 | A schedule for all day Tuesday. |
Example 2 | A schedule between Friday and the following Monday inclusive. |
Configured By | ATTRIBUTE |
Access | READ_WRITE |
Required | No. Defaults to Monday. |
The from day of the week.
Configured By | ATTRIBUTE |
Access | WRITE_ONLY |
Required | No. |
The on day of week. This has the same effect as setting from and to to the same thing.
Configured By | ELEMENT |
Access | READ_WRITE |
Required | No. |
Provide a refinement to this schedule.
Configured By | ATTRIBUTE |
Access | READ_WRITE |
Required | No. Defaults to Sunday. |
The to day of the week.
A schedule for all day Tuesday. This schedule defines an interval between midnight Tuesday morning and up to midnight Tuesday night.
<schedules:weekly on="Tuesday" xmlns:schedules="http://rgordon.co.uk/oddjob/schedules"/>
A schedule between Friday and the following Monday inclusive. This schedule is refined by a time that will define the schedule to be each of the days Friday, Saturday, Sunday, Monday at 3:45pm.
<schedules:weekly from="Friday" to="Monday" xmlns:schedules="http://rgordon.co.uk/oddjob/schedules"> <refinement> <schedules:daily at="15:45"/> </refinement> </schedules:weekly>