Gets the zero-based index of the occurrence being validated.
Namespace: com.mindfusion.scheduling.model
Package: com.mindfusion.scheduling.model
Java Copy Code |
---|
public int getRecurrenceIndex () |
A non-negative integer value.
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.