public LocalDate getValue() {
		String str = textField.getText();
		try {
			return LocalDate.parse(str, dateFormat);
		}
		catch (DateTimeParseException pe) {
			return null;
		}
	}
Sets the maximum allowed date. Can be null.
@param maximum the minimum allowed date.
Ghidra/Framework/Docking/src/main/java/docking/widgets/textfield/LocalDateTextField.java