code: private void setPickerValue(Date date, boolean fireEvents) {
  
          if (date == null) {
              date = new Date();
          }
          m_picker.setValue(date, fireEvents);
          m_picker.setCurrentMonth(date);
          m_time.setFormValueAsString(CmsDateConverter.cutSuffix(CmsDateConverter.getTime(date)).trim());
          if (CmsDateConverter.isAm(date)) {
              m_ampmGroup.selectButton(m_am);
          } else {
              m_ampmGroup.selectButton(m_pm);
          }
      }
docs: Sets the value of the date picker.<p>
  
  @param date the value to set
  @param fireEvents signals whether the value changed event should be fired or not