Click or drag to resize

TimeSpanExtensions Class

Fix for TimeSpan: TimeSpan.FromSeconds is rounding the resulting time span to integer milliseconds.
Inheritance Hierarchy
SystemObject
  AltaxoTimeSpanExtensions

Namespace: Altaxo
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static class TimeSpanExtensions

The TimeSpanExtensions type exposes the following members.

Methods
 NameDescription
Public methodStatic memberFromSecondsAccurate Constructs a TimeSpan from the provided seconds exactly (without rounding to milliseconds).
Public methodStatic memberMax 
Public methodStatic memberMin 
Public Extension MethodSafeAddition(TimeSpan, Double) 
Public Extension MethodSafeAddition(TimeSpan, TimeSpan) 
Top
See Also