EntityT
- Type of the entity which references the value.public interface FilterableDate<EntityT> extends FilterableValue<EntityT,LocalDate>
Modifier and Type | Interface and Description |
---|---|
static class |
FilterableDate.Expression<EntityT>
Wrapper expression class, which delegates to another operation.
|
Modifier and Type | Method and Description |
---|---|
default FilterableDate<EntityT> |
add(Duration operand)
Filter by expression "add".
|
default FilterableDate<EntityT> |
add(FilterableDuration<EntityT> operand)
Filter by expression "add".
|
default FilterableNumericInteger<EntityT> |
dateDay()
Filter by expression "day".
|
default FilterableNumericInteger<EntityT> |
dateMonth()
Filter by expression "month".
|
default FilterableNumericInteger<EntityT> |
dateYear()
Filter by expression "year".
|
default FilterableDuration<EntityT> |
difference(FilterableDate<EntityT> operand)
Filter by expression "sub".
|
default FilterableDuration<EntityT> |
difference(LocalDate operand)
Filter by expression "sub".
|
default FilterableDate<EntityT> |
subtract(Duration operand)
Filter by expression "sub".
|
default FilterableDate<EntityT> |
subtract(FilterableDuration<EntityT> operand)
Filter by expression "sub".
|
equalTo, equalTo, greaterThan, greaterThan, greaterThanEqual, greaterThanEqual, lessThan, lessThan, lessThanEqual, lessThanEqual, notEqualTo, notEqualTo
getExpression, getExpression
getEntityType
@Nonnull default FilterableNumericInteger<EntityT> dateDay()
@Nonnull default FilterableNumericInteger<EntityT> dateMonth()
@Nonnull default FilterableNumericInteger<EntityT> dateYear()
@Nonnull default FilterableDate<EntityT> add(@Nonnull FilterableDuration<EntityT> operand)
operand
- The duration to add to the date expression.@Nonnull default FilterableDate<EntityT> add(@Nonnull Duration operand)
operand
- The duration to ad to the date expression.@Nonnull default FilterableDate<EntityT> subtract(@Nonnull FilterableDuration<EntityT> operand)
operand
- The duration to subtract from the date.@Nonnull default FilterableDate<EntityT> subtract(@Nonnull Duration operand)
operand
- The duration to subtract from the date.@Nonnull default FilterableDuration<EntityT> difference(@Nonnull FilterableDate<EntityT> operand)
operand
- The other date to calculate the difference from.@Nonnull default FilterableDuration<EntityT> difference(@Nonnull LocalDate operand)
operand
- The other date to calculate the difference from.Copyright © 2020 SAP SE. All rights reserved.