Class DateRangeQuery.DateRange

  • Enclosing class:
    DateRangeQuery

    @Deprecated
    public static class DateRangeQuery.DateRange
    extends Range<Date>
    Deprecated.
    since 5.10, use Range instead
    Class to represent a date range. Inclusion/exclusion of bounds is settable. Immutable.
    • Constructor Detail

      • DateRange

        public DateRange​(@Nullable Date from,
                         @Nullable Date to,
                         boolean includeFrom,
                         boolean includeTo)
        Deprecated.
        Construct a DateRange object.
        Parameters:
        from - The date from which this date range begins (can be null)
        to - The date on which this date range ends (can be null)
        includeFrom - Whether or not the "from date" is inclusive
        includeTo - Whether or not the "to date" is inclusive