com.esri.arcgis.system
Class ITimeDurationProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.system.ITimeDurationProxy
All Implemented Interfaces:
ITimeDuration, java.io.Externalizable, java.io.Serializable

Deprecated. Internal use only. Proxy for COM Interface 'ITimeDuration'. Generated 3/19/2015 1:20:51 PM from 'C:\ArcGIS\COM\esriSystem.olb'

Description: 'Provides access to members that control the Time Duration.' 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 =

public class ITimeDurationProxy
extends com.esri.arcgis.interop.Dispatch
implements ITimeDuration, java.io.Serializable

Internal use class

See Also:
Serialized Form

Field Summary
 boolean noncastable
          Deprecated.  
static java.lang.Class targetClass
          Deprecated.  
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.system.ITimeDuration
IID, IID953dc994_aa0d_4193_9c1f_469b60d61711
 
Constructor Summary
  ITimeDurationProxy()
          Deprecated. For internal use only
  ITimeDurationProxy(java.lang.Object obj)
          Deprecated.  
protected ITimeDurationProxy(java.lang.Object obj, java.lang.String iid)
          Deprecated.  
  ITimeDurationProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
protected ITimeDurationProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
          Deprecated.  
 
Method Summary
 void addDays(double value)
          Deprecated. Adds the input amount of days to the time duration.
 void addDuration(ITimeDuration timeDuration)
          Deprecated. Adds a time duration.
 void addHours(double value)
          Deprecated. Adds the input amount of hours to the time duration.
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
          Deprecated.  
 void addMilliseconds(double value)
          Deprecated. Adds the input amount of milliseconds to the time duration.
 void addMinutes(double value)
          Deprecated. Adds the input amount of minutes to the time duration.
 void addNanoseconds(long value)
          Deprecated. Adds the input amount of nanoseconds to the time duration.
 void addSeconds(double value)
          Deprecated. Adds the input amount of seconds to the time duration.
 void addWeeks(double value)
          Deprecated. Adds the input amount of weeks to the time duration.
 int compare(ITimeDuration otherDuration)
          Deprecated. Compares this time duration to the other time duration.
 int getDays()
          Deprecated. The time duration days component.
 int getHours()
          Deprecated. The time duration hours component.
 int getMinutes()
          Deprecated. The time duration minutes component.
 int getNanoseconds()
          Deprecated. The time duration nanoseconds component.
 int getSeconds()
          Deprecated. The time duration seconds component.
 boolean isPositive()
          Deprecated. Indicates whether the time duration value is positive or negative.
 boolean isZero()
          Deprecated. Indicates whether the time duration's value is zero.
 double queryDayFraction()
          Deprecated. The time duration day fraction portion as a day fraction.
 long queryDayFractionNanoseconds()
          Deprecated. The time duration day fraction portion as the number of nanoseconds elapsed since midnight.
 long queryTicks()
          Deprecated. Obtains the time duration as the number of ticks.
 double queryTotalDays()
          Deprecated. Obtains the time duration as total days floating point value.
 double queryTotalHours()
          Deprecated. Obtains the time duration as total hours floating point value.
 double queryTotalMinutes()
          Deprecated. Obtains the time duration as total minutes floating point value.
 double queryTotalSeconds()
          Deprecated. Obtains the time duration as total seconds floating point value.
 _WKSTimeDuration queryWKSTimeDuration()
          Deprecated. Obtains time as a WKSTimeDuration.
 java.lang.String queryXMLTimeDurationString()
          Deprecated. Obtains the time duration as an XML time duration string.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
          Deprecated.  
 void reset()
          Deprecated. Reset the time duration to zero.
 void scale(double scaleFactor)
          Deprecated. Scales the time duration by a scale factor.
 void setDayFraction(double dayFraction)
          Deprecated. The time duration day fraction portion as a day fraction.
 void setDayFractionNanoseconds(long dayFractionNanoseconds)
          Deprecated. The time duration day fraction portion as the number of nanoseconds elapsed since midnight.
 void setDays(int days)
          Deprecated. The time duration days component.
 void setFromTicks(long ticks)
          Deprecated. Writes the time duration from a given number of ticks.
 void setFromWKSTimeDuration(_WKSTimeDuration timeDuration)
          Deprecated. Writes the time from a given WKSTimeDuration value.
 void setFromXMLTimeDurationString(java.lang.String xmlTimeDurationString)
          Deprecated. Writes the time duration from an XML time duration string.
 void setHours(int hours)
          Deprecated. The time duration hours component.
 void setMinutes(int minutes)
          Deprecated. The time duration minutes component.
 void setNanoseconds(int nanoseconds)
          Deprecated. The time duration nanoseconds component.
 void setPositive(boolean positive)
          Deprecated. Indicates whether the time duration value is positive or negative.
 void setSeconds(int seconds)
          Deprecated. The time duration seconds component.
 void subtractDuration(ITimeDuration timeDuration)
          Deprecated. Subtracts a time duration.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

