ByYearWeekDayRepetition
Inheritance: java.lang.Object, com.aspose.tasks.YearlyRepetitionBase
public class ByYearWeekDayRepetition extends YearlyRepetitionBase
Represents a pattern which is based on position of a weekday in a month.
Constructors
Constructor | Description |
---|---|
ByYearWeekDayRepetition() | Initializes a new instance of the ByYearWeekDayRepetition class. |
Methods
Method | Description |
---|---|
getMonth() | Gets a month on which the task must be recurring. |
getPosition() | Gets a position of the day in a week of a month on which the task must be recurring. |
getWeekDay() | Gets a type of week day on which the task must be recurring. |
setMonth(int value) | Sets a month on which the task must be recurring. |
setPosition(int value) | Sets a position of the day in a week of a month on which the task must be recurring. |
setWeekDay(int value) | Sets a type of week day on which the task must be recurring. |
ByYearWeekDayRepetition()
public ByYearWeekDayRepetition()
Initializes a new instance of the ByYearWeekDayRepetition class.
getMonth()
public final int getMonth()
Gets a month on which the task must be recurring.
Read/Write Month
.
Returns: int - a month on which the task must be recurring.
getPosition()
public final int getPosition()
Gets a position of the day in a week of a month on which the task must be recurring.
Read/Write OrdinalNumber
.
Returns: int - a position of the day in a week of a month on which the task must be recurring.
getWeekDay()
public final int getWeekDay()
Gets a type of week day on which the task must be recurring.
Read/Write DayOfWeek
.
Returns: int - a type of week day on which the task must be recurring.
setMonth(int value)
public final void setMonth(int value)
Sets a month on which the task must be recurring.
Read/Write Month
.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | a month on which the task must be recurring. |
setPosition(int value)
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/Write OrdinalNumber
.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | a position of the day in a week of a month on which the task must be recurring. |
setWeekDay(int value)
public final void setWeekDay(int value)
Sets a type of week day on which the task must be recurring.
Read/Write DayOfWeek
.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | a type of week day on which the task must be recurring. |