This document is archived and information here might be outdated. Recommended version. |
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.
Name | Description | |
---|---|---|
AddDays | Adds the input amount of days. | |
AddDuration | Adds a time duration. | |
AddHours | Adds the input amount of hours. | |
AddMilliseconds | Adds the input amount of milliseconds. | |
AddMinutes | Adds the input amount of minutes. | |
AddMonths | Adds the input amount of months. | |
AddNanoseconds | Adds the input amount of nanoseconds. | |
AddSeconds | Adds the input amount of seconds. | |
AddWeeks | Adds the input amount of weeks. | |
AddYears | Adds the input amount of years. | |
SubtractDuration | Subtracts a time duration. |
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. |