code: private void initDatesPanel() {
  
          m_startLabel.setText(Messages.get().key(Messages.GUI_SERIALDATE_TIME_STARTTIME_0));
          m_startTime.setAllowInvalidValue(true);
          m_startTime.setValue(m_model.getStart());
          m_endLabel.setText(Messages.get().key(Messages.GUI_SERIALDATE_TIME_ENDTIME_0));
          m_endTime.setAllowInvalidValue(true);
          m_endTime.setValue(m_model.getEnd());
          m_seriesCheckBox.setText(Messages.get().key(Messages.GUI_SERIALDATE_SERIES_CHECKBOX_0));
          m_wholeDayCheckBox.setText(Messages.get().key(Messages.GUI_SERIALDATE_WHOLE_DAY_CHECKBOX_0));
          m_currentTillEndCheckBox.setText(Messages.get().key(Messages.GUI_SERIALDATE_CURRENT_TILL_END_CHECKBOX_0));
          m_currentTillEndCheckBox.getButton().setTitle(
              Messages.get().key(Messages.GUI_SERIALDATE_CURRENT_TILL_END_CHECKBOX_HELP_0));
      }
docs: Initialize dates panel elements.