public setTo(to?: number): TimestampRange {
        this.to = to == null ? CommandKeyword.MAX_TIMESTAMP : this.validateTimestamp(to);
        return this;
    }