title: Convert integer minutes into String "hh:mm"
body: <p>I need to convert <code>minutes</code> (defined as Integer) into the following String format "hh:mm" assuming that the <code>startTime</code> is "00:00". The below-given code is what I have so far, but it does not work properly. Also it does not take into account that the <code>newTime</code> should be shifted in accordance to <code>startTime</code>. Is there any other solution?</p>
  
  <pre><code>String startTime = "00:00";
  int minutes = 120;
  double time = minutes/60;
  String timeS = Double.toString(time);
  String[] hourMin = timeS.split(".");
  String h = hourMin[0];
  String m = hourMin[1];
  String newTime = "";    
  newTime.concat(h+":"+m);
  </code></pre>