@Test public void timeIsValid_whenGivenInTimerFormat() { assertThat(RobotTimeFormat.isValidRobotTimeArgument("10:12")).isTrue(); assertThat(RobotTimeFormat.isValidRobotTimeArgument("12:13")).isTrue(); assertThat(RobotTimeFormat.isValidRobotTimeArgument("0:12:13")).isTrue(); assertThat(RobotTimeFormat.isValidRobotTimeArgument("123:12:13")).isTrue(); assertThat(RobotTimeFormat.isValidRobotTimeArgument("123:12:13.999")).isTrue(); assertThat(RobotTimeFormat.isValidRobotTimeArgument("-123:12:13.999")).isTrue(); }
public static boolean isValidRobotTimeArgument(final String argument) { return isPlainNumber(argument) || isTimeString(argument) || isTimerString(argument); }
RobotTimeFormat { public static boolean isValidRobotTimeArgument(final String argument) { return isPlainNumber(argument) || isTimeString(argument) || isTimerString(argument); } }
RobotTimeFormat { public static boolean isValidRobotTimeArgument(final String argument) { return isPlainNumber(argument) || isTimeString(argument) || isTimerString(argument); }  }
RobotTimeFormat { public static boolean isValidRobotTimeArgument(final String argument) { return isPlainNumber(argument) || isTimeString(argument) || isTimerString(argument); }  static boolean isValidRobotTimeArgument(final String argument); }
RobotTimeFormat { public static boolean isValidRobotTimeArgument(final String argument) { return isPlainNumber(argument) || isTimeString(argument) || isTimerString(argument); }  static boolean isValidRobotTimeArgument(final String argument);  }