to Time String
fun Long.toTimeString(trimLeadingZeroes: Boolean = true, trimTrailingZeros: Boolean = true): String
Content copied to clipboard
Convert this long value to a time string.
Parameters
trim Leading Zeroes
Trim all zero values before the first non-zero value.
trim Trailing Zeros
Trim all zero values after the last non-zero value.