The TimeInterval type exposes the following members.

Constructors

  NameDescription
Public methodTimeInterval(DateTime, DateTime)
Initializes a new TimeInterval instance.
Public methodTimeInterval(DateTime, TimeSpan)
Initializes a new TimeInterval instance.

Methods

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

Properties

  NameDescription
Public propertyDuration
Gets the absolute duration of the current time interval (difference between Finish and Start values).
Public propertyFinish
Gets the finish date and time of the current time interval.
Public propertyStart
Gets the start date and time of the current time interval.

See Also