ejb3/src/main/java/org/jboss/as/ejb3/timerservice/TimerImpl.java
public void setNextTimeout(Date next) {
        if(next == null) {
            setTimerState(TimerState.EXPIRED, null);
        }
        this.nextExpiration = next;
    }
public void setNextTimeout(Date next) {
        if(next == null) {
            setTimerState(TimerState.EXPIRED, null);
        }
        this.nextExpiration = next;
    }
Sets the next timeout of this timer

@param next The next scheduled timeout of this timer