private static boolean isValidDate(LocalDate date) {
		if (date == null) {
			return false;
		}

		// Ensure parameter date isn't the default (invalid) date:

		// ... by object equality
		if (date == DateColumnConstraintProvider.DEFAULT_DATE) {
			return false;
		}

		// ... and manual construction
		// epochDay are the number of days since the epoch (1/1/1970)
		return date.toEpochDay() != DateColumnConstraintProvider.DEFAULT_DATE.toEpochDay();
	}
Constructor.

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