code: public void setFlags(int modeOrFlags) {
          // check each flag and pass it on if needed:
          setHideTime((modeOrFlags & FLAG_HIDE_TIME) != 0, isActivityUsingDarkTheme());
          dateSpinner.setFlags(modeOrFlags);
          timeSpinner.setFlags(modeOrFlags);
      }
docs: Set the flags to use for the picker.
  @param modeOrFlags A mode of ReminderDatePicker.MODE_... or multiple ReminderDatePicker.FLAG_...
  combined with the | operator.