@Test void testIsAllDay() { assertThat(CalendarLogic.isAllDay(this.event1), is(true)); assertThat(CalendarLogic.isAllDay(this.event2), is(false)); }
public static boolean isAllDay(Event event) { return event.getStart().getDate() != null; }
CalendarLogic { public static boolean isAllDay(Event event) { return event.getStart().getDate() != null; } }
CalendarLogic { public static boolean isAllDay(Event event) { return event.getStart().getDate() != null; }  }
CalendarLogic { public static boolean isAllDay(Event event) { return event.getStart().getDate() != null; }  void setEvent(CalendarEvent calendarEvent); List<CalendarEvent> getEvents(int number); List<CalendarEvent> getEventsAt(LocalDateTime chosenDay); DateTime getDateTime(LocalDateTime ldt, int plusDays); static boolean isAllDay(Event event); LocalDateTime getLocalDateTimeStart(Event event); LocalDateTime getLocalDateTimeEnd(Event event); }
CalendarLogic { public static boolean isAllDay(Event event) { return event.getStart().getDate() != null; }  void setEvent(CalendarEvent calendarEvent); List<CalendarEvent> getEvents(int number); List<CalendarEvent> getEventsAt(LocalDateTime chosenDay); DateTime getDateTime(LocalDateTime ldt, int plusDays); static boolean isAllDay(Event event); LocalDateTime getLocalDateTimeStart(Event event); LocalDateTime getLocalDateTimeEnd(Event event);  }