Skip to main content

DateTimeRange.Contains(DateTime) Method

Checks whether the range contains the specified date-time value.

Namespace: DevExpress.Maui.Scheduler

Assembly: DevExpress.Maui.Scheduler.dll

NuGet Package: DevExpress.Maui.Scheduler

Declaration

public bool Contains(
    DateTime date
)

Parameters

Name Type Description
date DateTime

The date time value to check.

Returns

Type Description
Boolean

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

See Also