final CharSequence end = requestTime(query.timeEnd, timeZone);
final CharSequence maxRecords =
query.maxRecords <= 0 ? "" : "" + query.maxRecords;
final DDF_QueryOrder resultOrder = query.resultOrder;
final CharSequence order =
resultOrder == null ? ASCENDING.code : resultOrder.code;
final CharSequence interval =
query.groupBy <= 1 ? "1" : "" + query.groupBy;