@Test public void now() { for (int i = 0; i < 100; i++) { long micros = DateUtils.now().get(ChronoField.MICRO_OF_SECOND); assertThat(micros % 1000).isEqualTo(0); } }
public static Instant now() { return Instant.now().truncatedTo(ChronoUnit.MILLIS); }
DateUtils { public static Instant now() { return Instant.now().truncatedTo(ChronoUnit.MILLIS); } }
DateUtils { public static Instant now() { return Instant.now().truncatedTo(ChronoUnit.MILLIS); }  }
DateUtils { public static Instant now() { return Instant.now().truncatedTo(ChronoUnit.MILLIS); }  static Instant now(); }
DateUtils { public static Instant now() { return Instant.now().truncatedTo(ChronoUnit.MILLIS); }  static Instant now();  }