OccurrenceCalculator.FindFirstOccurrenceIndex(DateTimeRange, TimeSpan) Method
In This Article
Searches for the first occurrence that is within the specified interval and corresponds to the calculator’s pattern.
Namespace: DevExpress.XamarinForms.Scheduler
Assembly: DevExpress.XamarinForms.Scheduler.dll
NuGet Package: DevExpress.XamarinForms.Scheduler
#Declaration
C#
public int FindFirstOccurrenceIndex(
DateTimeRange interval,
TimeSpan patternDuration
)
#Parameters
Name | Type | Description |
---|---|---|
interval | Date |
The time interval in which the occurrence is searched. |
pattern |
Time |
The duration of the pattern (Appointment |
#Returns
Type | Description |
---|---|
Int32 | The index of the first appointment from the occurrence chain that is within the specified interval; |
See Also