public final class MeetingTimeZone extends ComplexProperty
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeToXml, writeToXml
public MeetingTimeZone(TimeZoneDefinition timeZone)
timeZone
- The time zone used to initialize this instance.public MeetingTimeZone()
public MeetingTimeZone(String name)
name
- The name of the time zone.public boolean tryReadElementFromXml(EwsServiceXmlReader reader) throws Exception
tryReadElementFromXml
in class ComplexProperty
reader
- the readerException
- the exceptionpublic void readAttributesFromXml(EwsServiceXmlReader reader) throws Exception
readAttributesFromXml
in class ComplexProperty
reader
- the readerException
- the exceptionpublic void writeAttributesToXml(EwsServiceXmlWriter writer) throws ServiceXmlSerializationException
writeAttributesToXml
in class ComplexProperty
writer
- the writerServiceXmlSerializationException
- the service xml serialization exceptionpublic void writeElementsToXml(EwsServiceXmlWriter writer) throws Exception
writeElementsToXml
in class ComplexProperty
writer
- the writerException
- the exceptionpublic TimeZoneDefinition toTimeZoneInfo()
public TimeSpan getBaseOffset()
public void setBaseOffset(TimeSpan value)
value
- the new base offsetpublic TimeChange getStandard()
public void setStandard(TimeChange value)
value
- the new standardpublic TimeChange getDaylight()
public void setDaylight(TimeChange value)
value
- the new daylightCopyright © 2012–2015 Microsoft. All rights reserved.