public final class DateComparisonField extends ComparisonField
Represents the date search field.
FieldName, owner
Modifier and Type | Method and Description |
---|---|
MailQuery |
before(Date value)
Indicates that the date in message must be earlier than the specified date.
|
MailQuery |
before(Date value,
int comparisonType)
Indicates that the date in message must be earlier than the specified date.
|
MailQuery |
beforeOrEqual(Date value)
Indicates that the date in message must be earlier or equel to the specified date.
|
MailQuery |
beforeOrEqual(Date value,
int comparisonType)
Indicates that the date in message must be earlier or equel to the specified date.
|
MailQuery |
greater(Date value)
Indicates that date in message must be later than the specified date.
|
MailQuery |
greater(Date value,
int comparisonType)
Indicates that date in message must be later than the specified date.
|
MailQuery |
notOn(Date value)
Indicates that the date in message must not be in the specified date.
|
MailQuery |
notOn(Date value,
int comparisonType)
Indicates that the date in message must not be in the specified date.
|
MailQuery |
on(Date value)
Indicates that the date in message must be within the specified date.
|
MailQuery |
on(Date value,
int comparisonType)
Indicates that the date in message must be within the specified date.
|
MailQuery |
since(Date value)
Indicates that date in message must be within or later than the specified date.
|
MailQuery |
since(Date value,
int comparisonType)
Indicates that date in message must be within or later than the specified date.
|
createKey, createKey
public final MailQuery before(Date value)
Indicates that the date in message must be earlier than the specified date.
value
- The value.MailQuery
that represents search query (one searching criterion).public final MailQuery before(Date value, int comparisonType)
Indicates that the date in message must be earlier than the specified date.
value
- The value.comparisonType
- Specifies a type of comparisonMailQuery
that represents search query (one searching criterion).public final MailQuery beforeOrEqual(Date value)
Indicates that the date in message must be earlier or equel to the specified date.
value
- The value.MailQuery
that represents search query (one searching criterion).public final MailQuery beforeOrEqual(Date value, int comparisonType)
Indicates that the date in message must be earlier or equel to the specified date.
value
- The value.comparisonType
- Specifies a type of comparisonMailQuery
that represents search query (one searching criterion).public final MailQuery since(Date value)
Indicates that date in message must be within or later than the specified date.
value
- The value.MailQuery
that represents search query (one searching criterion).public final MailQuery greater(Date value)
Indicates that date in message must be later than the specified date.
value
- The value.MailQuery
that represents search query (one searching criterion).public final MailQuery greater(Date value, int comparisonType)
Indicates that date in message must be later than the specified date.
value
- The value.comparisonType
- Specifies a type of comparisonMailQuery
that represents search query (one searching criterion).public final MailQuery since(Date value, int comparisonType)
Indicates that date in message must be within or later than the specified date.
value
- The value.comparisonType
- Specifies a type of comparisonMailQuery
that represents search query (one searching criterion).public final MailQuery on(Date value)
Indicates that the date in message must be within the specified date.
value
- The value.MailQuery
that represents search query (one searching criterion).public final MailQuery on(Date value, int comparisonType)
Indicates that the date in message must be within the specified date.
value
- The value.comparisonType
- Specifies a type of comparisonMailQuery
that represents search query (one searching criterion).public final MailQuery notOn(Date value)
Indicates that the date in message must not be in the specified date.
value
- The value.MailQuery
that represents search query (one searching criterion).