Skip to main content

OccurrenceCalculator.FindOccurrenceIndex(DateTime) Method

Searches for the occurrence that starts at the specified date.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v24.2.Core.dll

NuGet Package: DevExpress.Scheduler.Core

Declaration

public int FindOccurrenceIndex(
    DateTime date
)

Parameters

Name Type Description
date DateTime

The start date of the occurrence to search for.

Returns

Type Description
Int32

An integer value that specifies the index of the occurrence. -1 if the search fails.

See Also