public Optional<Instant> toTime() {
        return toTime;
    }
The ending time point of the query, if specified
@return The specified {@code toTime} of the query.
streams/src/main/java/org/apache/kafka/streams/query/MultiVersionedKeyQuery.java