Please note the property 'on' is used instead of at, this is due to a lazy developer sharing logic with other constrained schedules such as schedules:dayofyear.
If the 'to' time is less than the 'from' time it is assumed that the 'to' time is the next day.
| Name | Description | Required |
|---|---|---|
| refinement | Provide a refinement to this schedule. | No. |
| on | The on date/time. This has the same effect as setting from and to to the same thing. | No. |
| from | The from time. | No. Default to the start of the day. |
| to | The to time. | No. Default to the end of the day. |
A simple example.
<schedules:time xmlns:schedules="http://rgordon.co.uk/oddjob/schedules"
from="10:00" to="14:00"/>
Using time to schedule an interval between 10pm and 4am the next day.
<schedules:time xmlns:schedules="http://rgordon.co.uk/oddjob/schedules"
from="22:00" to="04:00" >
<refinement>
<schedules:interval interval="00:15" />
</refinement>
</shedules:time>