Why does't this code resolve Feb 1st as the 32nd day of the year?
<pre><code>public void testCalendar() throws ParseException {
  Calendar cal = Calendar.getInstance();

  SimpleDateFormat timestampFormat = new SimpleDateFormat("yyyy-mm-dd HH:mm:ss");
  Date d1 = timestampFormat.parse("2011-02-01 09:02:44");

  cal.setTime(d1);

  System.out.println(cal.get(Calendar.DAY_OF_YEAR));
}
</code></pre>

<p>I'm trying to get feb 1st as the 32nd day of 2011. 
It gets printed as "1" when I would expect day 32 of the year 2011. Is there something wrong with the code above?</p>
