Package com.collibra.dgc.core.api.model.meta.path

# Interface DateFilter

All Superinterfaces:
  `HasToRequest<DateFilterRequest>`, `Serializable`

public interface DateFilter extends 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 Type
  Method
  Description
  `LocalDate`
  `getGt()`
  Returns the greater than date.
  `LocalDate`
  `getGte()`
  Returns the greater than or equal date.
  `Integer`
  `getLastXDays()`
  Returns the number of last days to filter.
  `LocalDate`
  `getLt()`
  Returns the less than date.
  `LocalDate`
  `getLte()`
  Returns the less than or equal date.
  `Integer`
  `getOlderThanXDays()`
  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