Class DateRangeValidator
java.lang.Object
com.vaadin.featurepack.data.validator.AbstractValidator<Date>
com.vaadin.featurepack.data.validator.RangeValidator<Date>
com.vaadin.featurepack.data.validator.DateRangeValidator
- All Implemented Interfaces:
Validator,Serializable
Validator for validating that a Date is inside a given range.
Note that the comparison is done directly on the Date object so take care that the hours/minutes/seconds/milliseconds of the min/max values are properly set.
- Author:
- Vaadin Ltd.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.vaadin.featurepack.data.Validator
Validator.EmptyValueException, Validator.InvalidValueException -
Constructor Summary
ConstructorsConstructorDescriptionDateRangeValidator(String errorMessage, Date minValue, Date maxValue, Resolution resolution) Creates a validator for checking that an Date is within a given range. -
Method Summary
Methods inherited from class com.vaadin.featurepack.data.validator.RangeValidator
getMaxValue, getMinValue, getType, isMaxValueIncluded, isMinValueIncluded, isValidValue, setMaxValue, setMaxValueIncluded, setMinValue, setMinValueIncludedMethods inherited from class com.vaadin.featurepack.data.validator.AbstractValidator
getErrorMessage, isValid, isValidType, setErrorMessage, validate
-
Constructor Details