private static boolean hasValidValue(DateSpinner spinner) {
		LocalDateTextField textField = spinner.getDateField();
		String text = textField.getTextField().getText();

		LocalDate value = (LocalDate) spinner.getSpinner().getValue();
		String valueString = value.format(LOCAL_DATE_FORMAT);

		return valueString.equals(text);
	}
Constructor.

@param constraint Date constraint for which this component is an editor.
Ghidra/Framework/Docking/src/main/java/docking/widgets/table/constrainteditor/DateRangeConstraintEditor.java