public class MonthlyRecurrencePatternDto extends RecurrencePatternDto
Constructor and Description |
---|
MonthlyRecurrencePatternDto() |
MonthlyRecurrencePatternDto(Integer interval,
Integer occurs,
Date endDate,
String weekStart,
String startDay,
Integer startOffset,
String startPosition)
Initializes a new instance of the MonthlyRecurrencePatternDto
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getStartDay()
Represents the day of the week.
|
Integer |
getStartOffset()
Start offset.
|
String |
getStartPosition()
Day positions, typically found in a month.
|
int |
hashCode() |
void |
setStartDay(String startDay)
Set startDay.
|
void |
setStartOffset(Integer startOffset)
Set startOffset.
|
void |
setStartPosition(String startPosition)
Set startPosition.
|
MonthlyRecurrencePatternDto |
startDay(String startDay)
Set startDay and return this.
|
MonthlyRecurrencePatternDto |
startOffset(Integer startOffset)
Set startOffset and return this.
|
MonthlyRecurrencePatternDto |
startPosition(String startPosition)
Set startPosition and return this.
|
String |
toString() |
endDate, getDiscriminator, getEndDate, getInterval, getOccurs, getWeekStart, interval, occurs, setDiscriminator, setEndDate, setInterval, setOccurs, setWeekStart, weekStart
public MonthlyRecurrencePatternDto()
public MonthlyRecurrencePatternDto(Integer interval, Integer occurs, Date endDate, String weekStart, String startDay, Integer startOffset, String startPosition)
interval
- Number of recurrence units.occurs
- Number of occurrences of the recurrence pattern.endDate
- End date.weekStart
- Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDaystartDay
- Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDaystartOffset
- Start offset.startPosition
- Day positions, typically found in a month. Enum, available values: None, First, Second, Third, Fourth, Lastpublic MonthlyRecurrencePatternDto startDay(String startDay)
startDay
- Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDaypublic String getStartDay()
public void setStartDay(String startDay)
startDay
- Represents the day of the week. Enum, available values: None, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday, Day, WeekDay, WeekendDaypublic MonthlyRecurrencePatternDto startOffset(Integer startOffset)
startOffset
- Start offset.public Integer getStartOffset()
public void setStartOffset(Integer startOffset)
startOffset
- Start offset.public MonthlyRecurrencePatternDto startPosition(String startPosition)
startPosition
- Day positions, typically found in a month. Enum, available values: None, First, Second, Third, Fourth, Lastpublic String getStartPosition()
public void setStartPosition(String startPosition)
startPosition
- Day positions, typically found in a month. Enum, available values: None, First, Second, Third, Fourth, Lastpublic boolean equals(Object o)
equals
in class RecurrencePatternDto
public int hashCode()
hashCode
in class RecurrencePatternDto
public String toString()
toString
in class RecurrencePatternDto
Copyright © 2020. All rights reserved.