RecurrencePattern

Inheritance: java.lang.Object

public abstract class RecurrencePattern

Represents a recurrence pattern.

Methods

Method Description
getInterval() Gets or sets the number of recurrence units.
setInterval(int value) Gets or sets the number of recurrence units.
getOccurs() Gets or sets the number of occurrences of the recurrence pattern.
setOccurs(int value) Gets or sets the number of occurrences of the recurrence pattern.
getEndDate() Gets or sets the end date.
setEndDate(Date value) Gets or sets the end date.
getWeekStart() Gets or sets the week start.
setWeekStart(int value) Gets or sets the week start.
toString() Returns a string that represents the current object.
to_RecurrencePattern(String value) Converts string representation of recurrence pattern in ICalendar format to object

getInterval()

public final int getInterval()

Gets or sets the number of recurrence units.

Value: The number of recurrence units.

Returns: int

setInterval(int value)

public final void setInterval(int value)

Gets or sets the number of recurrence units.

Value: The number of recurrence units.

Parameters:

Parameter Type Description
value int

getOccurs()

public final int getOccurs()

Gets or sets the number of occurrences of the recurrence pattern.

Value: The number of occurrences.

Returns: int

setOccurs(int value)

public final void setOccurs(int value)

Gets or sets the number of occurrences of the recurrence pattern.

Value: The number of occurrences.

Parameters:

Parameter Type Description
value int

getEndDate()

public final Date getEndDate()

Gets or sets the end date.

Value: The end date.

Returns: java.util.Date

setEndDate(Date value)

public final void setEndDate(Date value)

Gets or sets the end date.

Value: The end date.

Parameters:

Parameter Type Description
value java.util.Date

getWeekStart()

public final int getWeekStart()

Gets or sets the week start.

Value: The week start.

Returns: int

setWeekStart(int value)

public final void setWeekStart(int value)

Gets or sets the week start.

Value: The week start.

Parameters:

Parameter Type Description
value int

toString()

public String toString()

Returns a string that represents the current object.

Returns: java.lang.String - A string that represents the current object.

to_RecurrencePattern(String value)

public static RecurrencePattern to_RecurrencePattern(String value)

Converts string representation of recurrence pattern in ICalendar format to object

Parameters:

Parameter Type Description
value java.lang.String Returns RecurrencePattern object

Returns: RecurrencePattern