[Index]

schedules:weekly


A schedule for weekly intervals specified by days of the week. This schedule will typically be used with a schedules:time refinement property.

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).


Property Summary

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 Summary

Example 1 A schedule for all day Tuesday.
Example 2 A schedule between Friday and the following Monday inclusive.

Property Detail

from

Configured ByATTRIBUTE
AccessREAD_WRITE
RequiredNo. Defaults to Monday.

The from day of the week.

on

Configured ByATTRIBUTE
AccessWRITE_ONLY
RequiredNo.

The on day of week. This has the same effect as setting from and to to the same thing.

refinement

Configured ByELEMENT
AccessREAD_WRITE
RequiredNo.

Provide a refinement to this schedule.

to

Configured ByATTRIBUTE
AccessREAD_WRITE
RequiredNo. Defaults to Sunday.

The to day of the week.


Examples

Example 1

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"/>

Example 2

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>


(c) R Gordon Ltd 2005 - Present