code: public void setDuration(Duration duration, Related related) {
  		this.date = null;
  		this.duration = duration;
  		setRelated(related);
  	}
docs: Sets a relative time at which the alarm will trigger.
  @param duration the relative time
  @param related the date-time field that the duration is relative to