YearlyRecurrencePattern

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

public class YearlyRecurrencePattern extends RecurrencePattern

Represents a recurrence pattern of yearly recurrence type.

Constructors

ConstructorDescription
YearlyRecurrencePattern()Initializes a new instance of the YearlyRecurrencePattern class.
YearlyRecurrencePattern(int startOffset, int startMonth)Initializes a new instance of the YearlyRecurrencePattern class.
YearlyRecurrencePattern(int startDay, int startMonth, int startPosition)Initializes a new instance of the YearlyRecurrencePattern 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.
getStartDay()Gets or sets the start day.
getStartMonth()Gets or sets the start month.
getStartOffset()Gets or sets the start offset.
getStartPosition()Gets or sets the start position.
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.
setStartDay(int value)Gets or sets the start day.
setStartMonth(int value)Gets or sets the start month.
setStartOffset(int value)Gets or sets the start offset.
setStartPosition(int value)Gets or sets the start position.
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)

YearlyRecurrencePattern()

public YearlyRecurrencePattern()

Initializes a new instance of the YearlyRecurrencePattern class.

YearlyRecurrencePattern(int startOffset, int startMonth)

public YearlyRecurrencePattern(int startOffset, int startMonth)

Initializes a new instance of the YearlyRecurrencePattern class.

Parameters:

ParameterTypeDescription
startOffsetintThe start offset.
startMonthintThe start month.

YearlyRecurrencePattern(int startDay, int startMonth, int startPosition)

public YearlyRecurrencePattern(int startDay, int startMonth, int startPosition)

Initializes a new instance of the YearlyRecurrencePattern class.

Parameters:

ParameterTypeDescription
startDayintThe start day.
startMonthintThe start month.
startPositionintThe start position.

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

getStartDay()

public final int getStartDay()

Gets or sets the start day.

Value: The start day.

Returns: int

getStartMonth()

public final int getStartMonth()

Gets or sets the start month.

Value: The start month.

Returns: int

getStartOffset()

public final int getStartOffset()

Gets or sets the start offset.

Value: The start offset.

Returns: int

getStartPosition()

public final int getStartPosition()

Gets or sets the start position.

Value: The start position.

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

setStartDay(int value)

public final void setStartDay(int value)

Gets or sets the start day.

Value: The start day.

Parameters:

ParameterTypeDescription
valueint

setStartMonth(int value)

public final void setStartMonth(int value)

Gets or sets the start month.

Value: The start month.

Parameters:

ParameterTypeDescription
valueint

setStartOffset(int value)

public final void setStartOffset(int value)

Gets or sets the start offset.

Value: The start offset.

Parameters:

ParameterTypeDescription
valueint

setStartPosition(int value)

public final void setStartPosition(int value)

Gets or sets the start position.

Value: The start position.

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