Compare dates in Java 
<p>How do I compare dates in between in Java? </p>

<p>Example:</p>

<p>date1 is <code>22-02-2010</code><br />
 date2 is <code>07-04-2010</code> today <br />
 date3 is <code>25-12-2010</code></p>

<p><code>date3</code> is always greater than <code>date1</code> and <code>date2</code> is always today. How do I verify if today's date is in between date1 and date 3?</p>
