         return retval
     }
 
-    
     func configureHorizontalLayout() {
         var virtualSection = 0
         var totalDayCounter = 0

                        }
                    } else {
                        totalDayCounter += 1
                        if totalDayCounter % fullSection == 0 { // If you have a full section
                            yCellOffset = 0
                            xCellOffset = sectionInset.left
                            contentWidth += (attribute.4 * 7) + endSeparator
                            stride = contentWidth
                            sectionSize.append(contentWidth)
                        } else {
                            if totalDayCounter >= delegate.totalDays {
                                contentWidth += (attribute.4 * 7) + endSeparator // not bothered about this. as should be called only on final days
                                sectionSize.append(contentWidth)
                            }
                            
                            if totalDayCounter % maxNumberOfDaysInWeek == 0 { // A week (7days--1row) is completed
                                xCellOffset = sectionInset.left
                                yCellOffset += attribute.5
                            }
                        }
                    }
                    
                }
                // Save the content size for each section
                
                if strictBoundaryRulesShouldApply {
                    contentWidth += endSeparator
                    sectionSize.append(contentWidth)
                    stride = sectionSize[virtualSection]  // Stride = contentWidth + endSeparator
                }
                virtualSection += 1
            }

        yCellOffset = 0
        contentHeight = 0
        contentWidth = 0
        xStride = 0
        firstContentOffsetWasSet = false
    }
}
