public ConditionFactory between(long atLeastDuration, TimeUnit atLeastTimeUnit, long atMostDuration, TimeUnit atMostTimeUnit) {
        return between(new Duration(atLeastDuration, atLeastTimeUnit), new Duration(atMostDuration, atMostTimeUnit));
    }
public ConditionFactory between(long atLeastDuration, TimeUnit atLeastTimeUnit, long atMostDuration, TimeUnit atMostTimeUnit) {
        return between(new Duration(atLeastDuration, atLeastTimeUnit), new Duration(atMostDuration, atMostTimeUnit));
    }
public ConditionFactory between ( long atLeastDuration , TimeUnit atLeastTimeUnit , long atMostDuration , TimeUnit atMostTimeUnit ) { return between ( new Duration ( atLeastDuration , atLeastTimeUnit ) , new Duration ( atMostDuration , atMostTimeUnit ) ) ; }
Specifies the duration window which has to be satisfied during operation execution. In case operation is executed
before <code>atLeastDuration</code> or after <code>atMostDuration</code> timeout exception is thrown.

@param atLeastDuration lower part of execution window
@param atMostDuration  upper part of execution window
@return the condition factory
Specifies the duration window which has to be satisfied during operation execution . In case operation is executed before <code > atLeastDuration< / code > or after <code > atMostDuration< / code > timeout exception is thrown .