com.esri.arcgis.system
Interface ITimeZoneFactory2

All Superinterfaces:
ITimeZoneFactory, Serializable
All Known Implementing Classes:
TimeZoneFactory

public interface ITimeZoneFactory2
extends ITimeZoneFactory, Serializable

Provides access to members that control the Time Zone Factory.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 ITimeReference queryLocalTimeReference(boolean exactMatch)
          Obtains the machine's current local time reference.
 void reloadTimeZones(String fileName)
          Reload time zones.
 void saveTimeZones(String fileName)
          Save time zones.
 
Methods inherited from interface com.esri.arcgis.system.ITimeZoneFactory
createLocaleInfoFromLocaleID, createTimeReferenceFromWindowsID, createTimeZoneInfoFromWindowsID, getFirstLocaleID, getFirstTimeZoneWindowsID, getNextLocaleID, getNextTimeZoneWindowsID, isValidLocaleID, isValidTimeZoneWindowsID, queryLocalTimeZoneWindowsID, queryTimeZoneOlsonIDsFromWindowsID, queryTimeZoneWindowsIDFromOlsonID
 

Method Detail

queryLocalTimeReference

ITimeReference queryLocalTimeReference(boolean exactMatch)
                                       throws IOException,
                                              AutomationException
Obtains the machine's current local time reference. Set exactMatch to true to ensure exact retrieval of a customized machine's local time reference, or to false to obtain a pre-defined time reference, which is the closest match to the machine's current local t???&

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
exactMatch - The exactMatch (in)
Returns:
A reference to a com.esri.arcgis.system.ITimeReference
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reloadTimeZones

void reloadTimeZones(String fileName)
                     throws IOException,
                            AutomationException
Reload time zones.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
fileName - The fileName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

saveTimeZones

void saveTimeZones(String fileName)
                   throws IOException,
                          AutomationException
Save time zones.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
fileName - The fileName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.