ArcObjects Library Reference (System)  

ITimeOffsetOperator Interface

Provides access to time operations.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

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.

Members

Description
Method AddDays Adds the input amount of days.
Method AddDuration Adds a time duration.
Method AddHours Adds the input amount of hours.
Method AddMilliseconds Adds the input amount of milliseconds.
Method AddMinutes Adds the input amount of minutes.
Method AddMonths Adds the input amount of months.
Method AddNanoseconds Adds the input amount of nanoseconds.
Method AddSeconds Adds the input amount of seconds.
Method AddWeeks Adds the input amount of weeks.
Method AddYears Adds the input amount of years.
Method SubtractDuration Subtracts a time duration.

CoClasses that implement ITimeOffsetOperator

CoClasses and Classes Description
Time An object that represents a date and time value.
TimeExtent An object that represents a time-referenced time extent.
TimeInstant An object that represents a time-referenced instant in time.