public class TimeZoneFactory extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, ITimeZoneFactory, ITimeZoneFactory2
Description 'An object that creates TimeZoneInfo instances.' 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 =
IID, IID4caa06be_7199_40b3_adb6_78bae35d5227, xxDummy
IID1b4768dd_508e_4946_ab04_e042dfceb29f
Constructor and Description |
---|
TimeZoneFactory()
Constructs a TimeZoneFactory using ArcGIS Engine.
|
TimeZoneFactory(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
TimeZoneFactory theTimeZoneFactory = (TimeZoneFactory) obj; |
Modifier and Type | Method and Description |
---|---|
ILocaleInfo |
createLocaleInfoFromLocaleID(int localeID)
Obtains the locale display name that corresponds to the given locale ID.
|
ITimeReference |
createTimeReferenceFromWindowsID(java.lang.String windowsID)
(Deprecated, use ITimeZoneFactory3::CreateTimeReference) Creates a time reference from a windows ID.
|
ITimeZoneInfo |
createTimeZoneInfoFromWindowsID(java.lang.String windowsID)
(Deprecated, use ITimeZoneFactory3::CreateTimeReference) Creates a time zone info from a windows ID.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
static java.lang.String |
getClsid()
getClsid.
|
int |
getFirstLocaleID()
The first locale ID.
|
java.lang.String |
getFirstTimeZoneWindowsID()
The first time zone windows ID.
|
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 |
getNextLocaleID(int currenteLocaleID)
The locale ID that cyclicly proceeds the given locale ID.
|
java.lang.String |
getNextTimeZoneWindowsID(java.lang.String currentTimeZoneWindowsID)
The time zone windows ID that cyclicly proceeds the given time zone windows ID.
|
int |
hashCode()
the hashcode for this object
|
boolean |
isValidLocaleID(int localeID)
Returns whether a given locale ID is valid for creating a locale info.
|
boolean |
isValidTimeZoneWindowsID(java.lang.String windowsID)
Returns whether a given time zone windows ID is valid for creating a time zone info or a time reference.
|
ITimeReference |
queryLocalTimeReference(boolean exactMatch)
Obtains the machine's current local time reference.
|
java.lang.String |
queryLocalTimeZoneWindowsID()
(Deprecated, use ITimeZoneFactory3::QueryLocalTimeZoneID for IANA) Obtains the machine's current local time zone Windows ID.
|
java.lang.String[] |
queryTimeZoneOlsonIDsFromWindowsID(java.lang.String windowsID)
Obtains all the olson time zone IDs that correspond to the given time zone windows ID.
|
java.lang.String |
queryTimeZoneWindowsIDFromOlsonID(java.lang.String olsonID)
Returns the time zone windows ID that corresponds to the given olson time zone ID.
|
void |
release()
Release this COM object reference
|
void |
reloadTimeZones(java.lang.String fileName)
Reload time zones.
|
void |
saveTimeZones(java.lang.String fileName)
Save time zones.
|
public TimeZoneFactory() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic TimeZoneFactory(java.lang.Object obj) throws java.io.IOException
TimeZoneFactory theTimeZoneFactory = (TimeZoneFactory) obj;
obj
to TimeZoneFactory
.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.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public ITimeZoneInfo createTimeZoneInfoFromWindowsID(java.lang.String windowsID) throws java.io.IOException, AutomationException
createTimeZoneInfoFromWindowsID
in interface ITimeZoneFactory
windowsID
- The windowsID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public ITimeReference createTimeReferenceFromWindowsID(java.lang.String windowsID) throws java.io.IOException, AutomationException
createTimeReferenceFromWindowsID
in interface ITimeZoneFactory
windowsID
- The windowsID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String queryTimeZoneWindowsIDFromOlsonID(java.lang.String olsonID) throws java.io.IOException, AutomationException
queryTimeZoneWindowsIDFromOlsonID
in interface ITimeZoneFactory
olsonID
- The olsonID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String[] queryTimeZoneOlsonIDsFromWindowsID(java.lang.String windowsID) throws java.io.IOException, AutomationException
queryTimeZoneOlsonIDsFromWindowsID
in interface ITimeZoneFactory
windowsID
- The windowsID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String queryLocalTimeZoneWindowsID() throws java.io.IOException, AutomationException
queryLocalTimeZoneWindowsID
in interface ITimeZoneFactory
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getFirstTimeZoneWindowsID() throws java.io.IOException, AutomationException
getFirstTimeZoneWindowsID
in interface ITimeZoneFactory
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public java.lang.String getNextTimeZoneWindowsID(java.lang.String currentTimeZoneWindowsID) throws java.io.IOException, AutomationException
getNextTimeZoneWindowsID
in interface ITimeZoneFactory
currentTimeZoneWindowsID
- The currentTimeZoneWindowsID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getFirstLocaleID() throws java.io.IOException, AutomationException
getFirstLocaleID
in interface ITimeZoneFactory
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int getNextLocaleID(int currenteLocaleID) throws java.io.IOException, AutomationException
getNextLocaleID
in interface ITimeZoneFactory
currenteLocaleID
- The currenteLocaleID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public ILocaleInfo createLocaleInfoFromLocaleID(int localeID) throws java.io.IOException, AutomationException
createLocaleInfoFromLocaleID
in interface ITimeZoneFactory
localeID
- The localeID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isValidTimeZoneWindowsID(java.lang.String windowsID) throws java.io.IOException, AutomationException
isValidTimeZoneWindowsID
in interface ITimeZoneFactory
windowsID
- The windowsID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean isValidLocaleID(int localeID) throws java.io.IOException, AutomationException
isValidLocaleID
in interface ITimeZoneFactory
localeID
- The localeID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public ITimeReference queryLocalTimeReference(boolean exactMatch) throws java.io.IOException, AutomationException
queryLocalTimeReference
in interface ITimeZoneFactory2
exactMatch
- The exactMatch (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void reloadTimeZones(java.lang.String fileName) throws java.io.IOException, AutomationException
reloadTimeZones
in interface ITimeZoneFactory2
fileName
- The fileName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void saveTimeZones(java.lang.String fileName) throws java.io.IOException, AutomationException
saveTimeZones
in interface ITimeZoneFactory2
fileName
- The fileName (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.