DateHelper { public synchronized static String formatToUserFriendlyFormat(Date date) { return fullDateFormat.format(date); }  synchronized static String formatToWeekNumber(Date date); synchronized static String formatToUserFriendlyFormat(Date date); static String formatToTechnicalFormat(Date date); static Date addDays(Date date, int numberOfDays);  }
@Test public void testFormatToUserFriendlyFormat() { assertEquals("31.10.11 0:00", DateHelper.formatToUserFriendlyFormat(new Date(2011 - 1900, 10 - 1, 31))); }