ByMonthWeekDayRepetition
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.tasks.MonthlyRepetitionBase
public class ByMonthWeekDayRepetition extends MonthlyRepetitionBase
Represents a pattern which is based on the position of weekday in a month.
Constructors
| Constructor | Description |
|---|---|
| ByMonthWeekDayRepetition() | Initializes a new instance of the ByMonthWeekDayRepetition class. |
Methods
| Method | Description |
|---|---|
| getPosition() | Gets a position of weekday in a month on which the task must be recurring. |
| getWeekDay() | Gets a type of weekday on which the task must be recurring. |
| setPosition(int value) | Sets a position of weekday in a month on which the task must be recurring. |
| setWeekDay(int value) | Sets a type of weekday on which the task must be recurring. |
ByMonthWeekDayRepetition()
public ByMonthWeekDayRepetition()
Initializes a new instance of the ByMonthWeekDayRepetition class.
getPosition()
public final int getPosition()
Gets a position of weekday in a month on which the task must be recurring.
Read/Write OrdinalNumber.
Returns: int - a position of weekday in a month on which the task must be recurring.
getWeekDay()
public final int getWeekDay()
Gets a type of weekday on which the task must be recurring.
Read/Write DayOfWeek.
Returns: int - a type of weekday on which the task must be recurring.
setPosition(int value)
public final void setPosition(int value)
Sets a position of weekday in a month on which the task must be recurring.
Read/Write OrdinalNumber.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int | a position of weekday in a month on which the task must be recurring. |
setWeekDay(int value)
public final void setWeekDay(int value)
Sets a type of weekday on which the task must be recurring.
Read/Write DayOfWeek.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int | a type of weekday on which the task must be recurring. |