org.gcube.contentmanagement.contentmanager.stubs.model.predicates
Class Date

java.lang.Object
  extended by org.gcube.contentmanagement.contentmanager.stubs.model.predicates.LeafPredicate<java.util.Date,Constraint<? super java.util.Date>>
      extended by 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.
 
Method Summary
 
Methods inherited from class org.gcube.contentmanagement.contentmanager.stubs.model.predicates.LeafPredicate
constraint, equals, hashCode, matches, prune, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ISO8601formatter

public static java.text.DateFormat ISO8601formatter
Formatter for ISO8601.

Constructor Detail

Date

public Date(Constraint<? super java.util.Date> c)
Creates an instance with a given constraint.

Parameters:
c - the constraint.