Package com.enonic.xp.query.aggregation

## Class DateRange

- java.lang.Object
- - com.enonic.xp.query.aggregation.Range
  - - com.enonic.xp.query.aggregation.DateRange

-     @PublicApi
      public final class DateRange
      extends Range

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---
    `static class` | `DateRange.Builder` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `DateRange​(DateRange.Builder builder)` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static DateRange.Builder` | `create()` |
    `Object` | `getFrom()` |
    `Object` | `getTo()` |
    `String` | `toString()` |

    - ### Methods inherited from class com.enonic.xp.query.aggregation.Range

      `getKey`

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

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

- - ### Constructor Detail

    - #### DateRange

          public DateRange​(DateRange.Builder builder)

  - ### Method Detail

    - #### getFrom

          public Object getFrom()

    - #### getTo

          public Object getTo()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### create

          public static DateRange.Builder create()