Class StatisticsUtil

  • public final class StatisticsUtil
    extends Object
    Statistics utility class.
    • Method Detail

      • formatElapsedTime

        public static String formatElapsedTime​(long seconds)
        Formats elapsed time in seconds to form days:hours:minutes:seconds.
        seconds - Elapsed time in seconds.
        Formated time as string d:hh:mm:ss
      • getCurrentTimestampInSeconds

        public static long getCurrentTimestampInSeconds()
        Get current time in seconds. See also System.currentTimeMillis().
        the difference, measured in seconds, between the current time and midnight, January 1, 1970 UTC.