private boolean isTimeAfterOrEquals(Calendar time1, Calendar time2) {
        return !(time1 == null || time2 == null) && time1.getTimeInMillis() >= time2.getTimeInMillis();
    }
Checks if time1 occurs after (or at the same time) time2.
@param time1 The time to check.
@param time2 The time to check against.
@return true if time1 and time2 are equal or if time1 is after time2. Otherwise false.
library/src/main/java/com/alamkanak/weekview/WeekView.java