public static long elapsed(long started, long finished) {
    return Times.elapsed(started, finished, true);
  }
@Test
  void testNegativeStartTimes() {
    long elapsed = Times.elapsed(-5, 10, true);
    assertEquals(0, elapsed, "Elapsed time is not 0");
    elapsed = Times.elapsed(-5, 10, false);
    assertEquals(-1, elapsed, "Elapsed time is not -1");
  }