ByMonthWeekDayRepetition

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

ConstructorDescription
ByMonthWeekDayRepetition()Initializes a new instance of the ByMonthWeekDayRepetition class.

Methods

MethodDescription
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:

ParameterTypeDescription
valueinta 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:

ParameterTypeDescription
valueinta type of weekday on which the task must be recurring.