Skip to main content
A newer version of this page is available. .

Holiday.CheckDate(DateTime) Method

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

Namespace: DevExpress.Schedule

Assembly: DevExpress.Data.v18.2.dll

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.Holiday enumeration value if the date is a holiday; otherwise the DateCheckResult.Unknown value.

Remarks

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

See Also