All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.alloyggp.tournament.api.NextMatchesResult Maven / Gradle / Ivy

There is a newer version: 0.1.0
Show newest version
package net.alloyggp.tournament.api;

import java.time.ZonedDateTime;
import java.util.Optional;

import com.google.common.collect.ImmutableSet;

public interface NextMatchesResult {

    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();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy