@Test public void testFormatCompleteDate() { Calendar calendar = Calendar.getInstance(); calendar.set(2017, 8, 27, 14, 15, 18); String obtainedStr = DateUtils.formatCompleteDate(calendar.getTime()); String expectedStr = "27/09/17 14:15"; assertThat(obtainedStr, is(expectedStr)); }
public static String formatCompleteDate(Date date) { return tsvCompleteDateFormat.format(date); }
DateUtils { public static String formatCompleteDate(Date date) { return tsvCompleteDateFormat.format(date); } }
DateUtils { public static String formatCompleteDate(Date date) { return tsvCompleteDateFormat.format(date); }  }
DateUtils { public static String formatCompleteDate(Date date) { return tsvCompleteDateFormat.format(date); }  static String formatCompleteDate(Date date); static String formatOnlyDay(Date date); static String formatFilenameDate(Date date); static String formatDateForMongo(Date date); static String getDuration(Date dateBegin, Date dateEnd); static Date getLastTimeFromDate(Date date); }
DateUtils { public static String formatCompleteDate(Date date) { return tsvCompleteDateFormat.format(date); }  static String formatCompleteDate(Date date); static String formatOnlyDay(Date date); static String formatFilenameDate(Date date); static String formatDateForMongo(Date date); static String getDuration(Date dateBegin, Date dateEnd); static Date getLastTimeFromDate(Date date);  }