TimeToTimeSpan(TimeUnit, Decimal) 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,
decimal value
)
Public Shared Function ToTimeSpan (
unit As TimeUnit,
value As Decimal
) As TimeSpan
- unit TimeUnit
- Time unit.
- value Decimal
- The value of the time unit.
TimeSpanTimeSpan with the time unit value.