code: public static String toTimeString(long time, boolean millis) {
  		GregorianCalendar cal = new GregorianCalendar(0, 0, 0);
  		cal.setTimeInMillis(time);
  		return toTimeString(cal, millis);
  	}
docs: Convert a Unix time (in milliseconds) to a time string
  
  @param millis <code>true</code> to show milliseconds in decimal and
  <code>false</code> to round to the second