public class TimeZoneFactory extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, ITimeZoneFactory, ITimeZoneFactory2, ITimeZoneFactory3, ITimeZoneFactory4
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, IID011ba020_4783_4008_ba37_250479dc1cf2, xxDummyIID13a006d4_c2e5_44af_b641_a09db8216761IID4caa06be_7199_40b3_adb6_78bae35d5227IID1b4768dd_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 |
createTimeReference(java.lang.String iD)
Creates a time reference from a time zone 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.
|
void |
getFirstTimeZoneID(java.lang.String[] firstTimeZoneOlsonID)
The first time zone olson 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.
|
void |
getNextTimeZoneID(java.lang.String currentTimeZoneOlsonID,
java.lang.String[] nextTimeZoneOlsonID)
The next time zone olson ID after the given time zone olson 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 |
queryLocalTimeZoneID()
Obtains the machine's current local time zone olson ID.
|
java.lang.String |
queryLocalTimeZoneWindowsID()
(Deprecated, use ITimeZoneFactory3::QueryLocalTimeZoneID for IANA) Obtains the machine's current local time zone Windows ID.
|
void |
queryTimeZoneDefaultOffsets(java.lang.String iD,
int[] stdOffsetFromUTC,
int[] dstOffsetFromStd)
Get the default standard and daylight offsets in milliseconds for the time zone ID.
|
void |
queryTimeZoneDisplayName(java.lang.String iD,
java.lang.String[] displayName,
java.lang.String[] longDisplayName)
Get the display name, and long display name if it exists, for the time zone ID.
|
void |
queryTimeZoneFormatNames(ITimeReference timeReference,
double oadate,
java.lang.String[] abbreviation,
java.lang.String[] windowsName,
java.lang.String[] location,
java.lang.String[] locationPlusGeneric)
Get the various name information for the time zone ID.
|
java.lang.String |
queryTimeZoneOlsonIDFromWindowsID(java.lang.String windowsID,
boolean respectsDST)
Returns the time zone olson ID that corresponds to the given time zone windows ID and respecting daylight saving time.
|
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.
|
void |
updateOlsonIDFromWindowsID(ITimeReference timeReference)
Sets the time zone olson ID based on the time reference's windows ID and respecting daylight saving time.
|
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.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 ITimeZoneInfo createTimeZoneInfoFromWindowsID(java.lang.String windowsID) throws java.io.IOException, AutomationException
createTimeZoneInfoFromWindowsID in interface ITimeZoneFactorywindowsID - 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 ITimeZoneFactorywindowsID - 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 ITimeZoneFactoryolsonID - 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 ITimeZoneFactorywindowsID - 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 ITimeZoneFactoryjava.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 ITimeZoneFactoryjava.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 ITimeZoneFactorycurrentTimeZoneWindowsID - 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 ITimeZoneFactoryjava.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 ITimeZoneFactorycurrenteLocaleID - 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 ITimeZoneFactorylocaleID - 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 ITimeZoneFactorywindowsID - 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 ITimeZoneFactorylocaleID - 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 ITimeZoneFactory2exactMatch - 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 ITimeZoneFactory2fileName - 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 ITimeZoneFactory2fileName - The fileName (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public ITimeReference createTimeReference(java.lang.String iD) throws java.io.IOException, AutomationException
createTimeReference in interface ITimeZoneFactory3iD - The iD (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String queryLocalTimeZoneID()
throws java.io.IOException,
AutomationException
queryLocalTimeZoneID in interface ITimeZoneFactory3java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void queryTimeZoneDisplayName(java.lang.String iD,
java.lang.String[] displayName,
java.lang.String[] longDisplayName)
throws java.io.IOException,
AutomationException
queryTimeZoneDisplayName in interface ITimeZoneFactory3iD - The iD (in)displayName - The displayName (out: use single element array)longDisplayName - The longDisplayName (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void queryTimeZoneDefaultOffsets(java.lang.String iD,
int[] stdOffsetFromUTC,
int[] dstOffsetFromStd)
throws java.io.IOException,
AutomationException
queryTimeZoneDefaultOffsets in interface ITimeZoneFactory3iD - The iD (in)stdOffsetFromUTC - The stdOffsetFromUTC (out: use single element array)dstOffsetFromStd - The dstOffsetFromStd (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void getFirstTimeZoneID(java.lang.String[] firstTimeZoneOlsonID)
throws java.io.IOException,
AutomationException
getFirstTimeZoneID in interface ITimeZoneFactory3firstTimeZoneOlsonID - The firstTimeZoneOlsonID (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void getNextTimeZoneID(java.lang.String currentTimeZoneOlsonID,
java.lang.String[] nextTimeZoneOlsonID)
throws java.io.IOException,
AutomationException
getNextTimeZoneID in interface ITimeZoneFactory3currentTimeZoneOlsonID - The currentTimeZoneOlsonID (in)nextTimeZoneOlsonID - The nextTimeZoneOlsonID (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String queryTimeZoneOlsonIDFromWindowsID(java.lang.String windowsID,
boolean respectsDST)
throws java.io.IOException,
AutomationException
queryTimeZoneOlsonIDFromWindowsID in interface ITimeZoneFactory3windowsID - The windowsID (in)respectsDST - The respectsDST (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void updateOlsonIDFromWindowsID(ITimeReference timeReference) throws java.io.IOException, AutomationException
updateOlsonIDFromWindowsID in interface ITimeZoneFactory3timeReference - A reference to a com.esri.arcgis.system.ITimeReference (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void queryTimeZoneFormatNames(ITimeReference timeReference, double oadate, java.lang.String[] abbreviation, java.lang.String[] windowsName, java.lang.String[] location, java.lang.String[] locationPlusGeneric) throws java.io.IOException, AutomationException
queryTimeZoneFormatNames in interface ITimeZoneFactory4timeReference - A reference to a com.esri.arcgis.system.ITimeReference (in)oadate - The oadate (in)abbreviation - The abbreviation (out: use single element array)windowsName - The windowsName (out: use single element array)location - The location (out: use single element array)locationPlusGeneric - The locationPlusGeneric (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.