schedules:occurrence

Description

This schedule counts the occurence's of it's nested schedule and returns the required occurrence.

Properties

NameDescriptionRequired
refinement Provide a refinement to this schedule. No.
occurrence The number of the required occurrence. Yes.

Example

Second Tuesday of the month.

 <schedules:dayofmonth  xmlns:schedules="http://rgordon.co.uk/oddjob/schedules" 
            from="1" to="0" >
  <refinement>
   <schedules:occurrence occurrence="2" >
    <refinement>
     <schedules:dayofweek on="Tue" />
    </refinement>
   </schedules:occurrence>
  </refinement>
 </schedules:dayofmonth>
 


(c) Rob Gordon 2005 - 2009