title: Find days, hours and minutes to a time on certain days
body: <p>I am fairly new to java development and have come accross a problem i need help with.</p>
  
  <p>I need to find out the days(if applicable), hours and minutes until 8.30 am. However, as this is a "countdown to school" the code has to know that if the next 8.30 am is on saturday or sunday, it should show the time until monday 8.30AM. Again, sorry if that does not make to much sense. So the logical way i would go about approaching this is by:</p>
  
  <ol>
  <li>Working out whether tomorrow is either monday, tuesday, wednesday, thursday or friday.</li>
  <li>If it is, work out the number of hours and minutes until 8.30am tomorrow and convert that into 2 strings (hours and minutes)</li>
  <li><p>Else, work out the days, hours and minutes until monday 8.30 am and convert them to strings(days, hours and minutes)</p>
  
  <pre><code>Date dt = new Date();
  Calendar c = Calendar.getInstance();
  c.setTime(dt);
  c.set(Calendar.HOUR_OF_DAY, 0);
  c.set(Calendar.MINUTE, 0);
  c.set(Calendar.SECOND, 0);
  c.set(Calendar.MILLISECOND, 0);
  dt = c.getTime();
  DateFormat dateFormat = new SimpleDateFormat("dd");
  String datetommorow = dateFormat.format(dt);
  int date22 = Integer.parseInt(datetommorow);
  int date33 = date22 + 1;
  Integer.toString(date33);
  </code></pre></li>
  </ol>
  
  <p>As you can see from this attempt i am struggling with this. Any help would be greatly appreciated, and if you need any more infomation <b>do not hesitate to ask </b></p>