public static String formatMinutes(int time){
  if (time > 0) {
    int hours=time / 60;
    int minutes=time % 60;
    return String.format(FORMAT_MINUTES,hours,minutes);
  }
  return "0:00";
}

public static String formatMinutes ( int time ) { if ( time > 0 ) { int hours = time / 60 ; int minutes = time % 60 ; return String . format ( FORMAT_MINUTES , hours , minutes ) ; } return "0:00" ; }
format minutes as " h : mm "
