|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITime
COM Interface 'ITime'. Generated 3/19/2015 1:20:51 PM from 'C:\ArcGIS\COM\esriSystem.olb'
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 =
Field Summary | |
---|---|
static java.lang.String |
IID
Deprecated. Internal use only |
static int |
IID66810d21_8de0_44ee_b26e_465ac09f161f
|
static int |
xxDummy
Deprecated. Internal use only |
Method Summary | |
---|---|
int |
compare(ITime otherTime)
Compares this time to the other time. |
short |
getDay()
The time's gregorian day. |
short |
getHour()
The time's hour. |
short |
getMinute()
The time's minute. |
short |
getMonth()
The time's gregorian month. |
int |
getNanoseconds()
The time's nanoseconds. |
short |
getSecond()
The time's second. |
short |
getYear()
The time's gregorian year. |
double |
queryDayFraction()
The time's time portion as a day fraction. |
_WKSDateTime |
queryGregorianTime()
Obtains the time as a gregorian date and time. |
long |
queryIntegerTime(int integerTimeFormat)
Obtains the time as an integer time. |
int |
queryJulianDayNumber()
The Time's date portion as a julian (Julius Scaliger) day number. |
long |
queryNanosecondsSinceMidnight()
The time's time portion as the number of nanoseconds elapsed since midnight. |
java.util.Date |
queryOleTime()
Obtains the time as an OLE automation date object. |
long |
queryTicks()
Obtains the time as the number of ticks since January 1, 0001 AD (Anno Domini). |
java.lang.String |
queryTimeString(int timeStringFormat)
Obtains the time as a string, based on the given time string format. |
java.lang.String |
queryTimeStringCurrentLocale(int timeLocaleFormat)
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)
Obtains the time as a string, based on the given custom time string format, and locale properties. |
java.lang.String |
queryXMLTimeString(ITimeReference timeReference)
Obtains the time as an XML time string. |
void |
setDay(short day)
The time's gregorian day. |
void |
setDayFraction(double dayFraction)
The time's time portion as a day fraction. |
void |
setFromCurrentLocalTime()
Writes the time to the current date and time on this machine, expressed as the local time. |
void |
setFromCurrentUtcTime()
Writes the time to the current date and time on this machine, expressed as the Coordinated Universal Time (UTC). |
void |
setFromGregorianTime(_WKSDateTime gregorianTime)
Obtains the time from a given gregorian date and time value. |
void |
setFromIntegerTime(int integerTimeFormat,
long integerTime)
Writes the time from an integer time. |
void |
setFromObject(java.lang.Object object)
Writes the time from a variant object. |
void |
setFromOleTime(java.util.Date oleTime)
Writes the time from an OLE automation date object. |
void |
setFromTicks(long ticks)
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)
Writes the time from a string, based on the given time string format. |
void |
setFromTimeStringCurrentLocale(int timeLocaleFormat,
java.lang.String timeString)
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)
Writes the time from a string, based on the given custom time string formats, and locale properties. |
int |
setFromXMLTimeString(java.lang.String xmlTimeString)
Writes the time from an XML time string. |
void |
setHour(short hour)
The time's hour. |
void |
setJulianDayNumber(int julianDayNumber)
The Time's date portion as a julian (Julius Scaliger) day number. |
void |
setMinute(short minute)
The time's minute. |
void |
setMonth(short month)
The time's gregorian month. |
void |
setNanoseconds(int nanoseconds)
The time's nanoseconds. |
void |
setNanosecondsSinceMidnight(long nanosecondsSinceMidnight)
The time's time portion as the number of nanoseconds elapsed since midnight. |
void |
setSecond(short second)
The time's second. |
void |
setYear(short year)
The time's gregorian year. |
void |
snapToEndOfMonth()
Adjust the day value, to the last day in the current month and year. |
ITimeDuration |
subtractTime(ITime time)
Subtracts a given time, and returns the time duration result. |
void |
toLocal()
Converts the time from Coordinated Universal Time (UTC) value to local (to this machine) time. |
void |
toUTC()
Converts the time from local (to this machine) time value to Coordinated Universal Time (UTC). |
Field Detail |
---|
static final int IID66810d21_8de0_44ee_b26e_465ac09f161f
static final int xxDummy
static final java.lang.String IID
Method Detail |
---|
short getYear() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setYear(short year) throws java.io.IOException, AutomationException
year
- The year (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.short getMonth() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setMonth(short month) throws java.io.IOException, AutomationException
month
- The month (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.short getDay() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDay(short day) throws java.io.IOException, AutomationException
day
- The day (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.short getHour() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setHour(short hour) throws java.io.IOException, AutomationException
hour
- The hour (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.short getMinute() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setMinute(short minute) throws java.io.IOException, AutomationException
minute
- The minute (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.short getSecond() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setSecond(short second) throws java.io.IOException, AutomationException
second
- The second (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int getNanoseconds() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setNanoseconds(int nanoseconds) throws java.io.IOException, AutomationException
nanoseconds
- The nanoseconds (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int queryJulianDayNumber() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setJulianDayNumber(int julianDayNumber) throws java.io.IOException, AutomationException
julianDayNumber
- The julianDayNumber (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.double queryDayFraction() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDayFraction(double dayFraction) throws java.io.IOException, AutomationException
dayFraction
- The dayFraction (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.long queryNanosecondsSinceMidnight() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setNanosecondsSinceMidnight(long nanosecondsSinceMidnight) throws java.io.IOException, AutomationException
nanosecondsSinceMidnight
- Signed 64-bit int (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ITimeDuration subtractTime(ITime time) throws java.io.IOException, AutomationException
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.void snapToEndOfMonth() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void toUTC() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void toLocal() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.java.lang.String queryTimeString(int timeStringFormat) throws java.io.IOException, AutomationException
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.void setFromTimeString(int timeStringFormat, java.lang.String timeString) throws java.io.IOException, AutomationException
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.java.lang.String queryTimeStringCurrentLocale(int timeLocaleFormat) throws java.io.IOException, AutomationException
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.void setFromTimeStringCurrentLocale(int timeLocaleFormat, java.lang.String timeString) throws java.io.IOException, AutomationException
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.java.lang.String queryTimeStringCustom(java.lang.String timeStringFormat, int localeID, java.lang.String amSymbol, java.lang.String pmSymbol) throws java.io.IOException, AutomationException
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.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
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.java.lang.String queryXMLTimeString(ITimeReference timeReference) throws java.io.IOException, AutomationException
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.int setFromXMLTimeString(java.lang.String xmlTimeString) throws java.io.IOException, AutomationException
xmlTimeString
- The xmlTimeString (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.long queryIntegerTime(int integerTimeFormat) throws java.io.IOException, AutomationException
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.void setFromIntegerTime(int integerTimeFormat, long integerTime) throws java.io.IOException, AutomationException
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.void setFromObject(java.lang.Object object) throws java.io.IOException, AutomationException
object
- A Variant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.java.util.Date queryOleTime() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setFromOleTime(java.util.Date oleTime) throws java.io.IOException, AutomationException
oleTime
- The oleTime (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception._WKSDateTime queryGregorianTime() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setFromGregorianTime(_WKSDateTime gregorianTime) throws java.io.IOException, AutomationException
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.long queryTicks() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setFromTicks(long ticks) throws java.io.IOException, AutomationException
ticks
- Signed 64-bit int (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setFromCurrentLocalTime() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setFromCurrentUtcTime() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.int compare(ITime otherTime) throws java.io.IOException, AutomationException
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 |