Class LegacyAvailabilityTimeZone
- java.lang.Object
-
- microsoft.exchange.webservices.data.property.complex.ComplexProperty
-
- microsoft.exchange.webservices.data.misc.availability.LegacyAvailabilityTimeZone
-
- All Implemented Interfaces:
ISelfValidate,ComplexFunctionDelegate<EwsServiceXmlReader>
public final class LegacyAvailabilityTimeZone extends ComplexProperty
Represents a time zone as used by GetUserAvailabilityRequest.
-
-
Constructor Summary
Constructors Constructor Description LegacyAvailabilityTimeZone()Initializes a new instance of the LegacyAvailabilityTimeZone class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimeZoneDefinitiontoTimeZoneInfo()To time zone info.booleantryReadElementFromXml(EwsServiceXmlReader reader)Tries to read element from XML.voidwriteElementsToXml(EwsServiceXmlWriter writer)Writes the elements to XML.-
Methods inherited from class microsoft.exchange.webservices.data.property.complex.ComplexProperty
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeToXml, writeToXml
-
-
-
-
Constructor Detail
-
LegacyAvailabilityTimeZone
public LegacyAvailabilityTimeZone()
Initializes a new instance of the LegacyAvailabilityTimeZone class.
-
-
Method Detail
-
toTimeZoneInfo
public TimeZoneDefinition toTimeZoneInfo()
To time zone info.- Returns:
- the time zone
-
tryReadElementFromXml
public boolean tryReadElementFromXml(EwsServiceXmlReader reader) throws Exception
Tries to read element from XML.- Overrides:
tryReadElementFromXmlin classComplexProperty- Parameters:
reader- the reader- Returns:
- True if element was read.
- Throws:
Exception- the exception
-
writeElementsToXml
public void writeElementsToXml(EwsServiceXmlWriter writer) throws Exception
Writes the elements to XML.- Overrides:
writeElementsToXmlin classComplexProperty- Parameters:
writer- the writer- Throws:
Exception- the exception
-
-