public final class TimeChange extends ComplexProperty
Constructor and Description |
---|
TimeChange()
Initializes a new instance of the "TimeChange" class.
|
TimeChange(TimeSpan offset)
Initializes a new instance of the
|
TimeChange(TimeSpan offset,
Time time)
Initializes a new instance of the "TimeChange" class.
|
Modifier and Type | Method and Description |
---|---|
Date |
getAbsoluteDate()
Gets the absolute date.
|
TimeSpan |
getOffset()
Gets the offset since the beginning of the year when the change occurs.
|
microsoft.exchange.webservices.data.property.complex.TimeChangeRecurrence |
getRecurrence()
Gets the recurrence.
|
Time |
getTime()
Gets the time.
|
String |
getTimeZoneName()
Gets the name of the associated time zone.
|
void |
readAttributesFromXml(EwsServiceXmlReader reader)
Reads the attribute from XML.
|
void |
setAbsoluteDate(Date absoluteDate)
Sets the absolute date.
|
void |
setOffset(TimeSpan offset)
Sets the offset since the beginning of the year when the change occurs.
|
void |
setRecurrence(microsoft.exchange.webservices.data.property.complex.TimeChangeRecurrence recurrence)
Sets the recurrence.
|
void |
setTime(Time time)
Sets the time.
|
void |
setTimeZoneName(String timeZoneName)
Sets the name of the associated time zone.
|
boolean |
tryReadElementFromXml(EwsServiceXmlReader reader)
Tries to read element from XML.
|
void |
writeAttributesToXml(EwsServiceXmlWriter writer)
Writes the attribute to XML.
|
void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes elements to XML.
|
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeToXml, writeToXml
public TimeChange()
public TimeChange(TimeSpan offset)
offset
- The offset since the beginning of the year when the change
occurs.public TimeChange(TimeSpan offset, Time time)
offset
- The offset since the beginning of the year when the change
occurs.time
- The time at which the change occurs.public String getTimeZoneName()
public void setTimeZoneName(String timeZoneName)
timeZoneName
- the timeZoneName to setpublic TimeSpan getOffset()
public void setOffset(TimeSpan offset)
offset
- the offset to setpublic Date getAbsoluteDate()
public void setAbsoluteDate(Date absoluteDate)
absoluteDate
- the absoluteDate to setpublic microsoft.exchange.webservices.data.property.complex.TimeChangeRecurrence getRecurrence()
public void setRecurrence(microsoft.exchange.webservices.data.property.complex.TimeChangeRecurrence recurrence)
recurrence
- the recurrence to setpublic boolean tryReadElementFromXml(EwsServiceXmlReader reader) throws Exception
tryReadElementFromXml
in class ComplexProperty
reader
- accepts EwsServiceXmlReaderException
- throws Exceptionpublic void readAttributesFromXml(EwsServiceXmlReader reader) throws Exception
readAttributesFromXml
in class ComplexProperty
reader
- accepts EwsServiceXmlReaderException
- throws Exceptionpublic void writeAttributesToXml(EwsServiceXmlWriter writer)
writeAttributesToXml
in class ComplexProperty
writer
- accepts EwsServiceXmlWriterpublic void writeElementsToXml(EwsServiceXmlWriter writer) throws Exception
writeElementsToXml
in class ComplexProperty
writer
- accepts EwsServiceXmlWriterException
- throws ExceptionCopyright © 2012–2015 Microsoft. All rights reserved.