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();
}

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 ( ) ; }
formats number of milliseconds to a hh : mm representation todo : implement automatic scale ( e . g . 1d 7h instead of 31 : 13m )
