WeeklyRecurrencePattern

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

public class WeeklyRecurrencePattern extends RecurrencePattern

Represents a recurrence pattern of weekly recurrence type.

Constructors

Constructor Description
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

Method Description
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:

Parameter Type Description
endDate java.util.Date The end date.

WeeklyRecurrencePattern(int occurs)

public WeeklyRecurrencePattern(int occurs)

Initializes a new instance of the WeeklyRecurrencePattern class.

Parameters:

Parameter Type Description
occurs int The number of occurrences.

WeeklyRecurrencePattern(Date endDate, int interval)

public WeeklyRecurrencePattern(Date endDate, int interval)

Initializes a new instance of the WeeklyRecurrencePattern class.

Parameters:

Parameter Type Description
endDate java.util.Date The end date.
interval int The number of recurrence units.

WeeklyRecurrencePattern(int occurs, int interval)

public WeeklyRecurrencePattern(int occurs, int interval)

Initializes a new instance of the WeeklyRecurrencePattern class.

Parameters:

Parameter Type Description
occurs int The number of occurrences.
interval int The number of recurrence units.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.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:

Parameter Type Description
value java.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:

Parameter Type Description
value 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

setStartDays(int[] value)

public final void setStartDays(int[] value)

Gets or sets the start days.

Value: The start days.

Parameters:

Parameter Type Description
value 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

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int