After consulting a few forums, I ended up using the code below to find the days difference. But, I see a problem with the logic (may be it\'s my over sight?). I see that for
Use Joda Time's Days#daysBetween(). There is no better way.
DateMidnight createdDate = new DateMidnight(2013, 2, 11);
for (int i = 11; i < 20; i++) {
DateMidnight expirationDate = new DateMidnight(2013, 2, i);
int dayDifference = Days.daysBetween(createdDate, expirationDate);
System.out.println("11 to " + i + " = " + dayDifference);
}