T - The final type of the builder.S - The type of the date that the property supports.public interface InstantLikeProperty<T extends QBuilder<T>,S> extends EquitableProperty<T,S>
| Modifier and Type | Method and Description |
|---|---|
Condition<T> |
after(S dateTime,
boolean exclusive)
Mandates that the date-like field must be after the provided date
|
Condition<T> |
before(S dateTime,
boolean exclusive)
Mandates that the date-like field must be before the provided date
|
Condition<T> |
between(S after,
boolean exclusiveAfter,
S before,
boolean exclusiveBefore)
Mandates that the date-like field must be within the provided range.
|
eq, nedoesNotExist, existsCondition<T> before(S dateTime, boolean exclusive)
dateTime - The date-like representation that it should occur before.exclusive - True if the query should not match the provided date, false if it should.Condition<T> after(S dateTime, boolean exclusive)
dateTime - The date-like representation that it should occur after.exclusive - True if the query should not match the provided date, false if it should.Condition<T> between(S after, boolean exclusiveAfter, S before, boolean exclusiveBefore)
after - The date-like representation that it should occur after.exclusiveAfter - True if the query should not match the provided date, false if it should.before - The date-like representation that it should occur before.exclusiveBefore - True if the query should not match the provided date, false if it should.Copyright © 2017. All rights reserved.