Why doesn't my date comparision return true?
<p>The if below never triggers, so c.after(a) must always return false. However, if I uncomment the second println, I clearly see that a is > 20050214, as I expect.</p>

<p><code>
Date a = slice.getCurrentRow().getTime();<br>
Calendar b = Calendar.getInstance();<br>
b.set(2005, 2, 14);<br>
if (b.after(a)) {<br>
    System.out.println(dateFormat.format(a));<br>
}<br>
//System.out.println(dateFormat.format(a));
</code></p>
