@Test public void toLocalDateTimeTest() { LocalDateTime expectedUnixEpochZero = LocalDateTime.of(1970, 1, 1, 0, 0); LocalDateTime expectedOneTwoThree = LocalDateTime.of(2009, 2, 13, 23, 31, 30); long inputUnixEpochZero = 0L; long inputOneTwoThree = 1234567890000L; AssertJUnit.assertEquals(expectedUnixEpochZero, TimeFormatConversion.toLocalDateTime(inputUnixEpochZero)); AssertJUnit.assertEquals(expectedOneTwoThree, TimeFormatConversion.toLocalDateTime(inputOneTwoThree)); }
public static LocalDateTime toLocalDateTime(long epochMillis) { return LocalDateTime.ofInstant(Instant.ofEpochMilli(epochMillis), ZoneOffset.UTC); }
TimeFormatConversion { public static LocalDateTime toLocalDateTime(long epochMillis) { return LocalDateTime.ofInstant(Instant.ofEpochMilli(epochMillis), ZoneOffset.UTC); } }
TimeFormatConversion { public static LocalDateTime toLocalDateTime(long epochMillis) { return LocalDateTime.ofInstant(Instant.ofEpochMilli(epochMillis), ZoneOffset.UTC); }  }
TimeFormatConversion { public static LocalDateTime toLocalDateTime(long epochMillis) { return LocalDateTime.ofInstant(Instant.ofEpochMilli(epochMillis), ZoneOffset.UTC); }  static long toEpochMilli(LocalDateTime time); static LocalDateTime toLocalDateTime(long epochMillis); }
TimeFormatConversion { public static LocalDateTime toLocalDateTime(long epochMillis) { return LocalDateTime.ofInstant(Instant.ofEpochMilli(epochMillis), ZoneOffset.UTC); }  static long toEpochMilli(LocalDateTime time); static LocalDateTime toLocalDateTime(long epochMillis);  }