/** * @class Ext.calendar.view.DaysRenderer * @extend Ext.Base * * This class is used to generate the rendering parameters for an event * in a {@link Ext.calendar.view.Days}. The purpose of this class is * to provide the rendering logic insulated from the DOM. * * @private */ /** * @cfg {Date} [end=null] * The end for the day. */ /** * @cfg {Date} [start=null] * The start for the day. */ /** * @cfg {Ext.calendar.view.Days} [view=null] * The view. */ /** * @method addIf * Adds the event to this renderer if it is valid. * @param {Ext.calendar.model.EventBase} event. */ /** * @method calculate * Indicates that all events are added and the positions can be calculated. */ /** * @method hasEvents * Checks if this renderer has any events. * @return {Boolean} `true` if there are events. */