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 boolean
equals(Calendar val, Calendar bound)
protected Calendar
getBound(String bound)
protected Calendar
getValue(Value value)
protected boolean
less(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:
getBound
in classNumericConstraint<Calendar>
-
getValue
protected Calendar getValue(Value value) throws RepositoryException
- Specified by:
getValue
in classNumericConstraint<Calendar>
- Throws:
RepositoryException
-
less
protected boolean less(Calendar val, Calendar bound)
- Specified by:
less
in classNumericConstraint<Calendar>
-
equals
protected boolean equals(Calendar val, Calendar bound)
- Overrides:
equals
in classNumericConstraint<Calendar>
-
-