Search
ValidateOccurrenceEvent.getRecurrenceIndex Method
See Also
 






Gets the zero-based index of the occurrence being validated.

Namespace: com.mindfusion.scheduling.model
Package: com.mindfusion.scheduling.model

 Syntax

Java  Copy Code

public int getRecurrenceIndex ()

 Return Value

A non-negative integer value.

 Remarks

At the time the item is being validated, it is still not marked as occurrence and its Item.getOccurrenceIndex property returns -1. Therefore you need to use this property to obtain the actual recurrence index of the item. This is done to allow you to change any of the item's properties without forcing it to become an exception.

 See Also