DateHistogramAgg

fun <T> DateHistogramAgg(    field: FieldOperations<T>,     interval: DateHistogramAgg.Interval,     offset: FixedInterval? = null,     minDocCount: Long? = null,     missing: T? = null,     format: String? = null,     order: List<BucketsOrder> = emptyList(),     extendedBounds: HistogramBounds<T>? = null,     hardBounds: HistogramBounds<T>? = null,     params: Params = Params(),     aggs: Map<String, Aggregation<*>> = emptyMap())
fun <T> DateHistogramAgg(    value: AggValue<T>,     interval: DateHistogramAgg.Interval,     offset: FixedInterval? = null,     minDocCount: Long? = null,     missing: T? = null,     format: String? = null,     order: List<BucketsOrder> = emptyList(),     extendedBounds: HistogramBounds<T>? = null,     hardBounds: HistogramBounds<T>? = null,     params: Params = Params(),     aggs: Map<String, Aggregation<*>> = emptyMap())