Is there an analogous form of the following code:
if(month == 4,6,9,11) { do something; }
Or must it be:
if(month == 4 ||
Move to first of next month and subtract a day.
Calendar cal=Calendar.getInstance(); cal.add(Calendar.MONTH,1); cal.set(Calendar.DAY_OF_MONTH,1); cal.add(Calendar.DATE, -1);