Skip to main content

DateTimeRange.Contains(DateTime) Method

Checks whether the current time range contains the specified time.

Namespace: DevExpress.Maui.Scheduler

Assembly: DevExpress.Maui.Mvvm.dll

NuGet Package: DevExpress.Maui.Mvvm

Declaration

public bool Contains(
    DateTime date
)

Parameters

Name Type Description
date DateTime

The time to be checked.

Returns

Type Description
Boolean

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

See Also