Package com.enonic.xp.aggregation

## Class DateRangeBucket.Builder

- java.lang.Object
- - com.enonic.xp.aggregation.Bucket.Builder<DateRangeBucket.Builder>
  - - com.enonic.xp.aggregation.DateRangeBucket.Builder

- Enclosing class:
    DateRangeBucket

      public static final class DateRangeBucket.Builder
      extends Bucket.Builder<DateRangeBucket.Builder>

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `DateRangeBucket` | `build()` |
    `DateRangeBucket.Builder` | `from​(Instant from)` |
    `DateRangeBucket.Builder` | `to​(Instant to)` |

    - ### Methods inherited from class com.enonic.xp.aggregation.Bucket.Builder

      `addAggregations, docCount, key`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### from

          public DateRangeBucket.Builder from​(Instant from)

    - #### to

          public DateRangeBucket.Builder to​(Instant to)

    - #### build

          public DateRangeBucket build()

      Overrides:
        `build` in class `Bucket.Builder<DateRangeBucket.Builder>`