private static void markSpinnerAsValid(DateSpinner spinner, boolean valid) {
		spinner.getDateField()
				.getTextField()
				.setBackground(
					valid ? VALID_INPUT_COLOR : INVALID_INPUT_COLOR);
	}
Constructor.

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