Getting day of the week <p>With this code, I get the days that make up a given month, but if I want to get if the month starts on a Monday or Tuesday, as I do?</p> <pre><code>Calendar mycal = new GregorianCalendar(anni, Calendar.FEBRUARY, 1); int giorni = mycal.getActualMaximum(Calendar.DAY_OF_MONTH); // 28 </code></pre>