public static final class Recurrence.MonthlyPattern extends Recurrence.IntervalPattern
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 |
|---|
MonthlyPattern()
Initializes a new instance of the MonthlyPattern class.
|
MonthlyPattern(Date startDate,
int interval,
int dayOfMonth)
Initializes a new instance of the MonthlyPattern class.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDayOfMonth()
Gets the day of month.
|
String |
getXmlElementName()
Gets the name of the XML element.
|
void |
internalValidate()
Validates this instance.
|
void |
internalWritePropertiesToXml(EwsServiceXmlWriter writer)
Write property to XML.
|
void |
setDayOfMonth(int value)
Sets the day of month.
|
boolean |
tryReadElementFromXml(EwsServiceXmlReader reader)
Tries to read element from XML.
|
getInterval, setIntervalgetEndDate, getFieldValueOrThrowIfNull, getNumberOfOccurrences, getStartDate, hasEnd, 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 MonthlyPattern()
public MonthlyPattern(Date startDate, int interval, int dayOfMonth) throws ArgumentOutOfRangeException
startDate - the start dateinterval - the intervaldayOfMonth - the day of monthArgumentOutOfRangeException - the argument out of range exceptionpublic String getXmlElementName()
RecurrencegetXmlElementName in class Recurrencepublic void internalWritePropertiesToXml(EwsServiceXmlWriter writer) throws Exception
internalWritePropertiesToXml in class Recurrence.IntervalPatternwriter - the writerException - the exceptionpublic boolean tryReadElementFromXml(EwsServiceXmlReader reader) throws Exception
tryReadElementFromXml in class Recurrence.IntervalPatternreader - the readerException - the exceptionpublic void internalValidate() throws Exception
internalValidate in class RecurrenceExceptionpublic int getDayOfMonth() throws ServiceValidationException
ServiceValidationException - the service validation exceptionpublic void setDayOfMonth(int value) throws ArgumentOutOfRangeException
value - the new day of monthArgumentOutOfRangeException - the argument out of range exceptionCopyright © 2012–2015 Microsoft. All rights reserved.