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, objRef
IID, 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, writeExternal
public 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.UnknownHostException
java.io.IOException
public ITimeDurationProxy()
public ITimeDurationProxy(java.lang.Object obj) throws java.io.IOException
java.io.IOException
protected ITimeDurationProxy(java.lang.Object obj, java.lang.String iid) throws java.io.IOException
java.io.IOException
protected 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.IOException
public void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource) throws java.io.IOException
com.esri.arcgis.interop.Dispatch
addListener
in class com.esri.arcgis.interop.Dispatch
iidStr
- 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.IOException
public void removeListener(java.lang.String iidStr, java.lang.Object theListener) throws java.io.IOException
com.esri.arcgis.interop.Dispatch
removeListener
in class com.esri.arcgis.interop.Dispatch
iidStr
- the ID of the outgoing interface, implemented by the listenertheListener
- the object that no longer wishes to be informed of the eventsjava.io.IOException
public int getDays() throws java.io.IOException, AutomationException
getDays
in interface ITimeDuration
java.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 ITimeDuration
days
- 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 ITimeDuration
java.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 ITimeDuration
hours
- 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 ITimeDuration
java.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 ITimeDuration
minutes
- 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 ITimeDuration
java.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 ITimeDuration
seconds
- 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 ITimeDuration
java.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 ITimeDuration
nanoseconds
- 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 ITimeDuration
java.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 ITimeDuration
positive
- 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 ITimeDuration
java.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 ITimeDuration
timeDuration
- 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 ITimeDuration
java.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 ITimeDuration
xmlTimeDurationString
- 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 ITimeDuration
value
- 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 ITimeDuration
value
- 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 ITimeDuration
value
- 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 ITimeDuration
value
- 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 ITimeDuration
value
- 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 ITimeDuration
value
- 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 ITimeDuration
value
- 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 ITimeDuration
java.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 ITimeDuration
java.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 ITimeDuration
java.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 ITimeDuration
java.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 ITimeDuration
java.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 ITimeDuration
dayFraction
- 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 ITimeDuration
java.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 ITimeDuration
dayFractionNanoseconds
- 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 ITimeDuration
java.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 ITimeDuration
ticks
- 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 ITimeDuration
java.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 ITimeDuration
scaleFactor
- 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 ITimeDuration
timeDuration
- 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 ITimeDuration
timeDuration
- 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 ITimeDuration
java.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 ITimeDuration
otherDuration
- 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.