TimeToString(TimeUnit, Double, Boolean) 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 string ToString(
TimeUnit unit,
double value,
bool useAbbreviations = false
)
Public Shared Function ToString (
unit As TimeUnit,
value As Double,
Optional useAbbreviations As Boolean = false
) As String
- unit TimeUnit
- Time unit.
- value Double
- The value of the time unit.
- useAbbreviations Boolean (Optional)
- Indicates whether abbreviations will be used for hours, minutes and seconds texts.
StringString with the time unit value.