Class DateConstraint
- java.lang.Object
-
- org.apache.jackrabbit.oak.plugins.nodetype.constraint.NumericConstraint<Calendar>
-
- org.apache.jackrabbit.oak.plugins.nodetype.constraint.DateConstraint
-
public class DateConstraint extends NumericConstraint<Calendar>
-
-
Constructor Summary
Constructors Constructor Description DateConstraint(String definition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanequals(Calendar val, Calendar bound)protected CalendargetBound(String bound)protected CalendargetValue(Value value)protected booleanless(Calendar val, Calendar bound)-
Methods inherited from class org.apache.jackrabbit.oak.plugins.nodetype.constraint.NumericConstraint
greater, greaterOrEqual, lessOrEqual, test, toString
-
-
-
-
Constructor Detail
-
DateConstraint
public DateConstraint(String definition)
-
-
Method Detail
-
getBound
protected Calendar getBound(String bound)
- Specified by:
getBoundin classNumericConstraint<Calendar>
-
getValue
protected Calendar getValue(Value value) throws RepositoryException
- Specified by:
getValuein classNumericConstraint<Calendar>- Throws:
RepositoryException
-
less
protected boolean less(Calendar val, Calendar bound)
- Specified by:
lessin classNumericConstraint<Calendar>
-
equals
protected boolean equals(Calendar val, Calendar bound)
- Overrides:
equalsin classNumericConstraint<Calendar>
-
-