public class OlsonTimeZoneDefinition extends TimeZoneDefinition
DaylightPeriodId, DaylightPeriodName, id, name, StandardPeriodId, StandardPeriodName
Constructor and Description |
---|
OlsonTimeZoneDefinition(TimeZone timeZone)
Create a TimeZoneDefinition compatible with java.util.TimeZone
|
Modifier and Type | Method and Description |
---|---|
void |
validate()
Validates this time zone definition.
|
compare, getId, getName, getPeriods, getTransitionGroups, loadFromXml, readAttributesFromXml, setId, setName, tryReadElementFromXml, writeAttributesToXml, writeElementsToXml, writeToXml, writeToXml
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, internalValidate, loadFromXml, loadFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, writeToXml
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public OlsonTimeZoneDefinition(TimeZone timeZone)
timeZone
- a java time zone object, will be converted to Microsoft timezone.public void validate() throws ServiceLocalException
TimeZoneDefinition
validate
in interface ISelfValidate
validate
in class TimeZoneDefinition
ServiceValidationException
- the service validation exceptionServiceLocalException
Copyright © 2012–2015 Microsoft. All rights reserved.