enable tb to return just max or min time

maybe we can result TimeBoundaryQuery.buildResult here?