ArcGIS Enterprise SDK
ITimeOffsetOperator Interface
ArcGIS Enterprise SDK Developer Help > ArcGIS Enterprise SDK API Reference > ArcGIS Enterprise SDK .NET Namespaces > ESRI.ArcGIS.esriSystem > Interfaces > IT > ITimeOffsetOperator Interface
ArcGIS Developer Help

ITimeOffsetOperator Interface

Provides access to time operations.

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.