docs: public static long earliestTime(long loadTime, long candidate1, long candidate2) {
      if (candidate1 >= loadTime) {
        if (candidate1 < candidate2 || candidate2 < loadTime) {
          return candidate1;
        }
      }
      if (candidate2 >= loadTime) {
        return candidate2;
      }
      return ETERNAL;
    }