OccurrenceCalculator.FindOccurrenceIndex(DateTime, TimeSpan) Method
Searches for the occurrence that starts at the specified date and corresponds to the calculator’s pattern.
Namespace: DevExpress.Maui.Scheduler
Assembly: DevExpress.Maui.Scheduler.dll
NuGet Package: DevExpress.Maui.Scheduler
Declaration
public int FindOccurrenceIndex(
DateTime date,
TimeSpan patternDuration
)
Parameters
Name | Type | Description |
---|---|---|
date | DateTime | The start date of the occurrence to find. |
patternDuration | TimeSpan | The duration of the pattern (AppointmentItem.Interval). |
Returns
Type | Description |
---|---|
Int32 | The index of the appointment at the specified date; |
See Also