public class ByMonthWeekDayRepetition extends MonthlyRepetitionBase
Represents a pattern which is based on the position of weekday in a month.
Constructor and Description |
---|
ByMonthWeekDayRepetition()
Initializes a new instance of the
ByMonthWeekDayRepetition class. |
Modifier and Type | Method and Description |
---|---|
int |
getPosition()
Gets a position of weekday in a month on which the task must be recurring.
|
int |
getWeekDay()
Gets a type of weekday on which the task must be recurring.
|
void |
setPosition(int value)
Sets a position of weekday in a month on which the task must be recurring.
|
void |
setWeekDay(int value)
Sets a type of weekday on which the task must be recurring.
|
getCalculator, getCalendar, getRepetitionInterval, getValidator, setRepetitionInterval
public ByMonthWeekDayRepetition()
Initializes a new instance of the ByMonthWeekDayRepetition
class.
public final int getPosition()
Gets a position of weekday in a month on which the task must be recurring.
Read/WriteOrdinalNumber
.public final void setPosition(int value)
Sets a position of weekday in a month on which the task must be recurring.
Read/WriteOrdinalNumber
.value
- a position of weekday in a month on which the task must be recurring.public final int getWeekDay()
Gets a type of weekday on which the task must be recurring.
Read/WriteDayOfWeek
.public final void setWeekDay(int value)
Sets a type of weekday on which the task must be recurring.
Read/WriteDayOfWeek
.value
- a type of weekday on which the task must be recurring.