@Test public void toEpochMilliTest() { LocalDateTime unixEpoch = LocalDateTime.of(1970, 1, 1, 0, 0); LocalDateTime oneTwoThree = LocalDateTime.of(2009, 2, 13, 23, 31, 30); AssertJUnit.assertEquals(1234567890000L, TimeFormatConversion.toEpochMilli(oneTwoThree)); AssertJUnit.assertEquals(0L, TimeFormatConversion.toEpochMilli(unixEpoch)); }
public static long toEpochMilli(LocalDateTime time) { Objects.requireNonNull(time); return time.toInstant(ZoneOffset.UTC).toEpochMilli(); }
TimeFormatConversion { public static long toEpochMilli(LocalDateTime time) { Objects.requireNonNull(time); return time.toInstant(ZoneOffset.UTC).toEpochMilli(); } }
TimeFormatConversion { public static long toEpochMilli(LocalDateTime time) { Objects.requireNonNull(time); return time.toInstant(ZoneOffset.UTC).toEpochMilli(); }  }
TimeFormatConversion { public static long toEpochMilli(LocalDateTime time) { Objects.requireNonNull(time); return time.toInstant(ZoneOffset.UTC).toEpochMilli(); }  static long toEpochMilli(LocalDateTime time); static LocalDateTime toLocalDateTime(long epochMillis); }
TimeFormatConversion { public static long toEpochMilli(LocalDateTime time) { Objects.requireNonNull(time); return time.toInstant(ZoneOffset.UTC).toEpochMilli(); }  static long toEpochMilli(LocalDateTime time); static LocalDateTime toLocalDateTime(long epochMillis);  }