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


TimeDuration Class (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Classes > T > TimeDuration Class
ArcGIS Developer Help

TimeDurationClass Class

An object that represents a time duration value.

Product Availability

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

Description

A Time Duration represents a length of time that is not attached to any particular point in the time line.  For example, "3 hours" is a Time Duration, but "The time from 3:00 to 6:00" is not a Time Duration.  A Time Duration can be added to a TimeInstant to create a new TimeInstant.

Interfaces

Interfaces Description
IClone Provides access to members that control cloning of objects.
IDocumentVersionSupportGEN Provides access to extend the IObjectStream interface with methods to hande saving objects that did not exist in previous versions of the software.
IPersistStream
ITimeDuration Provides access to members that control the Time Duration.
IXMLSerialize Provides access to members that XML serialize and deserialize an object to/from XML.
IXMLVersionSupport Provides access to members that help in serializing an object to different namespaces (versions).