public static final class Recurrence.RelativeYearlyPattern 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 |
---|
RelativeYearlyPattern()
Instantiates a new relative yearly pattern.
|
RelativeYearlyPattern(Date startDate,
Month month,
DayOfTheWeek dayOfTheWeek,
DayOfTheWeekIndex dayOfTheWeekIndex)
Instantiates a new relative yearly pattern.
|
Modifier and Type | Method and Description |
---|---|
DayOfTheWeek |
getDayOfTheWeek()
Gets the day of the week.
|
DayOfTheWeekIndex |
getDayOfTheWeekIndex()
Gets the relative position of the day specified in DayOfTheWeek
within the month.
|
Month |
getMonth()
Gets the month.
|
String |
getXmlElementName()
Gets the name of the XML element.
|
void |
internalValidate()
Validates this instance.
|
void |
internalWritePropertiesToXml(EwsServiceXmlWriter writer)
Write property to XML.
|
void |
setDayOfTheWeek(DayOfTheWeek value)
Sets the day of the week.
|
void |
setDayOfTheWeekIndex(DayOfTheWeekIndex value)
Sets the relative position of the day specified in DayOfTheWeek
within the month.
|
void |
setMonth(Month value)
Sets the month.
|
boolean |
tryReadElementFromXml(EwsServiceXmlReader reader)
Tries to read element from XML.
|
getEndDate, getFieldValueOrThrowIfNull, getNumberOfOccurrences, getStartDate, hasEnd, isRegenerationPattern, neverEnds, setEndDate, setNumberOfOccurrences, setStartDate, writeElementsToXml
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeToXml, writeToXml
public RelativeYearlyPattern()
public RelativeYearlyPattern(Date startDate, Month month, DayOfTheWeek dayOfTheWeek, DayOfTheWeekIndex dayOfTheWeekIndex)
startDate
- the start datemonth
- the monthdayOfTheWeek
- the day of the weekdayOfTheWeekIndex
- the day of the week indexpublic String getXmlElementName()
getXmlElementName
in class Recurrence
public void internalWritePropertiesToXml(EwsServiceXmlWriter writer) throws Exception
internalWritePropertiesToXml
in class Recurrence
writer
- the writerException
- the exceptionpublic boolean tryReadElementFromXml(EwsServiceXmlReader reader) throws Exception
tryReadElementFromXml
in class ComplexProperty
reader
- the readerException
- the exceptionpublic void internalValidate() throws Exception
internalValidate
in class Recurrence
Exception
public DayOfTheWeekIndex getDayOfTheWeekIndex() throws ServiceValidationException
ServiceValidationException
- the service validation exceptionpublic void setDayOfTheWeekIndex(DayOfTheWeekIndex value)
value
- the new day of the week indexpublic DayOfTheWeek getDayOfTheWeek() throws ServiceValidationException
ServiceValidationException
- the service validation exceptionpublic void setDayOfTheWeek(DayOfTheWeek value)
value
- the new day of the weekpublic Month getMonth() throws ServiceValidationException
ServiceValidationException
- the service validation exceptionCopyright © 2012–2015 Microsoft. All rights reserved.