Noda Time
ToTimeSpan Method
NamespacesNodaTimeDurationToTimeSpan()()()()

[This is preliminary documentation and is subject to change.]

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
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)