copy

fun copy(field: QueryField<*> = this.field, alias: String = this.alias, unit: AggregationDateUnit = this.unit, timeZone: String = this.timeZone, dense: Boolean = this.dense, scope: AggregationGroupScope? = this.scope): AggregationGroup.DateHistogram

This DateHistogram with the given values replaced; for Wow's own query rewriting.