public static class MetadataValidation.DateLessThan extends MetadataValidation.ComparisonRule<java.util.Date>
MetadataValidation.AndValidator, MetadataValidation.ComparisonRule<T>, MetadataValidation.DateGreaterThan, MetadataValidation.DateLessThan, MetadataValidation.IntGreaterThan, MetadataValidation.IntLessThan, MetadataValidation.StringLengthEQUALS, GREATER_THAN, LESS_THAN, MAX, MIN, STRLEN, TYPE, VALUENULL| Constructor and Description |
|---|
DateLessThan(java.util.Date value)
Create a new rule with the given date.
|
DateLessThan(java.util.Date value,
java.lang.Boolean equals)
Create a new rule with the given date.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
putValue(java.util.Date value) |
accumulate, append, doubleToString, get, getBoolean, getDouble, getInt, getJSONArray, getJSONObject, getLong, getNames, getNames, getString, has, increment, isNull, keys, keySet, length, names, numberToString, opt, optBoolean, optBoolean, optDouble, optDouble, optInt, optInt, optJSONArray, optJSONObject, optLong, optLong, optString, optString, put, put, put, put, put, put, put, putOnce, putOpt, quote, quote, remove, similar, stringToValue, testValidity, toJSONArray, toString, toString, valueToString, wrap, writepublic DateLessThan(java.util.Date value)
value - The integer to reference in the rulepublic DateLessThan(java.util.Date value,
java.lang.Boolean equals)
value - The date to reference in the rule.equals - Whether a field value equal to the rule value is considered valid.protected void putValue(java.util.Date value)
putValue in class MetadataValidation.ComparisonRule<java.util.Date>