We were not handling differences that were exactly (to the millisecond) an

integer number of months.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@1796 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2006-03-06 23:54:36 +00:00
parent 9663af0365
commit a099343163
@@ -83,7 +83,7 @@ public class CalendarUtil
do {
end.add(Calendar.MONTH, -1);
months++;
} while (start.before(end));
} while (!end.after(start));
return months;
}