@Test public void testIfCanReturnTitle() { assertEquals("06:30", AlarmContentUtils.getTitle(getDateTime("04/02/2011 06:30"))); assertEquals("00:03", AlarmContentUtils.getTitle(getDateTime("04/02/2011 00:03"))); assertEquals("23:59", AlarmContentUtils.getTitle(getDateTime("04/02/2011 23:59"))); assertEquals("00:00", AlarmContentUtils.getTitle(getDateTime("04/02/2011 00:00"))); }
public static String getTitle(String executionDateString) { DateTime executionDate = DateTime.parse(executionDateString); return getTitle(executionDate); }
AlarmContentUtils { public static String getTitle(String executionDateString) { DateTime executionDate = DateTime.parse(executionDateString); return getTitle(executionDate); } }
AlarmContentUtils { public static String getTitle(String executionDateString) { DateTime executionDate = DateTime.parse(executionDateString); return getTitle(executionDate); }  }
AlarmContentUtils { public static String getTitle(String executionDateString) { DateTime executionDate = DateTime.parse(executionDateString); return getTitle(executionDate); }  static String getTitle(String executionDateString); static String getTitle(DateTime executionDate); static String getTitleForWakeUpAt(DateTime timeToGoToSleep, DateTime executionDate); static DateTime getDateConvertedToSimple(DateTime date); static String getSummary(DateTime currentDate, DateTime executionDate); }
AlarmContentUtils { public static String getTitle(String executionDateString) { DateTime executionDate = DateTime.parse(executionDateString); return getTitle(executionDate); }  static String getTitle(String executionDateString); static String getTitle(DateTime executionDate); static String getTitleForWakeUpAt(DateTime timeToGoToSleep, DateTime executionDate); static DateTime getDateConvertedToSimple(DateTime date); static String getSummary(DateTime currentDate, DateTime executionDate);  }