AppointmentCollection.AreIntersecting(Appointment, Appointment) Method
Checks if two specified appointments intersect.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v14.2.Core.dll
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
apt1 | Appointment | An Appointment object which specifies the first appointment whose time interval should be checked. |
apt2 | Appointment | An Appointment object which specifies the second appointment whose time interval should be checked. |
#Returns
Type | Description |
---|---|
Boolean | true if the specified appointments intersect; otherwise, false. |
#Remarks
Two appointments are considered intersecting if the time intervals specified by the Appointment.Start and Appointment.End properties overlap. The boundaries of the time intervals are not included in the check.
If two specified appointments are equal, then the return value is false.
NOTE
If one of the specified appointments is a recurrence pattern (its Appointment.