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.v20.1.dll

Declaration

public override DateCheckResult CheckDate(
    DateTime date
)
Public Overrides Function CheckDate(
    date As Date
) As DateCheckResult

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