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

Class ReceivedDateTerm

  • All Implemented Interfaces:
    java.io.Serializable


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

      Constructors
      Constructor and Description
      ReceivedDateTerm (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 received date matches this term.
      • Methods inherited from class java.lang.Object

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

      • ReceivedDateTerm

        public ReceivedDateTerm(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 received date matches this term.
        Specified by:
        match in class SearchTerm
      • equals

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

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