Click or drag to resize

TimeSpanExtensions Class

TimeSpan extensions.
Inheritance Hierarchy
SystemObject
  SystemTimeSpanExtensions

Namespace:  System
Assembly:  Neon.Common (in Neon.Common.dll) Version: 2.2.0
Syntax
public static class TimeSpanExtensions

The TimeSpanExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAdjustToFitDateRange
Adjusts a TimeSpan such that when it is added to a DateTime the resulting date is within the valid possible date range of MinValue...MaxValue. This is useful for timeout related calculations.
Top
See Also