Package 

Class TimeFormatUtil

    • Method Summary

      Modifier and Type Method Description
      static String formatMs(long milliseconds) Formats the specified milliseconds to a human readable formatin the form of (Hours : Minutes : Seconds).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • formatMs

         static String formatMs(long milliseconds)

        Formats the specified milliseconds to a human readable formatin the form of (Hours : Minutes : Seconds). If the specifiedmilliseconds is less than 0 the resulting format will be"--:--" to represent an unknown time

        Parameters:
        milliseconds - The time in milliseconds to format