com.hs.mail.imap.message.search
Class DateKey

java.lang.Object
  extended by com.hs.mail.imap.message.search.SearchKey
      extended by com.hs.mail.imap.message.search.ComparisonKey
          extended by com.hs.mail.imap.message.search.DateKey
Direct Known Subclasses:
InternalDateKey, SentDateKey

public abstract class DateKey
extends ComparisonKey

This class implements search-criteria for Dates.

Since:
Jan 30, 2010
Author:
Won Chul Doh

Field Summary
protected  Date date
           
 
Fields inherited from class com.hs.mail.imap.message.search.ComparisonKey
comparison, EQ, GE, GT, LE, LT, NE
 
Constructor Summary
protected DateKey(int comparison, Date date)
           
 
Method Summary
 boolean equals(Object obj)
           
 Date getDate()
           
 int hashCode()
           
 
Methods inherited from class com.hs.mail.imap.message.search.ComparisonKey
getComparison
 
Methods inherited from class com.hs.mail.imap.message.search.SearchKey
isComposite
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

date

protected Date date
Constructor Detail

DateKey

protected DateKey(int comparison,
                  Date date)
Method Detail

getDate

public Date getDate()

equals

public boolean equals(Object obj)
Overrides:
equals in class ComparisonKey

hashCode

public int hashCode()
Overrides:
hashCode in class ComparisonKey


Copyright © 2011. All Rights Reserved.