Interface DatePeriodExpression

  • All Superinterfaces:
    Expression

    public interface DatePeriodExpression
    extends Expression
    An expression for searching in a date period, typically the validity of a document.
    • Method Detail

      • all

        DatePeriodPredicate all()
        Returns a DatePeriodPredicate matching all date periods.
        Returns:
        the DatePeriodPredicate
      • includingCurrent

        DatePeriodPredicate includingCurrent()
        Returns a DatePeriodPredicate matching all current objects. The returned predicate can be configured further, to include other objects as well.
        Returns:
        the DatePeriodPredicate
      • includingExpired

        DatePeriodPredicate includingExpired()
        Returns a DatePeriodPredicate matching all expired objects. The returned predicate can be configured further, to include other objects as well.
        Returns:
        the DatePeriodPredicate
      • includingFuture

        DatePeriodPredicate includingFuture()
        Returns a DatePeriodPredicate matching all future objects (objects that have yet to become valid). The returned predicate can be configured further, to include other objects as well.
        Returns:
        the DatePeriodPredicate