Class OlsonTimeZoneDefinition
- java.lang.Object
-
- microsoft.exchange.webservices.data.property.complex.ComplexProperty
-
- microsoft.exchange.webservices.data.property.complex.time.TimeZoneDefinition
-
- microsoft.exchange.webservices.data.property.complex.time.OlsonTimeZoneDefinition
-
- All Implemented Interfaces:
Comparator<TimeZoneTransition>,ISelfValidate,ComplexFunctionDelegate<EwsServiceXmlReader>
public class OlsonTimeZoneDefinition extends TimeZoneDefinition
A TimeZoneDefinition class that allows mapping from a Java/Olson TimeZone to a MS TimeZone.
-
-
Field Summary
-
Fields inherited from class microsoft.exchange.webservices.data.property.complex.time.TimeZoneDefinition
DaylightPeriodId, DaylightPeriodName, id, name, StandardPeriodId, StandardPeriodName
-
-
Constructor Summary
Constructors Constructor Description OlsonTimeZoneDefinition(TimeZone timeZone)Create a TimeZoneDefinition compatible with java.util.TimeZone
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate()Validates this time zone definition.-
Methods inherited from class microsoft.exchange.webservices.data.property.complex.time.TimeZoneDefinition
compare, getId, getName, getPeriods, getTransitionGroups, loadFromXml, readAttributesFromXml, setId, setName, tryReadElementFromXml, writeAttributesToXml, writeElementsToXml, writeToXml, writeToXml
-
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
-
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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Constructor Detail
-
OlsonTimeZoneDefinition
public OlsonTimeZoneDefinition(TimeZone timeZone)
Create a TimeZoneDefinition compatible with java.util.TimeZone- Parameters:
timeZone- a java time zone object, will be converted to Microsoft timezone.
-
-
Method Detail
-
validate
public void validate() throws ServiceLocalException
Description copied from class:TimeZoneDefinitionValidates this time zone definition.- Specified by:
validatein interfaceISelfValidate- Overrides:
validatein classTimeZoneDefinition- Throws:
ServiceValidationException- the service validation exceptionServiceLocalException
-
-