WeeklyRecurrencePattern

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

public class WeeklyRecurrencePattern extends RecurrencePattern

Represents a recurrence pattern of weekly recurrence type.

Constructors

ConstructorDescription
WeeklyRecurrencePattern(Date endDate)Initializes a new instance of the WeeklyRecurrencePattern class.
WeeklyRecurrencePattern(int occurs)Initializes a new instance of the WeeklyRecurrencePattern class.
WeeklyRecurrencePattern(Date endDate, int interval)Initializes a new instance of the WeeklyRecurrencePattern class.
WeeklyRecurrencePattern(int occurs, int interval)Initializes a new instance of the WeeklyRecurrencePattern 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.
getStartDays()Gets or sets the start days.
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.
setStartDays(int[] value)Gets or sets the start days.
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)

WeeklyRecurrencePattern(Date endDate)

public WeeklyRecurrencePattern(Date endDate)

Initializes a new instance of the WeeklyRecurrencePattern class.

Parameters:

ParameterTypeDescription
endDatejava.util.DateThe end date.

WeeklyRecurrencePattern(int occurs)

public WeeklyRecurrencePattern(int occurs)

Initializes a new instance of the WeeklyRecurrencePattern class.

Parameters:

ParameterTypeDescription
occursintThe number of occurrences.

WeeklyRecurrencePattern(Date endDate, int interval)

public WeeklyRecurrencePattern(Date endDate, int interval)

Initializes a new instance of the WeeklyRecurrencePattern class.

Parameters:

ParameterTypeDescription
endDatejava.util.DateThe end date.
intervalintThe number of recurrence units.

WeeklyRecurrencePattern(int occurs, int interval)

public WeeklyRecurrencePattern(int occurs, int interval)

Initializes a new instance of the WeeklyRecurrencePattern class.

Parameters:

ParameterTypeDescription
occursintThe number of occurrences.
intervalintThe number of recurrence units.

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

getStartDays()

public final int[] getStartDays()

Gets or sets the start days.

Value: The start days.

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

setStartDays(int[] value)

public final void setStartDays(int[] value)

Gets or sets the start days.

Value: The start days.

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