net.alloyggp.tournament.api.TNextMatchesResult Maven / Gradle / Ivy
package net.alloyggp.tournament.api;
import org.joda.time.DateTime;
import com.google.common.base.Optional;
import com.google.common.collect.ImmutableSet;
public interface TNextMatchesResult {
ImmutableSet getMatchesToRun();
Optional getEarliestAllowedStartTime();
/**
* If a restriction on the start time for the matches is defined and
* has not yet passed, returns the number of seconds left until
* that start time. Otherwise, returns zero.
*/
long getSecondsToWaitUntilAllowedStartTime();
}