Interface DateFilter
- All Superinterfaces:
HasToRequest<DateFilterRequest>,Serializable
Represents a filter for date values.
Only one property can be specified: lt, lte, gt, gte, lastXDays, or olderThanXDays.
minProperties = 1, maxProperties = 1.
-
Method Summary
Modifier and TypeMethodDescriptiongetGt()Returns the greater than date.getGte()Returns the greater than or equal date.Returns the number of last days to filter.getLt()Returns the less than date.getLte()Returns the less than or equal date.Returns the number of days for older-than filtering.Methods inherited from interface HasToRequest
toRequest
-
Method Details
-
getLt
LocalDate getLt()Returns the less than date.- Returns:
- the less than date, or null if not specified
-
getLte
LocalDate getLte()Returns the less than or equal date.- Returns:
- the less than or equal date, or null if not specified
-
getGt
LocalDate getGt()Returns the greater than date.- Returns:
- the greater than date, or null if not specified
-
getGte
LocalDate getGte()Returns the greater than or equal date.- Returns:
- the greater than or equal date, or null if not specified
-
getLastXDays
Integer getLastXDays()Returns the number of last days to filter.- Returns:
- the number of last days, or null if not specified
-
getOlderThanXDays
Integer getOlderThanXDays()Returns the number of days for older-than filtering.- Returns:
- the number of days, or null if not specified
-