org.gcube.contentmanagement.contentmanager.stubs.model.predicates
Class Date
java.lang.Object
org.gcube.contentmanagement.contentmanager.stubs.model.predicates.LeafPredicate<java.util.Date,Constraint<? super java.util.Date>>
org.gcube.contentmanagement.contentmanager.stubs.model.predicates.Date
- All Implemented Interfaces:
- java.io.Serializable, Predicate
public final class Date
- extends LeafPredicate<java.util.Date,Constraint<? super java.util.Date>>
Asserts that a leaf has a date value that satisfies a given constraint.
- Author:
- Fabio Simeoni (University of Strathclyde)
- See Also:
- Serialized Form
Field Summary |
static java.text.DateFormat |
ISO8601formatter
Formatter for ISO8601. |
Constructor Summary |
Date(Constraint<? super java.util.Date> c)
Creates an instance with a given constraint. |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
ISO8601formatter
public static java.text.DateFormat ISO8601formatter
- Formatter for ISO8601.
Date
public Date(Constraint<? super java.util.Date> c)
- Creates an instance with a given constraint.
- Parameters:
c
- the constraint.