Time { public static String formatTime(long millis) { return DATE_FORMAT.get().format(millis); }  static long now(); static long monotonicNow(); static long monotonicNowNanos(); static String formatTime(long millis); static long getUtcTime();  }
@Test public void testFormatTime() { long time = Time.now(); assertEquals(Time.formatTime(time), DATE_FORMAT.get().format(time)); }