Skip to main content

ExactWorkDay.CheckDate(DateTime) Method

Determines whether the specified date is treated as a working day for the current ExactWorkDay.

Namespace: DevExpress.Schedule

Assembly: DevExpress.Data.v23.2.dll

NuGet Package: DevExpress.Data

Declaration

public override DateCheckResult CheckDate(
    DateTime date
)

Parameters

Name Type Description
date DateTime

A DateTime value representing the date to check.

Returns

Type Description
DateCheckResult

A DateCheckResult.WorkDay enumeration value if the date is a work day; otherwise the DateCheckResult.Unknown value.

Remarks

The CheckDate method checks whether the date specified is the date of the ExactWorkDay object. If so, the DateCheckResult.WorkDay value is returned.

See Also