This document is archived and information here might be outdated.  Recommended version.


ITimeOffsetOperator Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IT > ITimeOffsetOperator Interface
ArcGIS Developer Help

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

Name 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.

Classes that implement ITimeOffsetOperator

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.