@DefaultNonNull public final class MaxMinDateValidator extends Object implements IValueValidator<Date>
| Modifier and Type | Class and Description |
|---|---|
static class |
MaxMinDateValidator.Builder
Builder class for assigning minimum / maximum dates and there's error messages
The min or max date is mandatory, messages are optional.
|
| Modifier and Type | Method and Description |
|---|---|
void |
validate(Date input)
Validates min / max dates against given date INCLUSIVE bound
|
public void validate(@Nullable Date input) throws Exception
validate in interface IValueValidator<Date>ExceptionIValueValidator.validate(java.lang.Object)Copyright © 2017 etc.to. All rights reserved.