Java Utililty Methods Second Format

List of utility methods to do Second Format

Description

The list of methods to do Second Format are organized into topic(s).

Method

StringsecondsToTimeString(long numSeconds)
seconds To Time String
if (numSeconds == 0)
    return "-";
return format.format(new Date(numSeconds * 1000L));
StringtoSecondString(long time)
to Second String
return secondsFormatter.format(time);