Skip to main content

WeekDaysWorkDay.IsWorkDay(DateTime) Method

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

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v23.2.Core.Desktop.dll

NuGet Package: DevExpress.Scheduler.CoreDesktop

Declaration

public override bool IsWorkDay(
    DateTime date
)

Parameters

Name Type Description
date DateTime

A DateTime value representing the date to be identified.

Returns

Type Description
Boolean

true if the specified day is a working day; otherwise, false.

Remarks

The IsWorkDay method is now obsolete. Use the WeekDaysWorkDay.CheckDate method instead.

See Also