|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.property.complex.ComplexProperty
microsoft.exchange.webservices.data.property.complex.recurrence.pattern.Recurrence
microsoft.exchange.webservices.data.property.complex.recurrence.pattern.Recurrence.YearlyPattern
public static final class Recurrence.YearlyPattern
Represents a recurrence pattern where each occurrence happens on a specific day every year.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class microsoft.exchange.webservices.data.property.complex.recurrence.pattern.Recurrence |
|---|
Recurrence.DailyPattern, Recurrence.DailyRegenerationPattern, Recurrence.IntervalPattern, Recurrence.MonthlyPattern, Recurrence.MonthlyRegenerationPattern, Recurrence.RelativeMonthlyPattern, Recurrence.RelativeYearlyPattern, Recurrence.WeeklyPattern, Recurrence.WeeklyRegenerationPattern, Recurrence.YearlyPattern, Recurrence.YearlyRegenerationPattern |
| Constructor Summary | |
|---|---|
Recurrence.YearlyPattern()
Initializes a new instance of the YearlyPattern class. |
|
Recurrence.YearlyPattern(Date startDate,
Month month,
int dayOfMonth)
Initializes a new instance of the YearlyPattern class. |
|
| Method Summary | |
|---|---|
int |
getDayOfMonth()
Gets the day of the month when each occurrence happens. |
Month |
getMonth()
Gets the month of the year when each occurrence happens. |
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 the month when each occurrence happens. |
void |
setMonth(Month value)
Sets the month. |
boolean |
tryReadElementFromXml(EwsServiceXmlReader reader)
Tries to read element from XML. |
| Methods inherited from class microsoft.exchange.webservices.data.property.complex.recurrence.pattern.Recurrence |
|---|
getEndDate, getFieldValueOrThrowIfNull, getNumberOfOccurrences, getStartDate, hasEnd, isRegenerationPattern, neverEnds, setEndDate, setNumberOfOccurrences, setStartDate, writeElementsToXml |
| Methods inherited from class microsoft.exchange.webservices.data.property.complex.ComplexProperty |
|---|
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeToXml, writeToXml |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Recurrence.YearlyPattern()
public Recurrence.YearlyPattern(Date startDate,
Month month,
int dayOfMonth)
startDate - the start datemonth - the monthdayOfMonth - the day of month| Method Detail |
|---|
public String getXmlElementName()
getXmlElementName in class Recurrence
public void internalWritePropertiesToXml(EwsServiceXmlWriter writer)
throws Exception
internalWritePropertiesToXml in class Recurrencewriter - the writer
Exception - the exception
public boolean tryReadElementFromXml(EwsServiceXmlReader reader)
throws Exception
tryReadElementFromXml in class ComplexPropertyreader - the reader
Exception - the exception
public void internalValidate()
throws Exception
internalValidate in class RecurrenceException
public Month getMonth()
throws ServiceValidationException
ServiceValidationException - the service validation exceptionpublic void setMonth(Month value)
value - the new month
public int getDayOfMonth()
throws ServiceValidationException
ServiceValidationException - the service validation exception
public void setDayOfMonth(int value)
throws ArgumentOutOfRangeException
value - the new day of month
ArgumentOutOfRangeException - the argument out of range exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||