jetbrains.buildServer.util
Class TimePrinter

java.lang.Object
  extended by jetbrains.buildServer.util.TimePrinter

public class TimePrinter
extends java.lang.Object


Method Summary
static TimePrinter createMillisecondsFormatter()
           
static TimePrinter createSecondsFormatter(boolean alwaysPrintSeconds)
           
 java.lang.String formatTime(long seconds)
           
 void formatTime(java.lang.StringBuilder sb, long timeToFormat)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

formatTime

public java.lang.String formatTime(long seconds)

formatTime

public void formatTime(java.lang.StringBuilder sb,
                       long timeToFormat)

createSecondsFormatter

public static TimePrinter createSecondsFormatter(boolean alwaysPrintSeconds)

createMillisecondsFormatter

public static TimePrinter createMillisecondsFormatter()