DateTime { public void setDateTime(int year, int month, int day, int hour, int minute, int second) { dateTime = LocalDateTime.of(year, month, day, hour, minute, second); } DateTime();  DateTime(int year, int month, int day, int hour, int minute, int second); String getDateTime(); String getDate(); String getTime(); void setDateTime(int year, int month, int day, int hour, int minute, int second); void setDate(int year, int month, int day); void setTime(int hour, int minute, int second); long getTimeInMillisec(); long getTimeInMillisec(int year, int month, int day, int hour, int minute, int second); @Override String toString();  }
@Test public void setDateTime() throws Exception { dateTime.setDateTime(2016, 8, 21, 12, 30, 45); System.out.println(dateTime.getDateTime()); }