com.moyosoft.connector.ms.outlook.recurrence
Class RecurrencePattern

java.lang.Object
  |
  +--com.moyosoft.connector.ms.outlook.recurrence.RecurrencePattern

public class RecurrencePattern
extends java.lang.Object


Field Summary
static int DAY_FRIDAY
           
static int DAY_MONDAY
           
static int DAY_SATURDAY
           
static int DAY_SUNDAY
           
static int DAY_THURSDAY
           
static int DAY_TUESDAY
           
static int DAY_WEDNESDAY
           
 
Constructor Summary
RecurrencePattern(com.moyosoft.connector.com.Dispatch dispatch)
           
 
Method Summary
 void dispose()
           
 int getDayOfMonth()
           
 int getDayOfWeekMask()
           
 com.moyosoft.connector.com.Dispatch getDispatch()
           
 int getDuration()
           
 java.util.Date getEndTime()
           
 ExceptionsCollection getExceptions()
           
 int getInstance()
           
 int getInterval()
           
 int getMonthOfYear()
           
 OutlookAppointment getOccurrence(java.util.Date startDate)
           
 int getOccurrences()
           
 OutlookAppointment getParent()
           
 java.util.Date getPatternEndDate()
           
 java.util.Date getPatternStartDate()
           
 RecurrenceType getRecurrenceType()
           
 java.util.Date getStartTime()
           
 boolean hasNoEndDate()
           
 boolean isRegenerate()
           
 void setDayOfMonth(int value)
           
 void setDayOfWeek(DaysOfWeek value)
           
 void setDayOfWeekMask(int daysMask)
          Set the pattern's mask for the days of the week on which the recurring appointment or task occurs.
 void setDuration(int value)
           
 void setEndTime(java.util.Date value)
           
 void setHasNoEndDate(boolean value)
           
 void setInstance(int value)
           
 void setInterval(int value)
           
 void setMonthOfYear(int value)
           
 void setOccurrences(int value)
           
 void setPatternEndDate(java.util.Date value)
           
 void setPatternStartDate(java.util.Date value)
           
 void setRecurrenceType(RecurrenceType value)
           
 void setRegenerate(boolean value)
           
 void setStartTime(java.util.Date value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DAY_SUNDAY

public static final int DAY_SUNDAY
See Also:
Constant Field Values

DAY_MONDAY

public static final int DAY_MONDAY
See Also:
Constant Field Values

DAY_TUESDAY

public static final int DAY_TUESDAY
See Also:
Constant Field Values

DAY_WEDNESDAY

public static final int DAY_WEDNESDAY
See Also:
Constant Field Values

DAY_THURSDAY

public static final int DAY_THURSDAY
See Also:
Constant Field Values

DAY_FRIDAY

public static final int DAY_FRIDAY
See Also:
Constant Field Values

DAY_SATURDAY

public static final int DAY_SATURDAY
See Also:
Constant Field Values
Constructor Detail

RecurrencePattern

public RecurrencePattern(com.moyosoft.connector.com.Dispatch dispatch)
Method Detail

getDispatch

public com.moyosoft.connector.com.Dispatch getDispatch()

getDayOfMonth

public int getDayOfMonth()

setDayOfMonth

public void setDayOfMonth(int value)

getDayOfWeekMask

public int getDayOfWeekMask()

setDayOfWeekMask

public void setDayOfWeekMask(int daysMask)
Set the pattern's mask for the days of the week on which the recurring appointment or task occurs.

Example:
 setDayOfWeekMask(DAY_MONDAY | DAY_TUESDAY);
 

Parameters:
daysMask - Use the constants RecurrencePattern.DAY_SUNDAY, DAY_MONDAY, DAY_TUESDAY, etc. to build the mask.

setDayOfWeek

public void setDayOfWeek(DaysOfWeek value)

getDuration

public int getDuration()

setDuration

public void setDuration(int value)

getEndTime

public java.util.Date getEndTime()

setEndTime

public void setEndTime(java.util.Date value)

getExceptions

public ExceptionsCollection getExceptions()

getInstance

public int getInstance()

setInstance

public void setInstance(int value)

getInterval

public int getInterval()

setInterval

public void setInterval(int value)

getMonthOfYear

public int getMonthOfYear()

setMonthOfYear

public void setMonthOfYear(int value)

hasNoEndDate

public boolean hasNoEndDate()

setHasNoEndDate

public void setHasNoEndDate(boolean value)

getOccurrences

public int getOccurrences()

setOccurrences

public void setOccurrences(int value)

getPatternEndDate

public java.util.Date getPatternEndDate()

setPatternEndDate

public void setPatternEndDate(java.util.Date value)

getPatternStartDate

public java.util.Date getPatternStartDate()

setPatternStartDate

public void setPatternStartDate(java.util.Date value)

getRecurrenceType

public RecurrenceType getRecurrenceType()

setRecurrenceType

public void setRecurrenceType(RecurrenceType value)

isRegenerate

public boolean isRegenerate()

setRegenerate

public void setRegenerate(boolean value)

getStartTime

public java.util.Date getStartTime()

setStartTime

public void setStartTime(java.util.Date value)

getOccurrence

public OutlookAppointment getOccurrence(java.util.Date startDate)

getParent

public OutlookAppointment getParent()

dispose

public void dispose()