|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.system.ITimeProxy
Description: 'Provides access to members that control the Time.' 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 ITimeProxy
Internal use class
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.ITime |
---|
IID, IID66810d21_8de0_44ee_b26e_465ac09f161f |
Constructor Summary | |
---|---|
|
ITimeProxy()
Deprecated. For internal use only |
|
ITimeProxy(java.lang.Object obj)
Deprecated. |
protected |
ITimeProxy(java.lang.Object obj,
java.lang.String iid)
Deprecated. |
|
ITimeProxy(java.lang.String CLSID,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
Deprecated. |
protected |
ITimeProxy(java.lang.String CLSID,
java.lang.String iid,
java.lang.String host,
com.esri.arcgis.interop.AuthInfo authInfo)
Deprecated. |
Method Summary | |
---|---|
void |
addListener(java.lang.String iidStr,
java.lang.Object theListener,
java.lang.Object theSource)
Deprecated. |
int |
compare(ITime otherTime)
Deprecated. Compares this time to the other time. |
short |
getDay()
Deprecated. The time's gregorian day. |
short |
getHour()
Deprecated. The time's hour. |
short |
getMinute()
Deprecated. The time's minute. |
short |
getMonth()
Deprecated. The time's gregorian month. |
int |
getNanoseconds()
Deprecated. The time's nanoseconds. |
short |
getSecond()
Deprecated. The time's second. |
short |
getYear()
Deprecated. The time's gregorian year. |
double |
queryDayFraction()
Deprecated. The time's time portion as a day fraction. |
_WKSDateTime |
queryGregorianTime()
Deprecated. Obtains the time as a gregorian date and time. |
long |
queryIntegerTime(int integerTimeFormat)
Deprecated. Obtains the time as an integer time. |
int |
queryJulianDayNumber()
Deprecated. The Time's date portion as a julian (Julius Scaliger) day number. |
long |
queryNanosecondsSinceMidnight()
Deprecated. The time's time portion as the number of nanoseconds elapsed since midnight. |
java.util.Date |
queryOleTime()
Deprecated. Obtains the time as an OLE automation date object. |
long |
queryTicks()
Deprecated. Obtains the time as the number of ticks since January 1, 0001 AD (Anno Domini). |
java.lang.String |
queryTimeString(int timeStringFormat)
Deprecated. Obtains the time as a string, based on the given time string format. |
java.lang.String |
queryTimeStringCurrentLocale(int timeLocaleFormat)
Deprecated. Obtains the time as a string, based on the current locale. |
java.lang.String |
queryTimeStringCustom(java.lang.String timeStringFormat,
int localeID,
java.lang.String amSymbol,
java.lang.String pmSymbol)
Deprecated. Obtains the time as a string, based on the given custom time string format, and locale properties. |
java.lang.String |
queryXMLTimeString(ITimeReference timeReference)
Deprecated. Obtains the time as an XML time string. |
void |
removeListener(java.lang.String iidStr,
java.lang.Object theListener)
Deprecated. |
void |
setDay(short day)
Deprecated. The time's gregorian day. |
void |
setDayFraction(double dayFraction)
Deprecated. The time's time portion as a day fraction. |
void |
setFromCurrentLocalTime()
Deprecated. Writes the time to the current date and time on this machine, expressed as the local time. |
void |
setFromCurrentUtcTime()
Deprecated. Writes the time to the current date and time on this machine, expressed as the Coordinated Universal Time (UTC). |
void |
setFromGregorianTime(_WKSDateTime gregorianTime)
Deprecated. Obtains the time from a given gregorian date and time value. |
void |
setFromIntegerTime(int integerTimeFormat,
long integerTime)
Deprecated. Writes the time from an integer time. |
void |
setFromObject(java.lang.Object object)
Deprecated. Writes the time from a variant object. |
void |
setFromOleTime(java.util.Date oleTime)
Deprecated. Writes the time from an OLE automation date object. |
void |
setFromTicks(long ticks)
Deprecated. Writes the time from a given number of ticks since January 1, 0001 AD (Anno Domini) value. |
void |
setFromTimeString(int timeStringFormat,
java.lang.String timeString)
Deprecated. Writes the time from a string, based on the given time string format. |
void |
setFromTimeStringCurrentLocale(int timeLocaleFormat,
java.lang.String timeString)
Deprecated. Obtains the time from a string, based on the current locale. |
void |
setFromTimeStringCustom(java.lang.String timeStringFormat,
int localeID,
java.lang.String amSymbol,
java.lang.String pmSymbol,
java.lang.String timeString)
Deprecated. Writes the time from a string, based on the given custom time string formats, and locale properties. |
int |
setFromXMLTimeString(java.lang.String xmlTimeString)
Deprecated. Writes the time from an XML time string. |
void |
setHour(short hour)
Deprecated. The time's hour. |
void |
setJulianDayNumber(int julianDayNumber)
Deprecated. The Time's date portion as a julian (Julius Scaliger) day number. |
void |
setMinute(short minute)
Deprecated. The time's minute. |
void |
setMonth(short month)
Deprecated. The time's gregorian month. |
void |
setNanoseconds(int nanoseconds)
Deprecated. The time's nanoseconds. |
void |
setNanosecondsSinceMidnight(long nanosecondsSinceMidnight)
Deprecated. The time's time portion as the number of nanoseconds elapsed since midnight. |
void |
setSecond(short second)
Deprecated. The time's second. |
void |
setYear(short year)
Deprecated. The time's gregorian year. |
void |
snapToEndOfMonth()
Deprecated. Adjust the day value, to the last day in the current month and year. |
ITimeDuration |
subtractTime(ITime time)
Deprecated. Subtracts a given time, and returns the time duration result. |
void |
toLocal()
Deprecated. Converts the time from Coordinated Universal Time (UTC) value to local (to this machine) time. |
void |
toUTC()
Deprecated. Converts the time from local (to this machine) time value to Coordinated Universal Time (UTC). |
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 |
---|
public static final java.lang.Class targetClass
public boolean noncastable
Constructor Detail |
---|
public ITimeProxy(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 ITimeProxy()
public ITimeProxy(java.lang.Object obj) throws java.io.IOException
java.io.IOException
protected ITimeProxy(java.lang.Object obj, java.lang.String iid) throws java.io.IOException
java.io.IOException
protected ITimeProxy(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
Method Detail |
---|
public void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource) throws java.io.IOException
addListener
in class com.esri.arcgis.interop.Dispatch
java.io.IOException
public void removeListener(java.lang.String iidStr, java.lang.Object theListener) throws java.io.IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
java.io.IOException
public short getYear() throws java.io.IOException, AutomationException
getYear
in interface ITime
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setYear(short year) throws java.io.IOException, AutomationException
setYear
in interface ITime
year
- The year (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getMonth() throws java.io.IOException, AutomationException
getMonth
in interface ITime
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMonth(short month) throws java.io.IOException, AutomationException
setMonth
in interface ITime
month
- The month (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getDay() throws java.io.IOException, AutomationException
getDay
in interface ITime
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDay(short day) throws java.io.IOException, AutomationException
setDay
in interface ITime
day
- The day (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getHour() throws java.io.IOException, AutomationException
getHour
in interface ITime
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setHour(short hour) throws java.io.IOException, AutomationException
setHour
in interface ITime
hour
- The hour (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getMinute() throws java.io.IOException, AutomationException
getMinute
in interface ITime
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMinute(short minute) throws java.io.IOException, AutomationException
setMinute
in interface ITime
minute
- The minute (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public short getSecond() throws java.io.IOException, AutomationException
getSecond
in interface ITime
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSecond(short second) throws java.io.IOException, AutomationException
setSecond
in interface ITime
second
- The second (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 ITime
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 ITime
nanoseconds
- The nanoseconds (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int queryJulianDayNumber() throws java.io.IOException, AutomationException
queryJulianDayNumber
in interface ITime
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setJulianDayNumber(int julianDayNumber) throws java.io.IOException, AutomationException
setJulianDayNumber
in interface ITime
julianDayNumber
- The julianDayNumber (in)
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 ITime
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 ITime
dayFraction
- The dayFraction (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public long queryNanosecondsSinceMidnight() throws java.io.IOException, AutomationException
queryNanosecondsSinceMidnight
in interface ITime
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setNanosecondsSinceMidnight(long nanosecondsSinceMidnight) throws java.io.IOException, AutomationException
setNanosecondsSinceMidnight
in interface ITime
nanosecondsSinceMidnight
- Signed 64-bit int (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ITimeDuration subtractTime(ITime time) throws java.io.IOException, AutomationException
subtractTime
in interface ITime
time
- A reference to a com.esri.arcgis.system.ITime (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void snapToEndOfMonth() throws java.io.IOException, AutomationException
snapToEndOfMonth
in interface ITime
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void toUTC() throws java.io.IOException, AutomationException
toUTC
in interface ITime
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void toLocal() throws java.io.IOException, AutomationException
toLocal
in interface ITime
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String queryTimeString(int timeStringFormat) throws java.io.IOException, AutomationException
queryTimeString
in interface ITime
timeStringFormat
- A com.esri.arcgis.system.esriTimeStringFormat constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFromTimeString(int timeStringFormat, java.lang.String timeString) throws java.io.IOException, AutomationException
setFromTimeString
in interface ITime
timeStringFormat
- A com.esri.arcgis.system.esriTimeStringFormat constant (in)timeString
- The timeString (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String queryTimeStringCurrentLocale(int timeLocaleFormat) throws java.io.IOException, AutomationException
queryTimeStringCurrentLocale
in interface ITime
timeLocaleFormat
- A com.esri.arcgis.system.esriTimeLocaleFormat constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFromTimeStringCurrentLocale(int timeLocaleFormat, java.lang.String timeString) throws java.io.IOException, AutomationException
setFromTimeStringCurrentLocale
in interface ITime
timeLocaleFormat
- A com.esri.arcgis.system.esriTimeLocaleFormat constant (in)timeString
- The timeString (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String queryTimeStringCustom(java.lang.String timeStringFormat, int localeID, java.lang.String amSymbol, java.lang.String pmSymbol) throws java.io.IOException, AutomationException
queryTimeStringCustom
in interface ITime
timeStringFormat
- The timeStringFormat (in)localeID
- The localeID (in)amSymbol
- The amSymbol (in)pmSymbol
- The pmSymbol (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFromTimeStringCustom(java.lang.String timeStringFormat, int localeID, java.lang.String amSymbol, java.lang.String pmSymbol, java.lang.String timeString) throws java.io.IOException, AutomationException
setFromTimeStringCustom
in interface ITime
timeStringFormat
- The timeStringFormat (in)localeID
- The localeID (in)amSymbol
- The amSymbol (in)pmSymbol
- The pmSymbol (in)timeString
- The timeString (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.lang.String queryXMLTimeString(ITimeReference timeReference) throws java.io.IOException, AutomationException
queryXMLTimeString
in interface ITime
timeReference
- A reference to a com.esri.arcgis.system.ITimeReference (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int setFromXMLTimeString(java.lang.String xmlTimeString) throws java.io.IOException, AutomationException
setFromXMLTimeString
in interface ITime
xmlTimeString
- The xmlTimeString (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public long queryIntegerTime(int integerTimeFormat) throws java.io.IOException, AutomationException
queryIntegerTime
in interface ITime
integerTimeFormat
- A com.esri.arcgis.system.esriIntegerTimeFormat constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFromIntegerTime(int integerTimeFormat, long integerTime) throws java.io.IOException, AutomationException
setFromIntegerTime
in interface ITime
integerTimeFormat
- A com.esri.arcgis.system.esriIntegerTimeFormat constant (in)integerTime
- Signed 64-bit int (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFromObject(java.lang.Object object) throws java.io.IOException, AutomationException
setFromObject
in interface ITime
object
- A Variant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public java.util.Date queryOleTime() throws java.io.IOException, AutomationException
queryOleTime
in interface ITime
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFromOleTime(java.util.Date oleTime) throws java.io.IOException, AutomationException
setFromOleTime
in interface ITime
oleTime
- The oleTime (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public _WKSDateTime queryGregorianTime() throws java.io.IOException, AutomationException
queryGregorianTime
in interface ITime
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFromGregorianTime(_WKSDateTime gregorianTime) throws java.io.IOException, AutomationException
setFromGregorianTime
in interface ITime
gregorianTime
- A Structure: com.esri.arcgis.system._WKSDateTime (A com.esri.arcgis.system._WKSDateTime COM typedef) (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 ITime
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 ITime
ticks
- Signed 64-bit int (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFromCurrentLocalTime() throws java.io.IOException, AutomationException
setFromCurrentLocalTime
in interface ITime
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFromCurrentUtcTime() throws java.io.IOException, AutomationException
setFromCurrentUtcTime
in interface ITime
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int compare(ITime otherTime) throws java.io.IOException, AutomationException
compare
in interface ITime
otherTime
- A reference to a com.esri.arcgis.system.ITime (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |