DateTime { public String getTime() { return dateTime.format(DateTimeFormatter.ofPattern("HH.mm.ss", Locale.ENGLISH)); } 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 getTime() throws Exception { System.out.println(dateTime.getTime()); }