ejb3/src/main/java/org/jboss/as/ejb3/timerservice/TimerServiceImpl.java
@Override
    public Timer createTimer(long duration, Serializable info) throws IllegalArgumentException, IllegalStateException,
            EJBException {
        assertTimerServiceState();
        if (duration < 0)
            throw EJB3_TIMER_LOGGER.invalidDurationTimer();
        return createTimer(new Date(System.currentTimeMillis() + duration), 0, info, true);
    }
@Override
    public Timer createTimer(long duration, Serializable info) throws IllegalArgumentException, IllegalStateException,
            EJBException {
        assertTimerServiceState();
        if (duration < 0)
            throw EJB3_TIMER_LOGGER.invalidDurationTimer();
        return createTimer(new Date(System.currentTimeMillis() + duration), 0, info, true);
    }
@ Override public Timer createTimer ( long duration , Serializable info ) throws IllegalArgumentException , IllegalStateException , EJBException { assertTimerServiceState ( ) ; if ( duration < 0 ) throw EJB3_TIMER_LOGGER . invalidDurationTimer ( ) ; return createTimer ( new Date ( System . currentTimeMillis ( ) + duration ) , 0 , info , true ) ; }
{@inheritDoc}
{