Skip to main content

TimeOfDayInterval.IntersectsWithExcludingBounds(TimeOfDayInterval) Method

Checks if the current time of day interval intersects with the specified time of day 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

public bool IntersectsWithExcludingBounds(
    TimeOfDayInterval interval
)

Parameters

Name Type Description
interval TimeOfDayInterval

A TimeOfDayInterval object which represents the time of day interval to be checked.

Returns

Type Description
Boolean

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

Remarks

The specified time of day interval is considered to intersect with the current time of day interval if its TimeOfDayInterval.End value is greater than the TimeOfDayInterval.Start value of the current time of day interval, and its TimeOfDayInterval.Start value is less than the TimeOfDayInterval.End value of the current time of day interval.

See Also