com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class DateComparisonField



  • public final class DateComparisonField
    extends ComparisonField

    Represents the date search field.

    • Method Detail

      • before

        public MailQuery before(Date value)

        Indicates that the date in message must be earlier than the specified date.

        Parameters:
        value - The value.
        Returns:
        MailQuery that represents search query (one searching criterion).
      • before

        public MailQuery before(Date value,
                       int comparisonType)

        Indicates that the date in message must be earlier than the specified date.

        Parameters:
        value - The value.
        comparisonType - Specifies a type of comparison
        Returns:
        MailQuery that represents search query (one searching criterion).
      • beforeOrEqual

        public MailQuery beforeOrEqual(Date value)

        Indicates that the date in message must be earlier or equel to the specified date.

        Parameters:
        value - The value.
        Returns:
        MailQuery that represents search query (one searching criterion).
      • beforeOrEqual

        public MailQuery beforeOrEqual(Date value,
                              int comparisonType)

        Indicates that the date in message must be earlier or equel to the specified date.

        Parameters:
        value - The value.
        comparisonType - Specifies a type of comparison
        Returns:
        MailQuery that represents search query (one searching criterion).
      • since

        public MailQuery since(Date value)

        Indicates that date in message must be within or later than the specified date.

        Parameters:
        value - The value.
        Returns:
        MailQuery that represents search query (one searching criterion).
      • greater

        public MailQuery greater(Date value)

        Indicates that date in message must be later than the specified date.

        Parameters:
        value - The value.
        Returns:
        MailQuery that represents search query (one searching criterion).
      • greater

        public MailQuery greater(Date value,
                        int comparisonType)

        Indicates that date in message must be later than the specified date.

        Parameters:
        value - The value.
        comparisonType - Specifies a type of comparison
        Returns:
        MailQuery that represents search query (one searching criterion).
      • since

        public MailQuery since(Date value,
                      int comparisonType)

        Indicates that date in message must be within or later than the specified date.

        Parameters:
        value - The value.
        comparisonType - Specifies a type of comparison
        Returns:
        MailQuery that represents search query (one searching criterion).
      • on

        public MailQuery on(Date value)

        Indicates that the date in message must be within the specified date.

        Parameters:
        value - The value.
        Returns:
        MailQuery that represents search query (one searching criterion).
      • on

        public MailQuery on(Date value,
                   int comparisonType)

        Indicates that the date in message must be within the specified date.

        Parameters:
        value - The value.
        comparisonType - Specifies a type of comparison
        Returns:
        MailQuery that represents search query (one searching criterion).
      • notOn

        public MailQuery notOn(Date value)

        Indicates that the date in message must not be in the specified date.

        Parameters:
        value - The value.
        Returns:
        MailQuery that represents search query (one searching criterion).
      • notOn

        public MailQuery notOn(Date value,
                      int comparisonType)

        Indicates that the date in message must not be in the specified date.

        Parameters:
        value - The value.
        comparisonType - Specifies a type of comparison
        Returns:
        MailQuery that represents search query (one searching criterion).