Noda Time
ToTimeSpan Method
NamespacesNodaTimeDurationToTimeSpan()()()()
Returns a TimeSpan that represents the same number of ticks as this Duration.
Declaration Syntax
C#Visual BasicVisual C++
public TimeSpan ToTimeSpan()
Public Function ToTimeSpan As TimeSpan
public:
TimeSpan ToTimeSpan()
Return Value
TimeSpan
A new TimeSpan with the same number of ticks as this Duration.

Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)