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