microsoft.exchange.webservices.data.property.complex
Class MeetingTimeZone

java.lang.Object
  extended by microsoft.exchange.webservices.data.property.complex.ComplexProperty
      extended by microsoft.exchange.webservices.data.property.complex.MeetingTimeZone
All Implemented Interfaces:
ISelfValidate, ComplexFunctionDelegate<EwsServiceXmlReader>

public final class MeetingTimeZone
extends ComplexProperty

Represents a time zone in which a meeting is defined.


Constructor Summary
MeetingTimeZone()
          Initializes a new instance of the MeetingTimeZone class.
MeetingTimeZone(String name)
          Initializes a new instance of the MeetingTimeZone class.
MeetingTimeZone(TimeZoneDefinition timeZone)
          Initializes a new instance of the MeetingTimeZone class.
 
Method Summary
 TimeSpan getBaseOffset()
          Gets the base offset of the time zone from the UTC time zone.
 TimeChange getDaylight()
          Gets a TimeChange defining when the time changes to Daylight Saving Time.
 String getName()
          Gets the name of the time zone.
 TimeChange getStandard()
          Gets a TimeChange defining when the time changes to Standard Time.
 void readAttributesFromXml(EwsServiceXmlReader reader)
          Reads the attribute from XML.
 void setBaseOffset(TimeSpan value)
          Sets the base offset.
 void setDaylight(TimeChange value)
          Sets the daylight.
 void setName(String value)
          Sets the name.
 void setStandard(TimeChange value)
          Sets the standard.
 TimeZoneDefinition toTimeZoneInfo()
          Converts this meeting time zone into a TimeZoneInfo structure.
 boolean tryReadElementFromXml(EwsServiceXmlReader reader)
          Gets the minimum required server version.
 void writeAttributesToXml(EwsServiceXmlWriter writer)
          Writes the attribute to XML.
 void writeElementsToXml(EwsServiceXmlWriter writer)
          Writes the attribute to XML.
 
Methods inherited from class microsoft.exchange.webservices.data.property.complex.ComplexProperty
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeToXml, writeToXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MeetingTimeZone

public MeetingTimeZone(TimeZoneDefinition timeZone)
Initializes a new instance of the MeetingTimeZone class.

Parameters:
timeZone - The time zone used to initialize this instance.

MeetingTimeZone

public MeetingTimeZone()
Initializes a new instance of the MeetingTimeZone class.


MeetingTimeZone

public MeetingTimeZone(String name)
Initializes a new instance of the MeetingTimeZone class.

Parameters:
name - The name of the time zone.
Method Detail

tryReadElementFromXml

public boolean tryReadElementFromXml(EwsServiceXmlReader reader)
                              throws Exception
Gets the minimum required server version.

Overrides:
tryReadElementFromXml in class ComplexProperty
Parameters:
reader - the reader
Returns:
Earliest Exchange version in which this service object type is supported.
Throws:
Exception - the exception

readAttributesFromXml

public void readAttributesFromXml(EwsServiceXmlReader reader)
                           throws Exception
Reads the attribute from XML.

Overrides:
readAttributesFromXml in class ComplexProperty
Parameters:
reader - the reader
Throws:
Exception - the exception

writeAttributesToXml

public void writeAttributesToXml(EwsServiceXmlWriter writer)
                          throws ServiceXmlSerializationException
Writes the attribute to XML.

Overrides:
writeAttributesToXml in class ComplexProperty
Parameters:
writer - the writer
Throws:
ServiceXmlSerializationException - the service xml serialization exception

writeElementsToXml

public void writeElementsToXml(EwsServiceXmlWriter writer)
                        throws Exception
Writes the attribute to XML.

Overrides:
writeElementsToXml in class ComplexProperty
Parameters:
writer - the writer
Throws:
Exception - the exception

toTimeZoneInfo

public TimeZoneDefinition toTimeZoneInfo()
Converts this meeting time zone into a TimeZoneInfo structure.

Returns:
the time zone

getName

public String getName()
Gets the name of the time zone.

Returns:
the name

setName

public void setName(String value)
Sets the name.

Parameters:
value - the new name

getBaseOffset

public TimeSpan getBaseOffset()
Gets the base offset of the time zone from the UTC time zone.

Returns:
the base offset

setBaseOffset

public void setBaseOffset(TimeSpan value)
Sets the base offset.

Parameters:
value - the new base offset

getStandard

public TimeChange getStandard()
Gets a TimeChange defining when the time changes to Standard Time.

Returns:
the standard

setStandard

public void setStandard(TimeChange value)
Sets the standard.

Parameters:
value - the new standard

getDaylight

public TimeChange getDaylight()
Gets a TimeChange defining when the time changes to Daylight Saving Time.

Returns:
the daylight

setDaylight

public void setDaylight(TimeChange value)
Sets the daylight.

Parameters:
value - the new daylight


Copyright © 2012–2015 Microsoft. All rights reserved.