Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
SimpleDateFormat ft = new SimpleDateFormat ("yyyy-MM-dd");
Date startDate = ft.parse("2013-01-01");
Date endDate = ft.parse("2014-01-01");
if ( row1.Defect_Reported_Detected_Date.compareTo(startDate) >= 0
&& row1.Defect_Reported_Detected_Date.compareTo(endDate) < 0 ) {
// do what you want
}