public abstract static class Recurrence.IntervalPattern extends Recurrence
Recurrence.DailyPattern, Recurrence.DailyRegenerationPattern, Recurrence.IntervalPattern, Recurrence.MonthlyPattern, Recurrence.MonthlyRegenerationPattern, Recurrence.RelativeMonthlyPattern, Recurrence.RelativeYearlyPattern, Recurrence.WeeklyPattern, Recurrence.WeeklyRegenerationPattern, Recurrence.YearlyPattern, Recurrence.YearlyRegenerationPattern| Constructor and Description |
|---|
IntervalPattern()
Initializes a new instance of the IntervalPattern class.
|
IntervalPattern(Date startDate,
int interval)
Initializes a new instance of the IntervalPattern class.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getInterval()
Gets the interval between occurrences.
|
void |
internalWritePropertiesToXml(EwsServiceXmlWriter writer)
Write property to XML.
|
void |
setInterval(int value)
Sets the interval.
|
boolean |
tryReadElementFromXml(EwsServiceXmlReader reader)
Tries to read element from XML.
|
getEndDate, getFieldValueOrThrowIfNull, getNumberOfOccurrences, getStartDate, getXmlElementName, hasEnd, internalValidate, isRegenerationPattern, neverEnds, setEndDate, setNumberOfOccurrences, setStartDate, writeElementsToXmladdOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeToXml, writeToXmlpublic IntervalPattern()
public IntervalPattern(Date startDate, int interval) throws ArgumentOutOfRangeException
startDate - The date and time when the recurrence starts.interval - The number of days between each occurrence.ArgumentOutOfRangeException - the argument out of range exceptionpublic void internalWritePropertiesToXml(EwsServiceXmlWriter writer) throws Exception
internalWritePropertiesToXml in class Recurrencewriter - the writerException - the exceptionpublic boolean tryReadElementFromXml(EwsServiceXmlReader reader) throws Exception
tryReadElementFromXml in class ComplexPropertyreader - the readerException - the exceptionpublic int getInterval()
public void setInterval(int value) throws ArgumentOutOfRangeException
value - the new intervalArgumentOutOfRangeException - the argument out of range exceptionCopyright © 2012–2015 Microsoft. All rights reserved.