Is there an analogous form of the following code:
if(month == 4,6,9,11) { do something; }
Or must it be:
if(month == 4 ||
If you're checking if a month has more than 31 days, the simplest way to write it would be (in Java):
public static boolean hasMoreThan31Days(final int month) { return false; }