/// <summary> /// Sets the ended date. /// </summary> public void setEnded() { Ended = Started?.AddMinutes(Delta + Interrupt); }