ends

open fun ends(): THIS

(DOC) Truncates each object to only its end time.

The new interval is just the end time, whether the original interval included the end or not. Each object's content is unchanged.