Week between two dates Java + Joda Time
问题 I wanted to get the number of weeks and months between two date range in Java. For ex., Start Date: 03/01/2012 End Date: 03/05/2012 Since the two dates fall in two different weeks I want the result to be 2 instead of 0. Second part of the problem is: Start Date: 02/29/2012 End Date: 03/01/2012 Number of months in between should be 2. I have been searching online regarding this and lot of people have recommended using Joda Date time in Java. So I gave it a shot. I was able to get the weeks