|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITimeOffsetOperator
Provides access to time operations.
This interface provides a mechanism to offset various types of time objects (such as TimeInstant, TimeExtent, etc.) The various methods provided allow you to shift the time object by the specified interval into the future. To shift the time object into the past, simply pass in a negative value to the desired function.
Method Summary | |
---|---|
void |
addDays(double value)
Adds the input amount of days. |
void |
addDuration(ITimeDuration timeDuration)
Adds a time duration. |
void |
addHours(double value)
Adds the input amount of hours. |
void |
addMilliseconds(double value)
Adds the input amount of milliseconds. |
void |
addMinutes(double value)
Adds the input amount of minutes. |
boolean |
addMonths(double value,
boolean preserveEndOfMonth,
boolean goForwardOnInvalidDate)
Adds the input amount of months. |
void |
addNanoseconds(long value)
Adds the input amount of nanoseconds. |
void |
addSeconds(double value)
Adds the input amount of seconds. |
void |
addWeeks(double value)
Adds the input amount of weeks. |
boolean |
addYears(double value,
boolean preserveEndOfMonth,
boolean goForwardOnInvalidDate)
Adds the input amount of years. |
void |
subtractDuration(ITimeDuration timeDuration)
Subtracts a time duration. |
Method Detail |
---|
void addDuration(ITimeDuration timeDuration) throws IOException, AutomationException
timeDuration
- A reference to a com.esri.arcgis.system.ITimeDuration (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void subtractDuration(ITimeDuration timeDuration) throws IOException, AutomationException
timeDuration
- A reference to a com.esri.arcgis.system.ITimeDuration (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean addYears(double value, boolean preserveEndOfMonth, boolean goForwardOnInvalidDate) throws IOException, AutomationException
value
- The value (in)preserveEndOfMonth
- The preserveEndOfMonth (in)goForwardOnInvalidDate
- The goForwardOnInvalidDate (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean addMonths(double value, boolean preserveEndOfMonth, boolean goForwardOnInvalidDate) throws IOException, AutomationException
value
- The value (in)preserveEndOfMonth
- The preserveEndOfMonth (in)goForwardOnInvalidDate
- The goForwardOnInvalidDate (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addWeeks(double value) throws IOException, AutomationException
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addDays(double value) throws IOException, AutomationException
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addHours(double value) throws IOException, AutomationException
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addMinutes(double value) throws IOException, AutomationException
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addSeconds(double value) throws IOException, AutomationException
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addMilliseconds(double value) throws IOException, AutomationException
value
- The value (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void addNanoseconds(long value) throws IOException, AutomationException
value
- Signed 64-bit int (in)
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 |