Skip to main content
A newer version of this page is available. .

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.v19.2.Core.dll

Declaration

public bool IntersectsWithExcludingBoundsEx(
    TimeInterval interval
)

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.

See Also