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
| Modifier and Type | Field and Description |
|---|---|
boolean |
noncastable
Deprecated.
|
static java.lang.Class |
targetClass
Deprecated.
|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRefIID, IID953dc994_aa0d_4193_9c1f_469b60d61711| Modifier | Constructor and Description |
|---|---|
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
Adds a Java object to be a listener for a specific kind of event generated by the COM object.
|
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.
Removes a Java object as a listener to events generated by a COM object.
|
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.
|
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, writeExternalpublic static final java.lang.Class targetClass
public boolean noncastable
public ITimeDurationProxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
throws java.net.UnknownHostException,
java.io.IOException
java.net.UnknownHostExceptionjava.io.IOExceptionpublic ITimeDurationProxy()
public ITimeDurationProxy(java.lang.Object obj)
throws java.io.IOException
java.io.IOExceptionprotected ITimeDurationProxy(java.lang.Object obj,
java.lang.String iid)
throws java.io.IOException
java.io.IOExceptionprotected ITimeDurationProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
throws java.io.IOException
java.io.IOExceptionpublic void addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
throws java.io.IOException
com.esri.arcgis.interop.DispatchaddListener in class com.esri.arcgis.interop.DispatchiidStr - the ID of the outgoing interface, implemented by the listenertheListener - the object to be informed of the eventstheSource - the proxy class that represents the COM class that is the source of the eventsjava.io.IOExceptionpublic void removeListener(java.lang.String iidStr,
java.lang.Object theListener)
throws java.io.IOException
com.esri.arcgis.interop.DispatchremoveListener in class com.esri.arcgis.interop.DispatchiidStr - the ID of the outgoing interface, implemented by the listenertheListener - the object that no longer wishes to be informed of the eventsjava.io.IOExceptionpublic int getDays()
throws java.io.IOException,
AutomationException
getDays in interface ITimeDurationjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setDays(int days)
throws java.io.IOException,
AutomationException
setDays in interface ITimeDurationdays - The days (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getHours()
throws java.io.IOException,
AutomationException
getHours in interface ITimeDurationjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setHours(int hours)
throws java.io.IOException,
AutomationException
setHours in interface ITimeDurationhours - The hours (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getMinutes()
throws java.io.IOException,
AutomationException
getMinutes in interface ITimeDurationjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setMinutes(int minutes)
throws java.io.IOException,
AutomationException
setMinutes in interface ITimeDurationminutes - The minutes (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getSeconds()
throws java.io.IOException,
AutomationException
getSeconds in interface ITimeDurationjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setSeconds(int seconds)
throws java.io.IOException,
AutomationException
setSeconds in interface ITimeDurationseconds - The seconds (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getNanoseconds()
throws java.io.IOException,
AutomationException
getNanoseconds in interface ITimeDurationjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setNanoseconds(int nanoseconds)
throws java.io.IOException,
AutomationException
setNanoseconds in interface ITimeDurationnanoseconds - The nanoseconds (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isPositive()
throws java.io.IOException,
AutomationException
isPositive in interface ITimeDurationjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setPositive(boolean positive)
throws java.io.IOException,
AutomationException
setPositive in interface ITimeDurationpositive - The positive (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public _WKSTimeDuration queryWKSTimeDuration() throws java.io.IOException, AutomationException
queryWKSTimeDuration in interface ITimeDurationjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setFromWKSTimeDuration(_WKSTimeDuration timeDuration) throws java.io.IOException, AutomationException
setFromWKSTimeDuration in interface ITimeDurationtimeDuration - A Structure: com.esri.arcgis.system._WKSTimeDuration (A com.esri.arcgis.system._WKSTimeDuration COM typedef) (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String queryXMLTimeDurationString()
throws java.io.IOException,
AutomationException
queryXMLTimeDurationString in interface ITimeDurationjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setFromXMLTimeDurationString(java.lang.String xmlTimeDurationString)
throws java.io.IOException,
AutomationException
setFromXMLTimeDurationString in interface ITimeDurationxmlTimeDurationString - The xmlTimeDurationString (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void addWeeks(double value)
throws java.io.IOException,
AutomationException
addWeeks in interface ITimeDurationvalue - The value (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void addDays(double value)
throws java.io.IOException,
AutomationException
addDays in interface ITimeDurationvalue - The value (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void addHours(double value)
throws java.io.IOException,
AutomationException
addHours in interface ITimeDurationvalue - The value (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void addMinutes(double value)
throws java.io.IOException,
AutomationException
addMinutes in interface ITimeDurationvalue - The value (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void addSeconds(double value)
throws java.io.IOException,
AutomationException
addSeconds in interface ITimeDurationvalue - The value (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void addMilliseconds(double value)
throws java.io.IOException,
AutomationException
addMilliseconds in interface ITimeDurationvalue - The value (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void addNanoseconds(long value)
throws java.io.IOException,
AutomationException
addNanoseconds in interface ITimeDurationvalue - Signed 64-bit int (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public double queryTotalDays()
throws java.io.IOException,
AutomationException
queryTotalDays in interface ITimeDurationjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public double queryTotalHours()
throws java.io.IOException,
AutomationException
queryTotalHours in interface ITimeDurationjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public double queryTotalMinutes()
throws java.io.IOException,
AutomationException
queryTotalMinutes in interface ITimeDurationjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public double queryTotalSeconds()
throws java.io.IOException,
AutomationException
queryTotalSeconds in interface ITimeDurationjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public double queryDayFraction()
throws java.io.IOException,
AutomationException
queryDayFraction in interface ITimeDurationjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setDayFraction(double dayFraction)
throws java.io.IOException,
AutomationException
setDayFraction in interface ITimeDurationdayFraction - The dayFraction (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public long queryDayFractionNanoseconds()
throws java.io.IOException,
AutomationException
queryDayFractionNanoseconds in interface ITimeDurationjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setDayFractionNanoseconds(long dayFractionNanoseconds)
throws java.io.IOException,
AutomationException
setDayFractionNanoseconds in interface ITimeDurationdayFractionNanoseconds - Signed 64-bit int (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public long queryTicks()
throws java.io.IOException,
AutomationException
queryTicks in interface ITimeDurationjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setFromTicks(long ticks)
throws java.io.IOException,
AutomationException
setFromTicks in interface ITimeDurationticks - Signed 64-bit int (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void reset()
throws java.io.IOException,
AutomationException
reset in interface ITimeDurationjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void scale(double scaleFactor)
throws java.io.IOException,
AutomationException
scale in interface ITimeDurationscaleFactor - The scaleFactor (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void addDuration(ITimeDuration timeDuration) throws java.io.IOException, AutomationException
addDuration in interface ITimeDurationtimeDuration - A reference to a com.esri.arcgis.system.ITimeDuration (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void subtractDuration(ITimeDuration timeDuration) throws java.io.IOException, AutomationException
subtractDuration in interface ITimeDurationtimeDuration - A reference to a com.esri.arcgis.system.ITimeDuration (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isZero()
throws java.io.IOException,
AutomationException
isZero in interface ITimeDurationjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int compare(ITimeDuration otherDuration) throws java.io.IOException, AutomationException
compare in interface ITimeDurationotherDuration - A reference to a com.esri.arcgis.system.ITimeDuration (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.