TimeToTimeSpan(TimeUnit, Double) Method
Converts a time unit value to text (example in hours: 15 hours, 1 hour, 0.5 hours, ...).
Namespace: Aliquo.CoreAssembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
public static TimeSpan ToTimeSpan(
TimeUnit unit,
double value
)
Public Shared Function ToTimeSpan (
unit As TimeUnit,
value As Double
) As TimeSpan
- unit TimeUnit
- Time unit.
- value Double
- The value of the time unit.
TimeSpanTimeSpan with the time unit value.