public static boolean IsEventToday(Event event) { final int weekDay = GetCurrentDayOfWeek(); if (event.getStart() > GetCurrentTime() && event.isRepeatedOnWeekday(weekDay)) { return true; } return false; }
public static boolean IsDateTomorrow(Event event) { final int nextWeekDay = (GetCurrentDayOfWeek() + 1) % NUM_WEEKDAYS; return !IsEventToday(event) && event.isRepeatedOnWeekday(nextWeekDay); }