Joda Time - difference in months between two dates
<p>I need to get the difference in months between two dates, I'm using Joda Time, the problem is this:</p>

<pre><code>DateTime date1 = new DateTime().withDate(2015, 2, 1);
DateTime date2 = new DateTime().withDate(2015, 1, 1);
Months m = Months.monthsBetween(date1, date2);
int monthDif = m.getMonths();//this return 0 
</code></pre>

<p>it returns 0 because there is no month in the middle of the two dates, I need to return the difference in months not a few months in between, and add 1 would be problematic when the dates are the same.</p>