Returns the occurrence with the specified index.
Namespace: MindFusion.Scheduling
File: Recurrence.js
JavaScript Copy Code |
---|
function getOccurrence (index, refIsDeleted, noException) |
Number. The index of the occurrence to retrieve.
*. If the specified occurrence is an exception, this parameter indicates, upon function completion, whether the exception is deleted or not.
Boolean. Specifies whether to return the original item, in case this occurrence is an exception.
Item. A reference to the occurrence with the specified index or null, if there is no such occurrence.
This function might take considerable amount of time if you specify a large index in an infinite recurrence.