Hi,
In Jdk1.5, you have the two methods after(Date when) and before(Date when) in the Date class, which return the boolean value. You can add the code as below(pseudo code is given):
Date d = new Date() // d is the Date that needs to be checked
boolean check = false;
if (d.after(startdate) && d.before (enddate)) check = true;
if (check == true)
//your code should be here.