public void setDurationAfterStart ( ReadableDuration duration ) { long durationMillis = DateTimeUtils . getDurationMillis ( duration ) ; setEndMillis ( FieldUtils . safeAdd ( getStartMillis ( ) , durationMillis ) ) ; }
Sets the duration of this time interval preserving the start instant .