private void initUpperSpinner(LocalDate value, LocalDate rangeMin, LocalDate rangeMax) {

		upperSpinnerModel =
			new LocalDateSpinnerModel(value, rangeMin, rangeMax, Calendar.DAY_OF_MONTH);
		upperSpinner = new DateSpinner(upperSpinnerModel, DateValueConstraintEditor.DATE_PATTERN);
		upperSpinner.getSpinner().setName("upper.date.spinner");

		upperSpinner.addChangeListener(e -> {
			valueChanged();
		});

	}
Constructor.

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