Class DateTimeRangePickerValidator
java.lang.Object
com.flowingcode.vaadin.addons.datetimerangepicker.ui.DateTimeRangePickerValidator
- All Implemented Interfaces:
Validator<DateTimeRange>,Serializable,BiFunction<DateTimeRange,ValueContext, ValidationResult>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(DateTimeRange data, ValueContext valueContext) booleanisValid()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiFunction
andThen
-
Constructor Details
-
DateTimeRangePickerValidator
-
-
Method Details
-
apply
- Specified by:
applyin interfaceBiFunction<DateTimeRange,ValueContext, ValidationResult> - Specified by:
applyin interfaceValidator<DateTimeRange>
-
isValid
public boolean isValid()
-