public class TimeZonePeriod extends ComplexProperty
Modifier and Type | Field and Description |
---|---|
protected static String |
DaylightPeriodId
The Constant DaylightPeriodId.
|
protected static String |
DaylightPeriodName
The Constant DaylightPeriodName.
|
protected static String |
StandardPeriodId
The Constant StandardPeriodId.
|
protected static String |
StandardPeriodName
The Constant StandardPeriodName.
|
Constructor and Description |
---|
TimeZonePeriod()
Initializes a new instance of the TimeZonePeriod class.
|
Modifier and Type | Method and Description |
---|---|
protected TimeSpan |
getBias()
Gets the bias to UTC associated with this period.
|
String |
getId()
Gets the id of this period.
|
protected String |
getName()
Gets the name of this period.
|
protected boolean |
isStandardPeriod()
Gets a value indicating whether this period represents the Standard
period.
|
void |
loadFromXml(EwsServiceXmlReader reader)
Loads from XML.
|
void |
readAttributesFromXml(EwsServiceXmlReader reader)
Reads the attribute from XML.
|
protected void |
setBias(TimeSpan bias)
Sets the bias.
|
protected void |
setId(String id)
Sets the id.
|
protected void |
setName(String name)
Sets the name.
|
void |
writeAttributesToXml(EwsServiceXmlWriter writer)
Writes the attribute to XML.
|
void |
writeToXml(EwsServiceXmlWriter writer)
Writes to XML.
|
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXml, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeElementsToXml, writeToXml, writeToXml
protected static final String StandardPeriodId
protected static final String StandardPeriodName
protected static final String DaylightPeriodId
protected static final String DaylightPeriodName
public TimeZonePeriod()
public 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 loadFromXml(EwsServiceXmlReader reader) throws Exception
reader
- the readerException
- the exceptionpublic void writeToXml(EwsServiceXmlWriter writer) throws Exception
writer
- the writerException
- the exceptionprotected boolean isStandardPeriod()
protected TimeSpan getBias()
Copyright © 2012–2015 Microsoft. All rights reserved.