title: how to find the total number of months between the two dates including extra days?
body: <p>I have a requirement where I need to find out number of months between two dates including extra days.</p>
  
  <p>example:</p>
  
  <p><strong>start date:01/01/2014</strong></p>
  
  <p><strong>end date:21/02/2014</strong></p>
  
  <pre><code>LocalDate startDate = new LocalDate(startDate1);
  
  LocalDate endDate = new LocalDate(endDate1);
  
  PeriodType monthDay =PeriodType.yearMonthDay().withYearsRemoved();
  
  Period difference = new Period(startDate, endDate, monthDay);
  
  int months = difference.getMonths();
  
  int days = difference.getDays()
  </code></pre>
  
  <p>the out put I will get is:</p>
  
  <blockquote>
    <p>months:1 days:20</p>
  </blockquote>
  
  <p>but my requirement is I want get total months including that extra day.</p>
  
  <p>like:1.66 months.</p>
  
  <p>How to get this one in java?</p>