microsoft.exchange.webservices.data.misc.availability
Class LegacyAvailabilityTimeZone

java.lang.Object
  extended by microsoft.exchange.webservices.data.property.complex.ComplexProperty
      extended by 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
LegacyAvailabilityTimeZone()
          Initializes a new instance of the LegacyAvailabilityTimeZone class.
 
Method Summary
 TimeZoneDefinition toTimeZoneInfo()
          To time zone info.
 boolean tryReadElementFromXml(EwsServiceXmlReader reader)
          Tries to read element from XML.
 void writeElementsToXml(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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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:
tryReadElementFromXml in class ComplexProperty
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:
writeElementsToXml in class ComplexProperty
Parameters:
writer - the writer
Throws:
Exception - the exception


Copyright © 2012–2015 Microsoft. All rights reserved.