DateComparisonField Class

Represents the date search field.
Inheritance Hierarchy

Namespace:  Aspose.Email.Tools.Search
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.11
Syntax
public sealed class DateComparisonField : ComparisonField

The DateComparisonField type exposes the following members.

Methods
  NameDescription
Public methodBefore(DateTime)
Indicates that the date in message must be earlier than the specified date.
Public methodBefore(DateTime, DateComparisonType)
Indicates that the date in message must be earlier than the specified date.
Public methodBeforeOrEqual(DateTime)
Indicates that the date in message must be earlier or equel to the specified date.
Public methodBeforeOrEqual(DateTime, DateComparisonType)
Indicates that the date in message must be earlier or equel to the specified date.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGreater(DateTime)
Indicates that date in message must be later than the specified date.
Public methodGreater(DateTime, DateComparisonType)
Indicates that date in message must be later than the specified date.
Public methodNotOn(DateTime)
Indicates that the date in message must not be in the specified date.
Public methodNotOn(DateTime, DateComparisonType)
Indicates that the date in message must not be in the specified date.
Public methodOn(DateTime)
Indicates that the date in message must be within the specified date.
Public methodOn(DateTime, DateComparisonType)
Indicates that the date in message must be within the specified date.
Public methodOrderBy
Sets value which indicates if client uses ascending or descending sorting on the Field.
(Inherited from ComparisonField.)
Public methodSince(DateTime)
Indicates that date in message must be within or later than the specified date.
Public methodSince(DateTime, DateComparisonType)
Indicates that date in message must be within or later than the specified date.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also