code: private static Integer[] getAdjustedMonthDays(int year) {
          Integer[] newMonths;
          try {
              newMonths = ADJUSTED_MONTH_DAYS.get(Integer.valueOf(year));
          } catch (ArrayIndexOutOfBoundsException e) {
              newMonths = null;
          }
          if (newMonths == null) {
              if (isLeapYear(year)) {
                  newMonths = DEFAULT_LEAP_MONTH_DAYS;
              } else {
                  newMonths = DEFAULT_MONTH_DAYS;
              }
          }
          return newMonths;
      }
docs: Returns adjusted month days as Integer array form the year specified.
  
  @param year  a year
  @return an Integer array