if (this.end - max != 0 || !this.end && !this.endOrigin) newTime["end"] = max;