com.esri.arcgis.trackinganalyst
Interface ITimeZone

All Superinterfaces:
Serializable
All Known Implementing Classes:
DataSetDefinition, ITimeZoneProxy, TemporalFeatureClass, TemporalFeatureLayer

public interface ITimeZone
extends Serializable

ITimeZone Interface provides properties and methods to select a time zone and do time conversions.

Description

This interface provides properties to indicate whether or not to adjust for daylight savings, current time zone and a list of time zones.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.


Method Summary
 String getCurrentZone()
          The current Time Zone.
 String getTimeZoneXML()
          The XML representation of a TimeZone.
 Object getZoneList()
          List of time zones.
 boolean isAdjustForDaylightSavings()
          Indicates whether or not to Adjust For Daylight Savings.
 void setAdjustForDaylightSavings(boolean pVal)
          Indicates whether or not to Adjust For Daylight Savings.
 void setCurrentZone(String pbstrCurrentZone)
          The current Time Zone.
 void setTimeZoneXML(String pbstrXML)
          The XML representation of a TimeZone.
 

Method Detail

getCurrentZone

String getCurrentZone()
                      throws IOException,
                             AutomationException
The current Time Zone.

Description

This property indicates the current time zone the temporal feature class’ temporal field is using.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

Returns:
The pbstrCurrentZone
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCurrentZone

void setCurrentZone(String pbstrCurrentZone)
                    throws IOException,
                           AutomationException
The current Time Zone.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

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

getZoneList

Object getZoneList()
                   throws IOException,
                          AutomationException
List of time zones.

Description

This property indicates a list of time zones that are pulled from the computer’s registry.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isAdjustForDaylightSavings

boolean isAdjustForDaylightSavings()
                                   throws IOException,
                                          AutomationException
Indicates whether or not to Adjust For Daylight Savings.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

Returns:
The pVal
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAdjustForDaylightSavings

void setAdjustForDaylightSavings(boolean pVal)
                                 throws IOException,
                                        AutomationException
Indicates whether or not to Adjust For Daylight Savings.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

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

getTimeZoneXML

String getTimeZoneXML()
                      throws IOException,
                             AutomationException
The XML representation of a TimeZone.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

Returns:
The pbstrXML
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTimeZoneXML

void setTimeZoneXML(String pbstrXML)
                    throws IOException,
                           AutomationException
The XML representation of a TimeZone.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

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