### Question:
DateTime { public void setDate(int year, int month, int day) { dateTime = LocalDateTime.of(LocalDate.of(year, month, day), dateTime.toLocalTime()); } 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();  }### Answer:
@Test public void setDate() throws Exception { dateTime.setDate(2010, 12, 30); System.out.println(dateTime.getDateTime()); }