public class AbsoluteDateTransition extends TimeZoneTransition
Modifier | Constructor and Description |
---|---|
protected |
AbsoluteDateTransition(TimeZoneDefinition timeZoneDefinition)
Initializes a new instance of the AbsoluteDateTransition class.
|
protected |
AbsoluteDateTransition(TimeZoneDefinition timeZoneDefinition,
TimeZoneTransitionGroup targetGroup)
Initializes a new instance of the AbsoluteDateTransition class.
|
Modifier and Type | Method and Description |
---|---|
Date |
getDateTime()
Gets the absolute date and time when the transition occurs.
|
protected String |
getXmlElementName()
Gets the XML element name associated with the transition.
|
protected void |
setDateTime(Date dateTime)
Sets the date time.
|
boolean |
tryReadElementFromXml(EwsServiceXmlReader reader)
Tries to read element from XML.
|
void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes elements to XML.
|
create, getTargetGroup, getTargetPeriod, loadFromXml, writeToXml
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeToXml, writeToXml
protected AbsoluteDateTransition(TimeZoneDefinition timeZoneDefinition)
timeZoneDefinition
- , The time zone definition the transition will belong to.protected AbsoluteDateTransition(TimeZoneDefinition timeZoneDefinition, TimeZoneTransitionGroup targetGroup)
timeZoneDefinition
- The time zone definition the transition will belong to.targetGroup
- the target groupprotected String getXmlElementName()
getXmlElementName
in class TimeZoneTransition
public boolean tryReadElementFromXml(EwsServiceXmlReader reader) throws ParseException, Exception
tryReadElementFromXml
in class TimeZoneTransition
reader
- the readerParseException
- the parse exceptionException
- the exceptionpublic void writeElementsToXml(EwsServiceXmlWriter writer) throws ServiceXmlSerializationException, XMLStreamException
writeElementsToXml
in class TimeZoneTransition
writer
- the writerServiceXmlSerializationException
- the service xml serialization exceptionXMLStreamException
- the XML stream exceptionpublic Date getDateTime()
protected void setDateTime(Date dateTime)
dateTime
- the new date timeCopyright © 2012–2015 Microsoft. All rights reserved.