AppointmentCollection.CalcPatternInterval(Appointment) Method
Returns the time interval in which the occurrences of the specified pattern appointment take place.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v14.2.Core.dll
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
pattern | Appointment | An Appointment object that specifies the pattern appointment whose recurrence range should be returned. |
#Returns
Type | Description |
---|---|
Time |
A DevExpress. |
#Remarks
The CalcPatternInterval method can be used to obtain the time interval for a specific pattern appointment's reoccurrences. If the appointment's recurrence range is of the RecurrenceRange.NoEndDate type, the time interval's End property is set to the MaxValue property's value.
NOTE
The start and end dates of this time interval may differ from the dates set via the Recurrence