TimeUtils

io.github.srs.utils.time.TimeUtils
object TimeUtils

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
TimeUtils.type

Members list

Value members

Concrete methods

def formatTime(duration: FiniteDuration): String

Formats a given duration into a string representation in the format "HH:MM:SS:SSS", where HH are hours, MM are minutes, SS are seconds, and SSS are milliseconds.

Formats a given duration into a string representation in the format "HH:MM:SS:SSS", where HH are hours, MM are minutes, SS are seconds, and SSS are milliseconds.

Value parameters

duration

the duration to format.

Attributes

Returns

a string representing the duration in "HH:MM:SS:SSS" format.