com.aspose.email
Class RecurrencePattern

java.lang.Object
  extended by com.aspose.email.RecurrencePattern

public class RecurrencePattern
extends Object

The main class, represents a recurrence pattern.


Constructor Summary
RecurrencePattern()
           Initializes a new instance of the RecurrencePattern class.
RecurrencePattern(String pattern)
           Initializes a new instance of the RecurrencePattern class.
 
Method Summary
 boolean equals(Object obj)
           
 boolean equals(RecurrencePattern other)
           
static RecurrencePattern fromiCalendar(String pattern)
           
 DateCollection generateOccurrences()
           Generates the occurrences.
 DateCollection generateOccurrences(Date rangeStart, Date rangeEnd)
           
 Date getEndDate()
           
 DateCollection getExDates()
           Gets the ex dates.
 RecurrenceRuleCollection getExRules()
           Gets the ex rules.
 DateCollection getRDates()
           Gets the R dates.
 RecurrenceRuleCollection getRRules()
           Gets the R rules.
 Date getStartDate()
           
 int hashCode()
           
static boolean op_Equality(RecurrencePattern left, RecurrencePattern right)
           
static boolean op_Inequality(RecurrencePattern left, RecurrencePattern right)
           
 void setEndDate(Date value)
           
 void setStartDate(Date value)
           
 String toiCalendar()
           Tois the calendar.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecurrencePattern

public RecurrencePattern()

Initializes a new instance of the RecurrencePattern class.


RecurrencePattern

public RecurrencePattern(String pattern)

Initializes a new instance of the RecurrencePattern class.

Parameters:
pattern - The pattern.
Method Detail

generateOccurrences

public DateCollection generateOccurrences()

Generates the occurrences.

Returns:

generateOccurrences

public DateCollection generateOccurrences(Date rangeStart,
                                          Date rangeEnd)

fromiCalendar

public static RecurrencePattern fromiCalendar(String pattern)

toiCalendar

public String toiCalendar()

Tois the calendar.

Returns:

getStartDate

public Date getStartDate()

setStartDate

public void setStartDate(Date value)

getEndDate

public Date getEndDate()

setEndDate

public void setEndDate(Date value)

getRRules

public RecurrenceRuleCollection getRRules()

Gets the R rules.

Value: The R rules.


getExRules

public RecurrenceRuleCollection getExRules()

Gets the ex rules.

Value: The ex rules.


getRDates

public DateCollection getRDates()

Gets the R dates.

Value: The R dates.


getExDates

public DateCollection getExDates()

Gets the ex dates.

Value: The ex dates.


equals

public boolean equals(RecurrencePattern other)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

op_Equality

public static boolean op_Equality(RecurrencePattern left,
                                  RecurrencePattern right)

op_Inequality

public static boolean op_Inequality(RecurrencePattern left,
                                    RecurrencePattern right)


Copyright (c) 2002-2011 Aspose Pty Ltd. All Rights Reserved.