Search
Recurrence Methods
 


 Public Methods

  Name Description

addRecurrenceListener

Adds a RecurrenceListener to the recurrence.

applyPattern

Copies the fields of the specified Recurrence object to this recurrence.

clearExceptions

Removes all exceptions of this recurrence.

clone

Creates an exact copy of this Recurrence object.

generateItems

Creates occurrence items for this recurrence in the specified date range.

getDailyRecurrence

Gets the type of daily recurrence.

getDay

Gets a value indicating on which day of a week the event occurs.

getDayOfMonth

Gets on which day of a month the event occurs.

getDays

Gets how many days should pass before the event occurs again.

getDaysOfWeek

Gets on which days of a week the event occurs.

getEffectiveEndDate

Returns the effective end date for this recurrence.

getEndDate

Gets the end date of the recurrence.

getExceptions

Gets the list of all recurrence exceptions.

getInterval

Gets the recurrence interval.

getMaster

Gets the master item of this recurrence. The property returns null if the recurrence is not associated with an item.

getMonthlyRecurrence

Gets the type of monthly recurrence.

getMonthOfYear

Gets in which month of the year the event occurs.

getMonths

Gets how many months should pass before the event occurs again.

getNumOccurrences

Gets how many times the recurring event should occur.

getOccurrence

Overloaded. Returns the occurrence with a specified index.

getPattern

Gets the recurrence pattern.

getRecurrenceEnd

Gets when the event should stop recurring.

getStartDate

Gets when the recurring event should occur for the first time.

getWeeks

Gets how many weeks should pass before the event occurs again.

getYearlyRecurrence

Gets the type of yearly recurrence.

loadFrom

Overloaded.  

markException

Marks the specified item as an exception of a recurrence pattern.

removeRecurrenceListener

Removes the specified RecurrenceListener from the recurrence.

samePatternAs

Determines whether two Recurrence objects define the same recurrence pattern.

saveTo

Overloaded.  

setDailyRecurrence

Sets the type of daily recurrence.

setDay

Sets a value indicating on which day of a week the event occurs.

setDayOfMonth

Sets on which day of a month the event occurs.

setDays

Sets how many days should pass before the event occurs again.

setDaysOfWeek

Sets on which days of a week the event occurs.

setEndDate

Sets the end date of the recurrence.

setInterval

Sets the recurrence interval.

setMonthlyRecurrence

Sets the type of monthly recurrence.

setMonthOfYear

Sets in which month of the year the event occurs.

setMonths

Sets how many months should pass before the event occurs again.

setNumOccurrences

Sets how many times the recurring event should occur.

setOccurrence

Sets on which occurrence of the day type specified in getDay the event occurs.

setPattern

Sets the recurrence pattern.

setRecurrenceEnd

Sets when the event should stop recurring.

setStartDate

Sets when the recurring event should occur for the first time.

setWeeks

Sets how many weeks should pass before the event occurs again.

setYearlyRecurrence

Sets the type of yearly recurrence.

toString

Overloaded. Creates a human-readable string from this recurrence.

 Protected Methods

  Name Description

onValidateOccurrence

Raises the RecurrenceListener.validateOccurrence event.

 See Also