@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        WeekViewEvent that = (WeekViewEvent) o;

        return mId == that.mId;

    }
Initializes the event for week view.
@param id The id of the event.
@param name Name of the event.
@param startTime The time when the event starts.
@param endTime The time when the event ends.
library/src/main/java/com/alamkanak/weekview/WeekViewEvent.java