public class TimeZoneTransition extends ComplexProperty
Modifier | Constructor and Description |
---|---|
protected |
TimeZoneTransition(TimeZoneDefinition timeZoneDefinition)
Initializes a new instance of the class.
|
|
TimeZoneTransition(TimeZoneDefinition timeZoneDefinition,
TimeZonePeriod targetPeriod)
Initializes a new instance of the class.
|
protected |
TimeZoneTransition(TimeZoneDefinition timeZoneDefinition,
TimeZoneTransitionGroup targetGroup)
Initializes a new instance of the class.
|
Modifier and Type | Method and Description |
---|---|
static TimeZoneTransition |
create(TimeZoneDefinition timeZoneDefinition,
String xmlElementName)
Creates a time zone period transition of the appropriate type given an
XML element name.
|
TimeZoneTransitionGroup |
getTargetGroup()
Gets the target transition group of the transition.
|
protected TimeZonePeriod |
getTargetPeriod()
Gets the target period of the transition.
|
protected String |
getXmlElementName()
Gets the XML element name associated with the transition.
|
void |
loadFromXml(EwsServiceXmlReader reader)
Loads from XML.
|
boolean |
tryReadElementFromXml(EwsServiceXmlReader reader)
Tries to read element from XML.The reader.
|
void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes elements to XML.
|
void |
writeToXml(EwsServiceXmlWriter writer)
Writes to XML.
|
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeToXml, writeToXml
protected TimeZoneTransition(TimeZoneDefinition timeZoneDefinition)
timeZoneDefinition
- the time zone definitionprotected TimeZoneTransition(TimeZoneDefinition timeZoneDefinition, TimeZoneTransitionGroup targetGroup)
timeZoneDefinition
- the time zone definitiontargetGroup
- the target grouppublic TimeZoneTransition(TimeZoneDefinition timeZoneDefinition, TimeZonePeriod targetPeriod)
timeZoneDefinition
- the time zone definitiontargetPeriod
- the target periodpublic static TimeZoneTransition create(TimeZoneDefinition timeZoneDefinition, String xmlElementName) throws ServiceLocalException
timeZoneDefinition
- the time zone definitionxmlElementName
- the xml element nameServiceLocalException
- the service local exceptionprotected String getXmlElementName()
public boolean tryReadElementFromXml(EwsServiceXmlReader reader) throws Exception
tryReadElementFromXml
in class ComplexProperty
reader
- The
reader.Exception
- the exceptionpublic void writeElementsToXml(EwsServiceXmlWriter writer) throws ServiceXmlSerializationException, XMLStreamException
writeElementsToXml
in class ComplexProperty
writer
- the writerServiceXmlSerializationException
- the service xml serialization exceptionXMLStreamException
- the XML stream exceptionpublic void loadFromXml(EwsServiceXmlReader reader) throws Exception
reader
- the readerException
- the exceptionpublic void writeToXml(EwsServiceXmlWriter writer) throws Exception
writer
- the writerException
- the exceptionprotected TimeZonePeriod getTargetPeriod()
public TimeZoneTransitionGroup getTargetGroup()
Copyright © 2012–2015 Microsoft. All rights reserved.