public void setColor(int color) {
        this.mColor = color;
    }
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