code: public void setWholeDay(Boolean isWholeDay) {
  
          if (m_model.isWholeDay() ^ ((null != isWholeDay) && isWholeDay.booleanValue())) {
              m_model.setWholeDay(isWholeDay);
              valueChanged();
          }
      }
docs: Sets the whole day flag.
  @param isWholeDay flag, indicating if the event lasts whole days.