|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITimeZoneFactory
Provides access to members that control the Time Zone Factory.
The ITimeZoneFactory should be used whenever you need a reference to time zone. This is because the time zones are rules that are pre-defined, and using the pre-defined values saves memory, and prevents unnecessary errors. The time zone can be generated from well known ID (WKID) values, which can be queried from the time zone's Windows ID, or from the time zone's Olson ID.
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. |
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. |
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. |
Method Detail |
---|
ITimeZoneInfo createTimeZoneInfoFromWindowsID(String windowsID) throws IOException, AutomationException
windowsID
- The windowsID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ITimeReference createTimeReferenceFromWindowsID(String windowsID) throws IOException, AutomationException
windowsID
- The windowsID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String queryTimeZoneWindowsIDFromOlsonID(String olsonID) throws IOException, AutomationException
olsonID
- The olsonID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String[] queryTimeZoneOlsonIDsFromWindowsID(String windowsID) throws IOException, AutomationException
windowsID
- The windowsID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String queryLocalTimeZoneWindowsID() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getFirstTimeZoneWindowsID() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.String getNextTimeZoneWindowsID(String currentTimeZoneWindowsID) throws IOException, AutomationException
currentTimeZoneWindowsID
- The currentTimeZoneWindowsID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getFirstLocaleID() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getNextLocaleID(int currenteLocaleID) throws IOException, AutomationException
currenteLocaleID
- The currenteLocaleID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ILocaleInfo createLocaleInfoFromLocaleID(int localeID) throws IOException, AutomationException
localeID
- The localeID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isValidTimeZoneWindowsID(String windowsID) throws IOException, AutomationException
windowsID
- The windowsID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isValidLocaleID(int localeID) throws IOException, AutomationException
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 |