![]() ![]() ![]() ![]() ![]() Gravitybox Schedule Primer
Page 103
1998-2004 Gravitybox Software LLC
Figure 11.2
RecurrenceMonth
Perhaps the most complex recurrence pattern is for a month. Each month has a
difference number of days and starts on a different day of the week. This can make
scheduling quite complex. The Recurrence object uses its RecurrenceMonth object to
define information to construct this recurrence pattern. The objects RecurrenceMode
may be set to MonthInterval or MonthOrdinal. When it is set to MonthInterval the
recurrence will happen on the same day number in the month each time. For example,
you use this property to define a recurrence on the fourth (4) day of each month. Thus
the DayInterval property defines which day of the month to use. When
RecurrenceMonth objects RecurrenceMode is set to the MonthOrdinal property value,
the appointment is scheduled at a certain position in the month though not necessarily
on the same day number. For example, you could schedule an appointment on the
second Monday of each month. You may not care the day of the appointment (1, 2, etc)
just that it is on the second Monday.
The MonthInterval property defines the skip between months. If you wish to schedule an
appointment every month, this property would be set to 1. This allows you to define a
pattern that only occurs on the months that you specify.
|