TimeInterval.IntersectsWithExcludingBoundsEx(TimeInterval) Method
Checks if the current time interval intersects with the specified time interval. The boundaries of the time intervals are excluded from the check.
Namespace: DevExpress.XtraScheduler
Assembly: DevExpress.XtraScheduler.v24.1.Core.dll
NuGet Package: DevExpress.Scheduler.Core
Declaration
Parameters
Name | Type | Description |
---|---|---|
interval | TimeInterval | A TimeInterval object which is the time interval to be checked. |
Returns
Type | Description |
---|---|
Boolean | True, if the two time intervals intersect; otherwise, false. |
Remarks
The specified time interval is considered to intersect with the current time interval if its TimeInterval.End value is greater than the TimeInterval.Start value of the current time interval, and its TimeInterval.Start value is less than the TimeInterval.End value of the current time interval.
If both intervals have the same Start value and one of them or both have a zero duration (the TimeInterval.Duration equals TimeSpan.Zero), the IntersectsWithExcludingBoundsEx returns true.