question: public String toHHMM ( long millis ) { StringBuilder sb = new StringBuilder ( ) ; Formatter formatter = new Formatter ( sb ) ; formatter . format ( "%2d:%2dm" , millis / 1000 / 3600 , ( millis / 1000 / 60 ) % 60 ) ; return sb . toString ( ) ; }
target:  Formats number of milliseconds to a HH:MM representation TODO: implement automatic scale (e.g. 1d 7h instead of 31:13m)