/** * Calculates the number of days in the specified month, while taking into
* consideration whether or not the specified month is in a leap year.
* Note: that this is calculated based on the month's monthOfYear and year, and
* is NOT retrieved from the month's getDayCount() method. This is because this
* method is used to generate the day objects that are stored within each month.
* @param month to determine the number of days within (within its year)
* @return the number of days in the specified month (between 28-31)
*/ public static int numberOfDaysInMonth(Month month)