public final class EndDateRecurrenceRange extends RecurrenceRange
Constructor and Description |
---|
EndDateRecurrenceRange()
Initializes a new instance.
|
EndDateRecurrenceRange(Date startDate,
Date endDate)
Initializes a new instance.
|
Modifier and Type | Method and Description |
---|---|
Date |
getEndDate()
Gets the end date.
|
String |
getXmlElementName()
Gets the name of the XML element.
|
void |
setEndDate(Date value)
sets the end date.
|
void |
setupRecurrence(Recurrence recurrence)
Setups the recurrence.
|
boolean |
tryReadElementFromXml(EwsServiceXmlReader reader)
Tries to read element from XML.
|
void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes the elements to XML.
|
changed, getRecurrence, getStartDate, setRecurrence, setStartDate
addOnChangeEvent, canSetFieldValue, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeToXml, writeToXml
public EndDateRecurrenceRange()
public EndDateRecurrenceRange(Date startDate, Date endDate)
startDate
- the start dateendDate
- the end datepublic String getXmlElementName()
getXmlElementName
in class RecurrenceRange
public void setupRecurrence(Recurrence recurrence) throws Exception
setupRecurrence
in class RecurrenceRange
recurrence
- the new up recurrenceException
- the exceptionpublic void writeElementsToXml(EwsServiceXmlWriter writer) throws XMLStreamException, ServiceXmlSerializationException
writeElementsToXml
in class RecurrenceRange
writer
- the writerXMLStreamException
- the XML stream exceptionServiceXmlSerializationException
- the service xml serialization exceptionpublic boolean tryReadElementFromXml(EwsServiceXmlReader reader) throws Exception
tryReadElementFromXml
in class RecurrenceRange
reader
- the readerException
- the exceptionpublic Date getEndDate()
public void setEndDate(Date value)
value
- the new end dateCopyright © 2012–2015 Microsoft. All rights reserved.