TaskRegeneratingPattern

Inheritance: java.lang.Object, com.aspose.email.RecurrencePattern

public final class TaskRegeneratingPattern extends RecurrencePattern

Represents the regenerating recurrence pattern that specifies how many days, weeks, months or years after the completion of the current task the next occurrence will be due.

Constructors

ConstructorDescription
TaskRegeneratingPattern(int type, int interval)Initializes a new instance of the TaskRegeneratingPattern class.

Methods

MethodDescription
equals(Object arg0)
getClass()
getEndDate()Gets or sets the end date.
getInterval()Gets or sets the number of recurrence units.
getOccurs()Gets or sets the number of occurrences of the recurrence pattern.
getRegeneratingType()Gets or sets a type of regenerating pattern.
getWeekStart()Gets or sets the week start.
hashCode()
notify()
notifyAll()
setEndDate(Date value)Gets or sets the end date.
setInterval(int value)Gets or sets the number of recurrence units.
setOccurs(int value)Gets or sets the number of occurrences of the recurrence pattern.
setRegeneratingType(int value)Gets or sets a type of regenerating pattern.
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
wait()
wait(long arg0)
wait(long arg0, int arg1)

TaskRegeneratingPattern(int type, int interval)

public TaskRegeneratingPattern(int type, int interval)

Initializes a new instance of the TaskRegeneratingPattern class.

Parameters:

ParameterTypeDescription
typeintSpecifies the type of regenerating pattern.
intervalintSpecifies how many days, weeks, months or years after the completion of the current task the next occurrence will be due.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getEndDate()

public final Date getEndDate()

Gets or sets the end date.

Value: The end date.

Returns: java.util.Date

getInterval()

public final int getInterval()

Gets or sets the number of recurrence units.

Value: The number of recurrence units.

Returns: int

getOccurs()

public final int getOccurs()

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

Value: The number of occurrences.

Returns: int

getRegeneratingType()

public final int getRegeneratingType()

Gets or sets a type of regenerating pattern.

Returns: int

getWeekStart()

public final int getWeekStart()

Gets or sets the week start.

Value: The week start.

Returns: int

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setEndDate(Date value)

public final void setEndDate(Date value)

Gets or sets the end date.

Value: The end date.

Parameters:

ParameterTypeDescription
valuejava.util.Date

setInterval(int value)

public final void setInterval(int value)

Gets or sets the number of recurrence units.

Value: The number of recurrence units.

Parameters:

ParameterTypeDescription
valueint

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:

ParameterTypeDescription
valueint

setRegeneratingType(int value)

public final void setRegeneratingType(int value)

Gets or sets a type of regenerating pattern.

Parameters:

ParameterTypeDescription
valueint

setWeekStart(int value)

public final void setWeekStart(int value)

Gets or sets the week start.

Value: The week start.

Parameters:

ParameterTypeDescription
valueint

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:

ParameterTypeDescription
valuejava.lang.StringReturns RecurrencePattern object

Returns: RecurrencePattern

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int