     }
     
     func dateFromSection(section: Int) -> (startDate: NSDate, endDate: NSDate)? {
-        if monthInfo.count < 1 {
-            return nil
-        }
+        if monthInfo.count < 1 { return nil }
         
         let monthData = monthInfo[section]
         let itemLength = monthData[NUMBER_OF_DAYS_INDEX]

                self.layoutNeedsUpdating = false
            })
        } else {
            (calendarView.collectionViewLayout as! JTAppleCalendarLayoutProtocol).clearCache()
            calendarView.reloadData()
        }
    }
    

    /// First day of the week value for JTApleCalendar. You can set this to anyday. After changing this value you must reload your calendar view to show the change.
    public var firstDayOfWeek = DaysOfWeek.Sunday {
        didSet {
            if firstDayOfWeek != oldValue { layoutNeedsUpdating = true }
        }
    }
    /// When enabled the date snaps to the edges of the calendar view when a user scrolls
