title: Java , adding minutes to a Date , weird anomaly
body: <p>With Java Version 1.5.0_06 on both Windows and Ubuntu Linux :</p>
  
  <p>Whenever I add minutes to the date "2008/10/05 00:00:00" , it seems that an extra hour is wrongly added.</p>
  
  <p>ie: adding 360 minutes to 2008/10/05 00:00:00 at midnight should arrive at 2008/10/05 06:00:00</p>
  
  <p>But it is arriving at 2008/10/05 07:00:00</p>
  
  <p>The totally perplexing thing is that this <strong>ONLY</strong> happens when the day is 2008/10/05, all other days that I try perform the minutes addition correctly. </p>
  
  <p>Am I going crazy or is this a bug in Java ?</p>
  
  <pre><code>    SimpleDateFormat sdf = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
  
      try {
          String date = "2008/10/05 00:00:00";
          int minutesToAdd = 360;  // 6 hrs
  
          Calendar cal = Calendar.getInstance();
          cal.setTime(sdf.parse(date));
          cal.add(Calendar.MINUTE, minutesToAdd);
          System.out.println(cal.getTime());
  
      } catch (ParseException e) {}
  </code></pre>