提交 19b52dd0 authored 作者: Thomas Mueller's avatar Thomas Mueller

Print current time.

上级 28bec641
...@@ -471,7 +471,9 @@ public abstract class TestBase { ...@@ -471,7 +471,9 @@ public abstract class TestBase {
* @param s the message * @param s the message
*/ */
static void printlnWithTime(long millis, String s) { static void printlnWithTime(long millis, String s) {
System.out.println(formatTime(millis) + " " + s); SimpleDateFormat dateFormat = new SimpleDateFormat("HH:mm:ss");
s = dateFormat.format(new java.util.Date()) + " " + formatTime(millis) + " " + s;
System.out.println(s);
} }
/** /**
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论