DurationToTimeSpan Method |
You should take into consideration that TimeSpan is internally represented in ticks, so for the conversion, 24h days will be used (leap seconds are not considered). For Duration values with month portion, it will throw an InvalidOperationException.
Namespace: Dse
Exception | Condition |
---|---|
InvalidOperationException | values including month portion. |