targetClass

public static final java.lang.Class targetClass
Deprecated. 

noncastable

public boolean noncastable
Deprecated. 
Constructor Detail

ITimeDurationProxy

public ITimeDurationProxy(java.lang.String CLSID,
                          java.lang.String host,
                          com.esri.arcgis.interop.AuthInfo authInfo)
                   throws java.net.UnknownHostException,
                          java.io.IOException
Deprecated. 
Throws:
java.net.UnknownHostException
java.io.IOException

ITimeDurationProxy

public ITimeDurationProxy()
Deprecated. 
For internal use only


ITimeDurationProxy

public ITimeDurationProxy(java.lang.Object obj)
                   throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

ITimeDurationProxy

protected ITimeDurationProxy(java.lang.Object obj,
                             java.lang.String iid)
                      throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

ITimeDurationProxy

protected ITimeDurationProxy(java.lang.String CLSID,
                             java.lang.String iid,
                             java.lang.String host,
                             com.esri.arcgis.interop.AuthInfo authInfo)
                      throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Deprecated. 
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Deprecated. 
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

getDays

public int getDays()
            throws java.io.IOException,
                   AutomationException
Deprecated. 
The time duration days component.

Specified by:
getDays in interface ITimeDuration
Returns:
The days
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDays

public void setDays(int days)
             throws java.io.IOException,
                    AutomationException
Deprecated. 
The time duration days component.

