@Test public void testNoAnnounces() { DateTime now = new DateTime(); now = now.withTime(19, 0, 0, 0); List<String> announces = scheduleAnnouncer.getHourlyAnnounces(now); assertEquals(0, announces.size()); }
public List<String> getHourlyAnnounces() { DateTime now = new DateTime(); return getHourlyAnnounces(now.withTime(now.getHourOfDay(), 0, 0, 0)); }
ScheduleAnnouncer { public List<String> getHourlyAnnounces() { DateTime now = new DateTime(); return getHourlyAnnounces(now.withTime(now.getHourOfDay(), 0, 0, 0)); } }
ScheduleAnnouncer { public List<String> getHourlyAnnounces() { DateTime now = new DateTime(); return getHourlyAnnounces(now.withTime(now.getHourOfDay(), 0, 0, 0)); } ScheduleAnnouncer(GoogleCalendar calendar);  ScheduleAnnouncer(Wand wand, GoogleCalendar calendar); }
ScheduleAnnouncer { public List<String> getHourlyAnnounces() { DateTime now = new DateTime(); return getHourlyAnnounces(now.withTime(now.getHourOfDay(), 0, 0, 0)); } ScheduleAnnouncer(GoogleCalendar calendar);  ScheduleAnnouncer(Wand wand, GoogleCalendar calendar); List<String> getHourlyAnnounces(); List<String> getHourlyAnnounces(DateTime now); String getPeriodInStringFormat(Period period); static void main(String[] args); }
ScheduleAnnouncer { public List<String> getHourlyAnnounces() { DateTime now = new DateTime(); return getHourlyAnnounces(now.withTime(now.getHourOfDay(), 0, 0, 0)); } ScheduleAnnouncer(GoogleCalendar calendar);  ScheduleAnnouncer(Wand wand, GoogleCalendar calendar); List<String> getHourlyAnnounces(); List<String> getHourlyAnnounces(DateTime now); String getPeriodInStringFormat(Period period); static void main(String[] args); static final String OFFICEHOUR_NOW; static final String OFFICEHOUR_ETA; static final String EVENT_NOW; static final String EVENT_ETA; }