|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmicrosoft.exchange.webservices.data.property.complex.ComplexProperty
microsoft.exchange.webservices.data.property.complex.time.TimeZoneTransitionGroup
public class TimeZoneTransitionGroup
Represents a group of time zone period transitions.
| Nested Class Summary | |
|---|---|
protected static class |
TimeZoneTransitionGroup.CustomTimeZoneCreateParams
The Class CustomTimeZoneCreateParams. |
| Constructor Summary | |
|---|---|
TimeZoneTransitionGroup(TimeZoneDefinition timeZoneDefinition)
Initializes a new instance of the class. |
|
TimeZoneTransitionGroup(TimeZoneDefinition timeZoneDefinition,
String id)
Initializes a new instance of the class. |
|
| Method Summary | |
|---|---|
protected TimeZoneTransitionGroup.CustomTimeZoneCreateParams |
getCustomTimeZoneCreationParams()
Gets the offset to UTC based on this group's transitions. |
String |
getId()
Gets the id of this group. |
protected boolean |
getSupportsDaylight()
Gets a value indicating whether this group contains a transition to the Daylight period. |
List<TimeZoneTransition> |
getTransitions()
Gets the transitions in this group. |
void |
loadFromXml(EwsServiceXmlReader reader)
Loads from XML. |
void |
readAttributesFromXml(EwsServiceXmlReader reader)
Reads the attribute from XML. |
void |
setId(String id)
Sets the id. |
boolean |
tryReadElementFromXml(EwsServiceXmlReader reader)
Writes the attribute to XML. |
void |
validate()
Validates this transition group. |
void |
writeAttributesToXml(EwsServiceXmlWriter writer)
Writes the attribute to XML. |
void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes elements to XML. |
void |
writeToXml(EwsServiceXmlWriter writer)
Writes to XML. |
| Methods inherited from class microsoft.exchange.webservices.data.property.complex.ComplexProperty |
|---|
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, writeToXml, writeToXml |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimeZoneTransitionGroup(TimeZoneDefinition timeZoneDefinition)
timeZoneDefinition - the time zone definition
public TimeZoneTransitionGroup(TimeZoneDefinition timeZoneDefinition,
String id)
timeZoneDefinition - the time zone definitionid - the id| Method Detail |
|---|
public void loadFromXml(EwsServiceXmlReader reader)
throws Exception
reader - the reader
Exception - the exception
public void writeToXml(EwsServiceXmlWriter writer)
throws Exception
writer - the writer
Exception - the exception
public void readAttributesFromXml(EwsServiceXmlReader reader)
throws Exception
readAttributesFromXml in class ComplexPropertyreader - the reader
Exception - the exception
public void writeAttributesToXml(EwsServiceXmlWriter writer)
throws ServiceXmlSerializationException
writeAttributesToXml in class ComplexPropertywriter - the writer
ServiceXmlSerializationException - the service xml serialization exception
public boolean tryReadElementFromXml(EwsServiceXmlReader reader)
throws Exception
tryReadElementFromXml in class ComplexPropertyreader - the reader
Exception - the exception
public void writeElementsToXml(EwsServiceXmlWriter writer)
throws Exception
writeElementsToXml in class ComplexPropertywriter - the writer
Exception - the exception
public void validate()
throws ServiceLocalException
validate in interface ISelfValidatevalidate in class ComplexPropertyInvalidOrUnsupportedTimeZoneDefinitionException - thrown when time zone definition is not valid.
ServiceValidationException - the service validation exception
ServiceLocalExceptionprotected boolean getSupportsDaylight()
protected TimeZoneTransitionGroup.CustomTimeZoneCreateParams getCustomTimeZoneCreationParams()
public String getId()
public void setId(String id)
id - the new idpublic List<TimeZoneTransition> getTransitions()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||