|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.ComplexProperty
microsoft.exchange.webservices.data.TimeZoneDefinition
public class TimeZoneDefinition
Represents a time zone as defined by the EWS schema.
| Field Summary | |
|---|---|
protected String |
DaylightPeriodId
The Daylight period id. |
protected String |
DaylightPeriodName
The Daylight period name. |
protected String |
id
The id. |
protected String |
name
The name. |
protected String |
StandardPeriodId
The Standard period id. |
protected String |
StandardPeriodName
The Standard period name. |
| Constructor Summary | |
|---|---|
protected |
TimeZoneDefinition()
Initializes a new instance of the TimeZoneDefinition class. |
| Method Summary | |
|---|---|
int |
compare(microsoft.exchange.webservices.data.TimeZoneTransition x,
microsoft.exchange.webservices.data.TimeZoneTransition y)
Compares the transitions. |
String |
getId()
Gets the Id of this time zone definition. |
String |
getName()
Gets the name of this time zone definition. |
protected Map<String,microsoft.exchange.webservices.data.TimeZonePeriod> |
getPeriods()
Adds a transition group with a single transition to the specified period. |
protected Map<String,microsoft.exchange.webservices.data.TimeZoneTransitionGroup> |
getTransitionGroups()
Gets the transition groups associated with this time zone definition, indexed by Id. |
protected void |
loadFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
Loads from XML. |
protected void |
readAttributesFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
Reads the attributes from XML. |
protected void |
setId(String id)
Sets the id. |
protected void |
setName(String name)
Sets the name. |
protected boolean |
tryReadElementFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
Tries to read element from XML. |
void |
validate()
Validates this time zone definition. |
protected void |
writeAttributesToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
Writes the attributes to XML. |
protected void |
writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
Writes elements to XML. |
protected void |
writeToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
Writes to XML. |
protected void |
writeToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer,
String xmlElementName)
Writes to XML. |
| Methods inherited from class microsoft.exchange.webservices.data.ComplexProperty |
|---|
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, getNamespace, internalValidate, loadFromXml, loadFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, writeToXml |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
|---|
equals |
| Field Detail |
|---|
protected final String StandardPeriodId
protected final String StandardPeriodName
protected final String DaylightPeriodId
protected final String DaylightPeriodName
protected String name
protected String id
| Constructor Detail |
|---|
protected TimeZoneDefinition()
| Method Detail |
|---|
public int compare(microsoft.exchange.webservices.data.TimeZoneTransition x,
microsoft.exchange.webservices.data.TimeZoneTransition y)
compare in interface Comparator<microsoft.exchange.webservices.data.TimeZoneTransition>x - The first transition.y - The second transition.
protected void readAttributesFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
throws Exception
readAttributesFromXml in class ComplexPropertyreader - the reader
Exception - the exception
protected void writeAttributesToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
throws ServiceXmlSerializationException
writeAttributesToXml in class ComplexPropertywriter - the writer
ServiceXmlSerializationException - the service xml serialization exception
protected boolean tryReadElementFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
throws Exception
tryReadElementFromXml in class ComplexPropertyreader - the reader
Exception - the exception
protected void loadFromXml(microsoft.exchange.webservices.data.EwsServiceXmlReader reader)
throws Exception
reader - the reader
Exception - the exception
protected void writeElementsToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
throws Exception
writeElementsToXml in class ComplexPropertywriter - the writer
Exception - the exception
protected void writeToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer)
throws Exception
writer - The writer.
Exception - the exception
public void validate()
throws ServiceLocalException
validate in class ComplexPropertyServiceLocalException - the service local exceptionpublic String getName()
protected void setName(String name)
name - the new namepublic String getId()
protected void setId(String id)
id - the new idprotected Map<String,microsoft.exchange.webservices.data.TimeZonePeriod> getPeriods()
protected Map<String,microsoft.exchange.webservices.data.TimeZoneTransitionGroup> getTransitionGroups()
protected void writeToXml(microsoft.exchange.webservices.data.EwsServiceXmlWriter writer,
String xmlElementName)
throws Exception
writeToXml in class ComplexPropertywriter - accepts EwsServiceXmlWriterxmlElementName - accepts String
Exception - throws Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||