|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.system.TimeZoneFactory
public class TimeZoneFactory
An object that creates TimeZoneInfo instances.
The TimeZoneFactory class is used to generate a reference to a TimeReference instance. The desired TimeReference can be identified using the esriTimeZoneWKID enumeration.
Constructor Summary | |
---|---|
TimeZoneFactory()
Constructs a TimeZoneFactory using ArcGIS Engine. |
|
TimeZoneFactory(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. TimeZoneFactory theTimeZoneFactory = (TimeZoneFactory) obj; |
Method Summary | |
---|---|
ILocaleInfo |
createLocaleInfoFromLocaleID(int localeID)
Obtains the locale display name that corresponds to the given locale ID. |
ITimeReference |
createTimeReferenceFromWindowsID(String windowsID)
Creates a time reference from a windows ID. |
ITimeZoneInfo |
createTimeZoneInfoFromWindowsID(String windowsID)
Creates a time zone info from a windows ID. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
getFirstLocaleID()
The first locale ID. |
String |
getFirstTimeZoneWindowsID()
The first time zone windows ID. |
int |
getNextLocaleID(int currenteLocaleID)
The locale ID that cyclicly proceeds the given locale ID. |
String |
getNextTimeZoneWindowsID(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(String windowsID)
Returns whether a given time zone windows ID is valid for creating a time zone info or a time reference. |
String |
queryLocalTimeZoneWindowsID()
Obtains the machine's current local time zone Windows ID. |
String[] |
queryTimeZoneOlsonIDsFromWindowsID(String windowsID)
Obtains all the olson time zone IDs that correspond to the given time zone windows ID. |
String |
queryTimeZoneWindowsIDFromOlsonID(String olsonID)
Returns the time zone windows ID that corresponds to the given olson time zone ID. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public TimeZoneFactory() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic TimeZoneFactory(Object obj) throws IOException
TimeZoneFactory theTimeZoneFactory = (TimeZoneFactory) obj;
obj
to TimeZoneFactory
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public ITimeZoneInfo createTimeZoneInfoFromWindowsID(String windowsID) throws IOException, AutomationException
createTimeZoneInfoFromWindowsID
in interface ITimeZoneFactory
windowsID
- The windowsID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITimeReference createTimeReferenceFromWindowsID(String windowsID) throws IOException, AutomationException
createTimeReferenceFromWindowsID
in interface ITimeZoneFactory
windowsID
- The windowsID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String queryTimeZoneWindowsIDFromOlsonID(String olsonID) throws IOException, AutomationException
queryTimeZoneWindowsIDFromOlsonID
in interface ITimeZoneFactory
olsonID
- The olsonID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String[] queryTimeZoneOlsonIDsFromWindowsID(String windowsID) throws IOException, AutomationException
queryTimeZoneOlsonIDsFromWindowsID
in interface ITimeZoneFactory
windowsID
- The windowsID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String queryLocalTimeZoneWindowsID() throws IOException, AutomationException
queryLocalTimeZoneWindowsID
in interface ITimeZoneFactory
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getFirstTimeZoneWindowsID() throws IOException, AutomationException
getFirstTimeZoneWindowsID
in interface ITimeZoneFactory
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getNextTimeZoneWindowsID(String currentTimeZoneWindowsID) throws IOException, AutomationException
getNextTimeZoneWindowsID
in interface ITimeZoneFactory
currentTimeZoneWindowsID
- The currentTimeZoneWindowsID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getFirstLocaleID() throws IOException, AutomationException
getFirstLocaleID
in interface ITimeZoneFactory
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getNextLocaleID(int currenteLocaleID) throws IOException, AutomationException
getNextLocaleID
in interface ITimeZoneFactory
currenteLocaleID
- The currenteLocaleID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ILocaleInfo createLocaleInfoFromLocaleID(int localeID) throws IOException, AutomationException
createLocaleInfoFromLocaleID
in interface ITimeZoneFactory
localeID
- The localeID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isValidTimeZoneWindowsID(String windowsID) throws IOException, AutomationException
isValidTimeZoneWindowsID
in interface ITimeZoneFactory
windowsID
- The windowsID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isValidLocaleID(int localeID) throws IOException, AutomationException
isValidLocaleID
in interface ITimeZoneFactory
localeID
- The localeID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |