Skip to main content

TimeSpanRange.Contains(TimeSpan, Boolean) Method

Checks whether the range contains the specified time range value.

Namespace: DevExpress.Mvvm

Assembly: DevExpress.WinUI.Mvvm.v23.2.dll

NuGet Package: DevExpress.WinUI

#Declaration

public bool Contains(
    TimeSpan time,
    bool includeRangeEnd = false
)

#Parameters

Name Type Description
time TimeSpan

The time span value to check.

#Optional Parameters

Name Type Default
includeRangeEnd Boolean False

#Returns

Type Description
Boolean

true if the current range contains the specified date-time range; otherwise, false.

See Also