JavaScript is disabled on your browser.
javax.mail.search

Class SentDateTerm

  • All Implemented Interfaces:
    java.io.Serializable


    public final class SentDateTerm
    extends DateTerm 
    A comparison of message sent dates.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors
      Constructor and Description
      SentDateTerm (int comparison, java.util.Date date)
      Constructor.
    • Method Summary

      Methods
      Modifier and Type Method and Description
      boolean equals (java.lang.Object other)
      boolean match (Message msg)
      Returns true only if the given message's sent date matches the specified date using the specified operator.
      • Methods inherited from class java.lang.Object

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

      • SentDateTerm

        public SentDateTerm(int comparison,
         java.util.Date date)
        Constructor.
        Parameters:
        comparison - the comparison operator
        date - the date for comparison
    • Method Detail

      • match

        public boolean match(Message msg)
        Returns true only if the given message's sent date matches the specified date using the specified operator.
        Specified by:
        match in class SearchTerm
      • equals

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

AltStyle によって変換されたページ (->オリジナル) /