Duration ToTimeSpan Method Noda Time
Returns a OnlineTimeSpan that represents the same number of ticks as this Duration.

Namespace: NodaTime
Assembly: NodaTime (in NodaTime.dll) Version: 1.3.0.0 (1.3.1)
Syntax

public TimeSpan ToTimeSpan()

Return Value

Type: OnlineTimeSpan
A new TimeSpan with the same number of ticks as this Duration.
Version Information

Available since: 1.0.0
Supported in the PCL? Yes
See Also