Class DateRangeQuery

    • Field Detail

      • _includeFrom

        protected boolean _includeFrom
        True to include the lower end, false to exclude it.
      • _includeTo

        protected boolean _includeTo
        True to include the upper end, false to exclude it.
    • Constructor Detail

      • DateRangeQuery

        public DateRangeQuery​(String fieldPath,
                              LocalDate from,
                              LocalDate to)
        Build a date range query.
        Parameters:
        fieldPath - The field path.
        from - The lower end of the range.
        to - The upper end of the range.
      • DateRangeQuery

        public DateRangeQuery​(String fieldPath,
                              AdaptableDate from,
                              AdaptableDate to)
        Build a date range query.
        Parameters:
        fieldPath - The field path.
        from - The lower end of the range.
        to - The upper end of the range.
      • DateRangeQuery

        public DateRangeQuery​(String fieldPath,
                              LocalDate from,
                              LocalDate to,
                              boolean includeFrom,
                              boolean includeTo)
        Build a date range query.
        Parameters:
        fieldPath - The field path.
        from - The lower end of the range.
        to - The upper end of the range.
        includeFrom - Whether to include the lower end or not.
        includeTo - Whether to include the upper end or not.
      • DateRangeQuery

        public DateRangeQuery​(String fieldPath,
                              AdaptableDate from,
                              AdaptableDate to,
                              boolean includeFrom,
                              boolean includeTo)
        Build a date range query.
        Parameters:
        fieldPath - The field path.
        from - The lower end of the range.
        to - The upper end of the range.
        includeFrom - Whether to include the lower end or not.
        includeTo - Whether to include the upper end or not.