Interface DateExpression

    • Method Detail

      • from

        Predicate from​(Instant fromInclusive)
        Returns a Predicate specifying the period including and after a given instant.
        Parameters:
        fromInclusive - starting instant of the predicate
        Returns:
        the Predicate
      • before

        Predicate before​(Instant beforeNotInclusive)
        Returns a Predicate specifying the period before a given instant.
        Parameters:
        beforeNotInclusive - end of period, not included
        Returns:
        the Predicate
      • between

        Predicate between​(Instant fromInclusive,
                          Instant beforeNotInclusive)
        Returns a Predicate specifying the period between two different instants. The first instant will be included in the period, while the second will not.
        Parameters:
        fromInclusive - starting instant of the predicate, inclusive
        beforeNotInclusive - end of period, not inclusive
        Returns:
        the Predicate
      • from

        Predicate from​(LocalDateTime fromInclusive)
        Returns a Predicate specifying the period including and after a given instant.
        Parameters:
        fromInclusive - starting instant of the predicate
        Returns:
        the Predicate
      • before

        Predicate before​(LocalDateTime beforeNotInclusive)
        Returns a Predicate specifying the period before a given instant.
        Parameters:
        beforeNotInclusive - end of period, not included
        Returns:
        the Predicate
      • between

        Predicate between​(LocalDateTime fromInclusive,
                          LocalDateTime beforeNotInclusive)
        Returns a Predicate specifying the period between two different instants. The first instant will be included in the period, while the second will not.
        Parameters:
        fromInclusive - starting instant of the predicate, inclusive
        beforeNotInclusive - end of period, not inclusive
        Returns:
        the Predicate
      • from

        Predicate from​(Date fromInclusive)
        Returns a Predicate specifying the period including and after a given instant.
        Parameters:
        fromInclusive - starting instant of the predicate
        Returns:
        the Predicate
      • before

        Predicate before​(Date beforeNotInclusive)
        Returns a Predicate specifying the period before a given instant.
        Parameters:
        beforeNotInclusive - end of period, not included
        Returns:
        the Predicate
      • between

        Predicate between​(Date fromInclusive,
                          Date beforeNotInclusive)
        Returns a Predicate specifying the period between two different instants. The first instant will be included in the period, while the second will not.
        Parameters:
        fromInclusive - starting instant of the predicate, inclusive
        beforeNotInclusive - end of period, not inclusive
        Returns:
        the Predicate