TimeUtil { public static String timestamp2ISODate(long timestamp) { return ISODateTimeFormat.dateTimeNoMillis().print(timestamp); } private  TimeUtil(); static long str2Time(String timeStr); static String timestamp2ISODate(long timestamp); static long parse(String window);  }
@Test public void testtimestamp2ISODate() { String x = TimeUtil.timestamp2ISODate(1522312041200l); System.out.println(x); Assert.assertNotNull(x); }