title: how to get number of days in given date range?
body: <p>I try to find number of days using following  method,</p>
  
  <pre><code>public static int findNoOfDays(int year, int month, int day) {
          Calendar calendar = Calendar.getInstance();
          calendar.set(year, month - 1, day);
          int days = calendar.getActualMaximum(Calendar.DAY_OF_MONTH);
          return days;
      }
  </code></pre>
  
  <p>likewise I want to get the number of days by giving start date and end date and get the number of days <code>excluding Saturday and Sunday</code>.</p>