isWorkingDayOfWeek method



Indicates whether a specified day is a working day.

Syntax

boolean = Scheduler.isWorkingDayOfWeek(dayOfWeek)

Applies to

Scheduler object.

Parameters

dayOfWeek
int. The day of the week. 1 represents Sunday, 2 represents Monday, 3 represents Tuesday, and so on.

Return value

boolean. The boolean value is true if dayOfWeek is a working day of the week; otherwise, it is false.

Usage

This method indicates whether the day specified by dayOfWeek is a working day of the week. You can designate any day of the week as a working day using the method setWorkingDayOfWeek().

See also

setWorkingDayOfWeek method
isDuringWorkingTime method
isWorkingDate method