Skip to main content

TcxSchedulerDateTimeHelper.IsWeekEnd(TDateTime,TDays) Method

Determines whether the ADate date is at the weekend.

Declaration

class function IsWeekEnd(const ADate: TDateTime; AWorkDays: TDays): Boolean;

Parameters

Name Type
ADate TDateTime
AWorkDays TDays

Returns

Type
Boolean

Remarks

The IsWeekEnd method returns True if the ADate date is at the weekend.

The ADate parameter specifies the date to be checked;

The AWorkDays parameter specifies the days that contain working hours.

See Also