Specified by:
setDays in interface ITimeDuration
Parameters:
days - The days (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHours

public int getHours()
             throws java.io.IOException,
                    AutomationException
Deprecated. 
The time duration hours component.

Specified by:
getHours in interface ITimeDuration
Returns:
The hours
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHours

public void setHours(int hours)
              throws java.io.IOException,
                     AutomationException
Deprecated. 
The time duration hours component.

Specified by:
setHours in interface ITimeDuration
Parameters:
hours - The hours (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMinutes

public int getMinutes()
               throws java.io.IOException,
                      AutomationException
Deprecated. 
The time duration minutes component.

Specified by:
getMinutes in interface ITimeDuration
Returns:
The minutes
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMinutes

public void setMinutes(int minutes)
                throws java.io.IOException,
                       AutomationException
Deprecated. 
The time duration minutes component.

Specified by:
setMinutes in interface ITimeDuration
Parameters:
minutes - The minutes (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSeconds

public int getSeconds()
               throws java.io.IOException,
                      AutomationException
Deprecated. 
The time duration seconds component.

Specified by:
getSeconds in interface ITimeDuration
Returns:
The seconds
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSeconds

public void setSeconds(int seconds)
                throws java.io.IOException,
                       AutomationException
Deprecated. 
The time duration seconds component.

Specified by:
setSeconds in interface ITimeDuration
Parameters:
seconds - The seconds (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNanoseconds

public int getNanoseconds()
                   throws java.io.IOException,
                          AutomationException
Deprecated. 
The time duration nanoseconds component.

Specified by:
getNanoseconds in interface ITimeDuration
Returns:
The nanoseconds
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNanoseconds

public void setNanoseconds(int nanoseconds)
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
The time duration nanoseconds component.

Specified by:
setNanoseconds in interface ITimeDuration
Parameters:
nanoseconds - The nanoseconds (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isPositive

public boolean isPositive()
                   throws java.io.IOException,
                          AutomationException
Deprecated. 
Indicates whether the time duration value is positive or negative.

Specified by:
isPositive in interface ITimeDuration
Returns:
The positive
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPositive

public void setPositive(boolean positive)
                 throws java.io.IOException,
                        AutomationException
Deprecated. 
Indicates whether the time duration value is positive or negative.

Specified by:
setPositive in interface ITimeDuration
Parameters:
positive - The positive (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryWKSTimeDuration

public _WKSTimeDuration queryWKSTimeDuration()
                                      throws java.io.IOException,
                                             AutomationException
Deprecated. 
Obtains time as a WKSTimeDuration.

Specified by:
queryWKSTimeDuration in interface ITimeDuration
Returns:
A Structure: com.esri.arcgis.system._WKSTimeDuration (A com.esri.arcgis.system._WKSTimeDuration COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFromWKSTimeDuration

public void setFromWKSTimeDuration(_WKSTimeDuration timeDuration)
                            throws java.io.IOException,
                                   AutomationException
Deprecated. 
Writes the time from a given WKSTimeDuration value.

Specified by:
setFromWKSTimeDuration in interface ITimeDuration
Parameters:
timeDuration - A Structure: com.esri.arcgis.system._WKSTimeDuration (A com.esri.arcgis.system._WKSTimeDuration COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryXMLTimeDurationString

public java.lang.String queryXMLTimeDurationString()
                                            throws java.io.IOException,
                                                   AutomationException
Deprecated. 
Obtains the time duration as an XML time duration string.

Specified by:
queryXMLTimeDurationString in interface ITimeDuration
Returns:
The xmlTimeDurationString
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFromXMLTimeDurationString

public void setFromXMLTimeDurationString(java.lang.String xmlTimeDurationString)
                                  throws java.io.IOException,
                                         AutomationException
Deprecated. 
Writes the time duration from an XML time duration string.

Specified by:
setFromXMLTimeDurationString in interface ITimeDuration
Parameters:
xmlTimeDurationString - The xmlTimeDurationString (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addWeeks

public void addWeeks(double value)
              throws java.io.IOException,
                     AutomationException
Deprecated. 
Adds the input amount of weeks to the time duration.

Specified by:
addWeeks in interface ITimeDuration
Parameters:
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addDays

public void addDays(double value)
             throws java.io.IOException,
                    AutomationException
Deprecated. 
Adds the input amount of days to the time duration.

Specified by:
addDays in interface ITimeDuration
Parameters:
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addHours

public void addHours(double value)
              throws java.io.IOException,
                     AutomationException
Deprecated. 
Adds the input amount of hours to the time duration.

Specified by:
addHours in interface ITimeDuration
Parameters:
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addMinutes

public void addMinutes(double value)
                throws java.io.IOException,
                       AutomationException
Deprecated. 
Adds the input amount of minutes to the time duration.

Specified by:
addMinutes in interface ITimeDuration
Parameters:
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addSeconds

public void addSeconds(double value)
                throws java.io.IOException,
                       AutomationException
Deprecated. 
Adds the input amount of seconds to the time duration.

Specified by:
addSeconds in interface ITimeDuration
Parameters:
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addMilliseconds

public void addMilliseconds(double value)
                     throws java.io.IOException,
                            AutomationException
Deprecated. 
Adds the input amount of milliseconds to the time duration.

Specified by:
addMilliseconds in interface ITimeDuration
Parameters:
value - The value (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addNanoseconds

public void addNanoseconds(long value)
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
Adds the input amount of nanoseconds to the time duration.

Specified by:
addNanoseconds in interface ITimeDuration
Parameters:
value - Signed 64-bit int (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryTotalDays

public double queryTotalDays()
                      throws java.io.IOException,
                             AutomationException
Deprecated. 
Obtains the time duration as total days floating point value.

Specified by:
queryTotalDays in interface ITimeDuration
Returns:
The totalDays
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryTotalHours

public double queryTotalHours()
                       throws java.io.IOException,
                              AutomationException
Deprecated. 
Obtains the time duration as total hours floating point value.

Specified by:
queryTotalHours in interface ITimeDuration
Returns:
The totalHours
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryTotalMinutes

public double queryTotalMinutes()
                         throws java.io.IOException,
                                AutomationException
Deprecated. 
Obtains the time duration as total minutes floating point value.

Specified by:
queryTotalMinutes in interface ITimeDuration
Returns:
The totalMinutes
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryTotalSeconds

public double queryTotalSeconds()
                         throws java.io.IOException,
                                AutomationException
Deprecated. 
Obtains the time duration as total seconds floating point value.

Specified by:
queryTotalSeconds in interface ITimeDuration
Returns:
The totalSeconds
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryDayFraction

public double queryDayFraction()
                        throws java.io.IOException,
                               AutomationException
Deprecated. 
The time duration day fraction portion as a day fraction. Corresponds to the Hour, Minute, Second, and Nanoseconds properties.

Specified by:
queryDayFraction in interface ITimeDuration
Returns:
The dayFraction
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDayFraction

public void setDayFraction(double dayFraction)
                    throws java.io.IOException,
                           AutomationException
Deprecated. 
The time duration day fraction portion as a day fraction. Corresponds to the Hour, Minute, Second, and Nanoseconds properties.

Specified by:
setDayFraction in interface ITimeDuration
Parameters:
dayFraction - The dayFraction (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryDayFractionNanoseconds

public long queryDayFractionNanoseconds()
                                 throws java.io.IOException,
                                        AutomationException
Deprecated. 
The time duration day fraction portion as the number of nanoseconds elapsed since midnight. Corresponds to the Hour, Minute, Second, and Nanoseconds properties.

Specified by:
queryDayFractionNanoseconds in interface ITimeDuration
Returns:
Signed 64-bit int
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDayFractionNanoseconds

public void setDayFractionNanoseconds(long dayFractionNanoseconds)
                               throws java.io.IOException,
                                      AutomationException
Deprecated. 
The time duration day fraction portion as the number of nanoseconds elapsed since midnight. Corresponds to the Hour, Minute, Second, and Nanoseconds properties.

Specified by:
setDayFractionNanoseconds in interface ITimeDuration
Parameters:
dayFractionNanoseconds - Signed 64-bit int (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryTicks

public long queryTicks()
                throws java.io.IOException,
                       AutomationException
Deprecated. 
Obtains the time duration as the number of ticks.

Specified by:
queryTicks in interface ITimeDuration
Returns:
Signed 64-bit int
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFromTicks

public void setFromTicks(long ticks)
                  throws java.io.IOException,
                         AutomationException
Deprecated. 
Writes the time duration from a given number of ticks.

Specified by:
setFromTicks in interface ITimeDuration
Parameters:
ticks - Signed 64-bit int (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

public void reset()
           throws java.io.IOException,
                  AutomationException
Deprecated. 
Reset the time duration to zero.

Specified by:
reset in interface ITimeDuration
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

scale

public void scale(double scaleFactor)
           throws java.io.IOException,
                  AutomationException
Deprecated. 
Scales the time duration by a scale factor.

Specified by:
scale in interface ITimeDuration
Parameters:
scaleFactor - The scaleFactor (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addDuration

public void addDuration(ITimeDuration timeDuration)
                 throws java.io.IOException,
                        AutomationException
Deprecated. 
Adds a time duration.

Specified by:
addDuration in interface ITimeDuration
Parameters:
timeDuration - A reference to a com.esri.arcgis.system.ITimeDuration (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

subtractDuration

public void subtractDuration(ITimeDuration timeDuration)
                      throws java.io.IOException,
                             AutomationException
Deprecated. 
Subtracts a time duration.

Specified by:
subtractDuration in interface ITimeDuration
Parameters:
timeDuration - A reference to a com.esri.arcgis.system.ITimeDuration (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isZero

public boolean isZero()
               throws java.io.IOException,
                      AutomationException
Deprecated. 
Indicates whether the time duration's value is zero.

Specified by:
isZero in interface ITimeDuration
Returns:
The isZero
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

compare

public int compare(ITimeDuration otherDuration)
            throws java.io.IOException,
                   AutomationException
Deprecated. 
Compares this time duration to the other time duration. Returns -1 if this time duration's value is less, 1 if greater, and 0 otherwise.

Specified by:
compare in interface ITimeDuration
Parameters:
otherDuration - A reference to a com.esri.arcgis.system.ITimeDuration (in)
Returns:
The result
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.