title: adding days to a date
body: <p>I have a program that needs to start on 1/1/09 and when I start a new day, my program will show the next day.
  This is what I have so far:</p>
  
  <pre><code>GregorianCalendar startDate = new GregorianCalendar(2009, Calendar.JANUARY, 1);
  SimpleDateFormat sdf = new SimpleDateFormat("d/M/yyyy"); 
  public void setStart()
  {
      startDate.setLenient(false);
      System.out.println(sdf.format(startDate.getTime()));
  }
  
  public void today()
  {
      newDay = startDate.add(5, 1);
      System.out.println(newDay);
  //I want to add a day to the start day and when I start another new day, I want to add another day to that.
  }
  </code></pre>
  
  <p>I am getting the error found void but expected int, in 'newDay = startDate.add(5, 1);'
  What should I do?</p>