public class DateRangeValidator extends Validator
factoryCreated, factoryProperties
Constructor and Description |
---|
DateRangeValidator() |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
getExclusive()
Return the exclusive setting.
|
java.util.Date |
getMax()
Return the max.
|
java.util.Date |
getMin()
Return the min.
|
void |
setExclusive(java.lang.Boolean exclusive)
Set the exclusive flag - when true, causes values that equal the min or max values to
fail validation.
|
void |
setMax(java.util.Date max)
Set the max.
|
void |
setMin(java.util.Date min)
Set the min.
|
addValidatorDefinition, create, getApplyWhen, getCheckComponentData, getClientOnly, getCondition, getDependentFields, getOrCreateRef, getStopIfFalse, getStopOnError, getType, getTypeAsString, getValidateOnChange, setApplyWhen, setCheckComponentData, setClientOnly, setCondition, setDependentFields, setErrorMessage, setStopIfFalse, setStopOnError, setType, setType, setValidateOnChange
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject, setFactoryCreated
public void setMin(java.util.Date min)
min
- the minpublic java.util.Date getMin()
public void setMax(java.util.Date max)
max
- the maxpublic java.util.Date getMax()
public void setExclusive(java.lang.Boolean exclusive)
exclusive
- whether the valid range is exclusive of the min and maxpublic java.lang.Boolean getExclusive()