public static class RecurringInterval.Monthly
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static int |
WEEK_FIRST |
static int |
WEEK_FOURTH |
static int |
WEEK_LAST |
static int |
WEEK_SECOND |
static int |
WEEK_THIRD |
Constructor and Description |
---|
Monthly()
Creates a new object of type Monthly
|
Monthly(boolean weekdayBased_)
Creates a new Object of type Monthly.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getDayOfMonth()
Returns the day of the month on which event occurs
|
java.lang.String |
getDayOfMonthExpr()
Gets the day of the month on which the event occurs
|
java.lang.Integer |
getDayOfWeek()
Returns the day of the week on which event occurs.
|
java.lang.Integer |
getMonthInterval()
Returns the interval in terms on number of months between two
consecutive monthly events.
|
java.lang.String |
getMonthIntervalExpr()
Returns the interval in terms on number of months between two
consecutive monthly events as an expression
|
boolean |
getWeekdayBased()
Returns true if the Monthly events occur on a particular day of a week
of month like "Third Wednesday of every month", else false.
|
java.lang.Integer |
getWeekType()
Returns the Week of the month on which the Monthly event occurs.
|
void |
setDayOfMonth(java.lang.Integer dayOfMonth_)
sets the day of the month on which the event occurs
|
void |
setDayOfMonthExpr(java.lang.String dayOfMonthExpr_)
Sets the day of the month on which the event occurs
|
void |
setDayOfWeek(java.lang.Integer dayOfWeek_)
Sets the day of the day of the week on which event occurs.
|
void |
setMonthInterval(java.lang.Integer monthInterval_)
Sets the interval in terms on number of months between two consecutive
monthly events.
|
void |
setMonthIntervalExpr(java.lang.String monthIntervalExpr_)
Sets the interval in terms on number of months between two
consecutive monthly events as an expression
|
void |
setWeekdayBased(boolean weekdayBased_)
Set to true if the Monthly events occur on a particular day of a week of
month like "Third Wednesday of every month", else false.
|
void |
setWeekType(java.lang.Integer dayType_)
Sets the Week of the month on which the Monthly event occurs.
|
public static final int WEEK_FIRST
public static final int WEEK_SECOND
public static final int WEEK_THIRD
public static final int WEEK_FOURTH
public static final int WEEK_LAST
public Monthly()
public Monthly(boolean weekdayBased_)
weekdayBased_
- if true then the monthly events are of like "SECOND Friday of
every 2 months" else the monthly events are like "10th day of
every 2 months".public java.lang.Integer getDayOfMonth()
public void setDayOfMonth(java.lang.Integer dayOfMonth_)
dayOfMonth_
- 1 - 31public java.lang.Integer getDayOfWeek()
public void setDayOfWeek(java.lang.Integer dayOfWeek_)
dayOfWeek_
- between 1 - 7public java.lang.Integer getWeekType()
WEEK_FIRST
,
WEEK_SECOND
,
WEEK_THIRD
,
WEEK_FOURTH
,
WEEK_LAST
public void setWeekType(java.lang.Integer dayType_)
WEEK_FIRST
,
WEEK_SECOND
,
WEEK_THIRD
,
WEEK_FOURTH
,
WEEK_LAST
public java.lang.Integer getMonthInterval()
public void setMonthInterval(java.lang.Integer monthInterval_)
public boolean getWeekdayBased()
public void setWeekdayBased(boolean weekdayBased_)
public java.lang.String getDayOfMonthExpr()
public void setDayOfMonthExpr(java.lang.String dayOfMonthExpr_)
dayOfMonth_
- an expression resolving to a number (integer) between
1 and 31public java.lang.String getMonthIntervalExpr()
public void setMonthIntervalExpr(java.lang.String monthIntervalExpr_)
monthIntervalExpr_
- an expression that evaluates to a
number (integer)Copyright © 2003-2024 Appian Corporation. All Rights Reserved.