title: Why calendar.getActualMaximum(Calendar.DAY_OF_MONTH) return 31 instead of 30?
body: <p>Why I'm getting 31 instead of 3? Now December, so previous of Nov = 30.</p>
  
  <pre><code>Calendar calendarPreviousMonth = Calendar.getInstance();
          calendarPreviousMonth.add(Calendar.MONTH, calendarCurrent.get(Calendar.MONTH) - 1);
          System.out.println("Amount of days in month " + calendarPreviousMonth.getActualMaximum(Calendar.DAY_OF_MONTH));
  </code></pre>
  
  <p>Thank you!</p>