Class DateTerm

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected DateTerm​(int comparison, java.util.Date date)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object other)  
      int getComparison()
      Returns the comparison operator.
      java.util.Date getDate()
      Returns the date to compare with.
      int hashCode()  
      protected boolean match​(java.util.Date d)
      Returns true only if this comparison matches the supplied date.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • date

        protected java.util.Date date
        The date.
    • Constructor Detail

      • DateTerm

        protected DateTerm​(int comparison,
                           java.util.Date date)
        Constructor.
        Parameters:
        comparison - the comparison type
        date - the date
    • Method Detail

      • getDate

        public java.util.Date getDate()
        Returns the date to compare with.
      • getComparison

        public int getComparison()
        Returns the comparison operator.
      • match

        protected boolean match​(java.util.Date d)
        Returns true only if this comparison matches the supplied date.
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class ComparisonTerm