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