public class TimeZoneInfo extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, ITimeZoneInfo, IXMLSerialize, IXMLVersionSupport, IClone, IPersistStream, IDocumentVersionSupportGEN, java.io.Externalizable
Description 'An object that represents a time zone information.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
IID, IID0f8fd6ab_ce6d_4bb2_a5ef_2f6035e304c5, xxDummyIID, IIDc8545045_6615_48e3_af27_52a0e5fc35e2, xxDummyIID, IID72ca65b9_13de_48b7_8443_717b69b72a99, xxDummyIID, IID9bff8aeb_e415_11d0_943c_080009eebecb, xxDummyIID, IID00000109_0000_0000_c000_000000000046, xxDummyIID0000010c_0000_0000_c000_000000000046| Constructor and Description |
|---|
TimeZoneInfo()
Constructs a TimeZoneInfo using ArcGIS Engine.
|
TimeZoneInfo(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
TimeZoneInfo theTimeZoneInfo = (TimeZoneInfo) obj; |
| Modifier and Type | Method and Description |
|---|---|
void |
addDynamicRule(ITimeZoneRule dynamicRule)
Adds a dynamic adjustment to the time zone.
|
void |
assign(IClone src)
Assigns the properties of src to the receiver.
|
java.lang.Object |
convertToSupportedObject(int docVersion)
Convert the object to another object that is supported.
|
void |
deserialize(IXMLSerializeData data)
Deserializes an object from XML.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
IClone |
esri_clone()
Clones the receiver and assigns the result to *clone.
|
void |
getClassID(GUID[] pClassID)
getClassID
|
static java.lang.String |
getClsid()
getClsid.
|
java.lang.String |
getCustomDescription()
Custom description for the time zone.
|
java.lang.String |
getDaylightTimeName()
The time zone name during daylight time.
|
ITimeZoneRule |
getDefaultRule()
The default time zone adjustment rule.
|
java.lang.String |
getDisplayName()
Descriptive display name of the time zone.
|
ITimeZoneRule |
getDynamicRule(int year)
The dynamic adjustment rule for a specific year.
|
int |
getDynamicRulesCount()
Number of dynamic adjustment rules for the time zone.
|
int |
getFirstDynamicRuleYear()
The first dynamic adjustment rule year.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
int |
getLastDynamicRuleYear()
The last dynamic adjustment rule year.
|
java.lang.String |
getMinNamespaceSupported()
The minimum namespace the class can serialize to (eg the 90 namespace).
|
int |
getNextDynamicRuleYear(int currentDynamicRuleYear)
The next dynamic adjustment rule year that cyclicly proceeds the given dynamic adjustment rule year.
|
void |
getSizeMax(_ULARGE_INTEGER[] pcbSize)
getSizeMax
|
java.lang.String |
getStandardTimeName()
The time zone name during standard time.
|
java.lang.String |
getWindowsID()
Time zone Windows ID name.
|
int |
hashCode()
the hashcode for this object
|
void |
isDirty()
isDirty
|
boolean |
isEqual(IClone other)
Indicates if the receiver and other have the same properties.
|
boolean |
isIdentical(IClone other)
Indicates if the receiver and other are the same object.
|
boolean |
isSupportedAtVersion(int docVersion)
Is this object valid at the given document version.
|
void |
load(IStream pstm)
load
|
void |
readExternal(java.io.ObjectInput in) |
void |
release()
Release this COM object reference
|
void |
save(IStream pstm,
int fClearDirty)
save
|
void |
serialize(IXMLSerializeData data)
Serializes an object to XML.
|
void |
setCustomDescription(java.lang.String displayName)
Custom description for the time zone.
|
void |
setDaylightTimeName(java.lang.String daylightTimeName)
The time zone name during daylight time.
|
void |
setDefaultRule(ITimeZoneRule defaultTimeZoneRule)
The default time zone adjustment rule.
|
void |
setDisplayName(java.lang.String displayName)
Descriptive display name of the time zone.
|
void |
setStandardTimeName(java.lang.String standardTimeName)
The time zone name during standard time.
|
void |
setWindowsID(java.lang.String windowsID)
Time zone Windows ID name.
|
void |
writeExternal(java.io.ObjectOutput out) |
public static final long serialVersionUID
public TimeZoneInfo()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problemsjava.net.UnknownHostException - if there are interop problemspublic TimeZoneInfo(java.lang.Object obj)
throws java.io.IOException
TimeZoneInfo theTimeZoneInfo = (TimeZoneInfo) obj;obj to TimeZoneInfo.obj - an object returned from ArcGIS Engine or Serverjava.io.IOException - if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRefpublic java.lang.String getWindowsID()
throws java.io.IOException,
AutomationException
getWindowsID in interface ITimeZoneInfojava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setWindowsID(java.lang.String windowsID)
throws java.io.IOException,
AutomationException
setWindowsID in interface ITimeZoneInfowindowsID - The windowsID (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getDisplayName()
throws java.io.IOException,
AutomationException
getDisplayName in interface ITimeZoneInfojava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setDisplayName(java.lang.String displayName)
throws java.io.IOException,
AutomationException
setDisplayName in interface ITimeZoneInfodisplayName - The displayName (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getCustomDescription()
throws java.io.IOException,
AutomationException
getCustomDescription in interface ITimeZoneInfojava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setCustomDescription(java.lang.String displayName)
throws java.io.IOException,
AutomationException
setCustomDescription in interface ITimeZoneInfodisplayName - The displayName (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getDaylightTimeName()
throws java.io.IOException,
AutomationException
getDaylightTimeName in interface ITimeZoneInfojava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setDaylightTimeName(java.lang.String daylightTimeName)
throws java.io.IOException,
AutomationException
setDaylightTimeName in interface ITimeZoneInfodaylightTimeName - The daylightTimeName (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getStandardTimeName()
throws java.io.IOException,
AutomationException
getStandardTimeName in interface ITimeZoneInfojava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setStandardTimeName(java.lang.String standardTimeName)
throws java.io.IOException,
AutomationException
setStandardTimeName in interface ITimeZoneInfostandardTimeName - The standardTimeName (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public ITimeZoneRule getDefaultRule() throws java.io.IOException, AutomationException
getDefaultRule in interface ITimeZoneInfojava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setDefaultRule(ITimeZoneRule defaultTimeZoneRule) throws java.io.IOException, AutomationException
setDefaultRule in interface ITimeZoneInfodefaultTimeZoneRule - A reference to a com.esri.arcgis.system.ITimeZoneRule (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getDynamicRulesCount()
throws java.io.IOException,
AutomationException
getDynamicRulesCount in interface ITimeZoneInfojava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getFirstDynamicRuleYear()
throws java.io.IOException,
AutomationException
getFirstDynamicRuleYear in interface ITimeZoneInfojava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getLastDynamicRuleYear()
throws java.io.IOException,
AutomationException
getLastDynamicRuleYear in interface ITimeZoneInfojava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getNextDynamicRuleYear(int currentDynamicRuleYear)
throws java.io.IOException,
AutomationException
getNextDynamicRuleYear in interface ITimeZoneInfocurrentDynamicRuleYear - The currentDynamicRuleYear (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public ITimeZoneRule getDynamicRule(int year) throws java.io.IOException, AutomationException
getDynamicRule in interface ITimeZoneInfoyear - The year (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void addDynamicRule(ITimeZoneRule dynamicRule) throws java.io.IOException, AutomationException
addDynamicRule in interface ITimeZoneInfodynamicRule - A reference to a com.esri.arcgis.system.ITimeZoneRule (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void serialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
serialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void deserialize(IXMLSerializeData data) throws java.io.IOException, AutomationException
deserialize in interface IXMLSerializedata - A reference to a com.esri.arcgis.system.IXMLSerializeData (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getMinNamespaceSupported()
throws java.io.IOException,
AutomationException
getMinNamespaceSupported in interface IXMLVersionSupportjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IClone esri_clone() throws java.io.IOException, AutomationException
esri_clone in interface IClonejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void assign(IClone src) throws java.io.IOException, AutomationException
assign in interface IClonesrc - A reference to a com.esri.arcgis.system.IClone (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isEqual(IClone other) throws java.io.IOException, AutomationException
isEqual in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isIdentical(IClone other) throws java.io.IOException, AutomationException
isIdentical in interface ICloneother - A reference to a com.esri.arcgis.system.IClone (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void isDirty()
throws java.io.IOException,
AutomationException
isDirty in interface IPersistStreamjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void load(IStream pstm) throws java.io.IOException, AutomationException
load in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void save(IStream pstm, int fClearDirty) throws java.io.IOException, AutomationException
save in interface IPersistStreampstm - A reference to a com.esri.arcgis.system.IStream (in)fClearDirty - The fClearDirty (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void getSizeMax(_ULARGE_INTEGER[] pcbSize) throws java.io.IOException, AutomationException
getSizeMax in interface IPersistStreampcbSize - A Structure: com.esri.arcgis.system._ULARGE_INTEGER (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void getClassID(GUID[] pClassID) throws java.io.IOException, AutomationException
getClassID in interface IPersistpClassID - A Structure: com.esri.arcgis.support.ms.stdole.GUID (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isSupportedAtVersion(int docVersion)
throws java.io.IOException,
AutomationException
Use IsSupportedAtVersion to identify if a particular object should be saved to the ObjectStream. This result is based on the esriArcGISVersion enumeration. In some instances, if the object is not supported at a particular ArcGIS version, the object may support conversion to another similar object; use IDocumentVersionSupportGEN::ConvertToSupportedObject to accomplish this.
isSupportedAtVersion in interface IDocumentVersionSupportGENdocVersion - A com.esri.arcgis.system.esriArcGISVersion constant (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.Object convertToSupportedObject(int docVersion)
throws java.io.IOException,
AutomationException
This method should be used when IDocumentVersionSupportGEN::IsSupportedAtVersion returns FALSE. Calling ConvertToSupportedObject will return an IUnknown pointer to a relevant object supported at the particular ArcGIS version. Not all objects will return a supported object; in these cases a null pointer will be returned.
convertToSupportedObject in interface IDocumentVersionSupportGENdocVersion - A com.esri.arcgis.system.esriArcGISVersion constant (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOExceptionpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOExceptionjava.lang.ClassNotFoundException