public abstract class RecurrencePattern extends Object
Represents a recurrence pattern.
Modifier | Constructor and Description |
---|---|
protected |
RecurrencePattern()
Initializes a new instance of the
RecurrencePattern class. |
protected |
RecurrencePattern(Date endDate)
Initializes a new instance of the
RecurrencePattern class. |
protected |
RecurrencePattern(Date endDate,
int interval)
Initializes a new instance of the
RecurrencePattern class. |
protected |
RecurrencePattern(int occurs)
Initializes a new instance of the
RecurrencePattern class. |
protected |
RecurrencePattern(int occurs,
int interval)
Initializes a new instance of the
RecurrencePattern class. |
Modifier and Type | Method and Description |
---|---|
Date |
getEndDate()
Gets or sets the end date.
|
int |
getInterval()
Gets or sets the number of recurrence units.
|
int |
getOccurs()
Gets or sets the number of occurrences of the recurrence pattern.
|
int |
getWeekStart()
Gets or sets the week start.
|
void |
setEndDate(Date value)
Gets or sets the end date.
|
void |
setInterval(int value)
Gets or sets the number of recurrence units.
|
void |
setOccurs(int value)
Gets or sets the number of occurrences of the recurrence pattern.
|
void |
setWeekStart(int value)
Gets or sets the week start.
|
static RecurrencePattern |
to_RecurrencePattern(String value)
Converts string representation of recurrence pattern in ICalendar format to object
|
String |
toString()
Returns a string that represents the current object.
|
protected RecurrencePattern()
Initializes a new instance of the RecurrencePattern
class.
protected RecurrencePattern(Date endDate)
Initializes a new instance of the RecurrencePattern
class.
endDate
- The end date.protected RecurrencePattern(int occurs)
Initializes a new instance of the RecurrencePattern
class.
occurs
- The number of occurrences of the recurrence pattern.protected RecurrencePattern(Date endDate, int interval)
Initializes a new instance of the RecurrencePattern
class.
endDate
- The ending date for each recurrence.interval
- The number of recurrence units.protected RecurrencePattern(int occurs, int interval)
Initializes a new instance of the RecurrencePattern
class.
occurs
- The number of occurrences of the recurrence pattern.interval
- The number of recurrence units.public final int getInterval()
Gets or sets the number of recurrence units.
Value: The number of recurrence units.public final void setInterval(int value)
Gets or sets the number of recurrence units.
Value: The number of recurrence units.public final int getOccurs()
Gets or sets the number of occurrences of the recurrence pattern.
Value: The number of occurrences.public final void setOccurs(int value)
Gets or sets the number of occurrences of the recurrence pattern.
Value: The number of occurrences.public final Date getEndDate()
Gets or sets the end date.
Value: The end date.public final void setEndDate(Date value)
Gets or sets the end date.
Value: The end date.public final int getWeekStart()
Gets or sets the week start.
Value: The week start.public final void setWeekStart(int value)
Gets or sets the week start.
Value: The week start.public String toString()
Returns a string that represents the current object.
public static RecurrencePattern to_RecurrencePattern(String value)
Converts string representation of recurrence pattern in ICalendar format to object
value
- Returns RecurrencePattern object