OccurrenceCalculator.CalcOccurrences(TimeInterval, Appointment) Method
Creates a sequence of appointments for the specified pattern within the specified time interval.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.2.Core.dll
NuGet Package: DevExpress.Scheduler.Core
#Declaration
public AppointmentBaseCollection CalcOccurrences(
TimeInterval interval,
Appointment pattern
)
#Parameters
Name | Type | Description |
---|---|---|
interval | Time |
A Time |
pattern | Appointment | An Appointment object, that is the pattern of recurrence series. |
#Returns
Type | Description |
---|---|
Appointment |
An Appointment |
#Remarks
Use the CalcOccurrences method to generate a sequence of appointments with AppointmentType.Occurrence type for further investigation or comparison.
Note
The Occurrence
#Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CalcOccurrences(TimeInterval, Appointment) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.