A newer version of this page is available. Switch to the current version.

TimeInterval.IntersectsWith(TimeInterval) Method

Checks if the current time interval intersects with the specified time interval.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v18.2.Core.dll


public bool IntersectsWith(
    TimeInterval interval
Public Function IntersectsWith(
    interval As TimeInterval
) As Boolean


Name Type Description
interval TimeInterval

A TimeInterval object which represents the time interval to be checked.


Type Description

true if the two time intervals intersect; otherwise, false.


The specified time interval is considered to intersect with the current time interval if its TimeInterval.End value is greater than or equal to the TimeInterval.Start value of the current time interval, or its TimeInterval.Start value is less than or equal to the TimeInterval.End value of the current time interval.

See Also