def rebuildDay( self ):
        """
        Rebuilds the current item in day mode.
        """
        scene = self.scene()
        if ( not scene ):
            return
        
        # calculate the base information
        start_date = self.dateStart()
        end_date   = self.dateEnd()
        min_date   = scene.minimumDate()
        max_date   = scene.maximumDate()
        
        # make sure our item is visible
        if ( not (min_date <= end_date and start_date <= max_date)):
            self.hide()
            self.setPath(QPainterPath())
            return
        
        # make sure we have valid range information
        if ( start_date < min_date ):
            start_date    = min_date
            start_inrange = False
        else:
            start_inrange = True
        
        if ( max_date < end_date ):
            end_date     = max_date
            end_inrange  = False
        else:
            end_inrange  = True
        
        # rebuild the path
        path = QPainterPath()
        self.setPos(0, 0)
        
        pad         = 2
        offset      = 18
        height      = 16
        
        # rebuild a timed item
        if ( not self.isAllDay() ):
            start_dtime = QDateTime(self.dateStart(), self.timeStart())
            end_dtime   = QDateTime(self.dateStart(), 
                                    self.timeEnd().addSecs(-30*60))
            
            start_rect  = scene.dateTimeRect(start_dtime)
            end_rect    = scene.dateTimeRect(end_dtime)
            
            left   = start_rect.left() + pad
            top    = start_rect.top() + pad
            right  = start_rect.right() - pad
            bottom = end_rect.bottom() - pad
            
            path.moveTo(left, top)
            path.lineTo(right, top)
            path.lineTo(right, bottom)
            path.lineTo(left, bottom)
            path.lineTo(left, top)
            
            data = (left + 6, 
                    top + 6, 
                    right - left - 12, 
                    bottom - top - 12,
                    Qt.AlignTop | Qt.AlignLeft,
                    '%s - %s\n(%s)' % (self.timeStart().toString('h:mmap')[:-1],
                                       self.timeEnd().toString('h:mmap'),
                                       self.title()))
            
            self._textData.append(data)
        
        self.setPath(path)
        self.show()
Rebuilds the current item in day mode.