docs: String getFormattedDate(CmsDateFormatOption formatOption) {
  
          if (null == formatOption) {
              return getFormattedDate(DateFormat.SHORT);
          }
          String result;
          if (isWholeDay()) {
              result = formatOption.formatDate(getStart());
              if (getLastDay().after(getStart())) {
                  String to = formatOption.formatDate(getLastDay());
                  if (!to.isEmpty()) {
                      result += DATE_SEPARATOR + to;
                  }
              }
          } else {
              result = formatOption.formatDateTime(getStart());
              if (getEnd().after(getStart())) {
                  String to;
                  if (isMultiDay()) {
                      to = formatOption.formatDateTime(getEnd());
                  } else {
                      to = formatOption.formatTime(getEnd());
                  }
                  if (!to.isEmpty()) {
                      result += DATE_SEPARATOR + to;
                  }
              }
          }
  
          return result;
      }