docs: protected boolean showMoreEntries(Calendar nextDate, int previousOccurrences) {
  
          switch (getSerialEndType()) {
              case DATE:
                  boolean moreByDate = nextDate.getTimeInMillis() < m_endMillis;
                  boolean moreByOccurrences = previousOccurrences < CmsSerialDateUtil.getMaxEvents();
                  if (moreByDate && !moreByOccurrences) {
                      m_hasTooManyOccurrences = Boolean.TRUE;
                  }
                  return moreByDate && moreByOccurrences;
              case TIMES:
              case SINGLE:
                  return previousOccurrences < getOccurrences();
              default:
                  throw new IllegalArgumentException();
          }
      }