Skip to main content
All docs
V18.2

TimeOfDayInterval.Contains(TimeSpan) Method

Determines whether the time of day interval contains the specified time.

Namespace: DevExpress.UI.Xaml.Scheduler

Assembly: DevExpress.UI.Xaml.Scheduler.v18.2.dll

Declaration

public bool Contains(
    TimeSpan time
)

Parameters

Name Type Description
time TimeSpan

A System.TimeSpan object to locate in the time of day interval.

Returns

Type Description
Boolean

true if the time of day interval contains the specified time; otherwise, false.

Remarks

The time of day interval is assumed to contain the specified time, if the time isn’t less than the Start and isn’t greater than the End property values of the time of day interval.

See Also