     /// returns:
     ///     - An array of the successfully generated dates
     public func generateDateRange(from startDate: Date, to endDate: Date) -> [Date] {
-        if startDate > endDate {
-            return []
-        }
+        if startDate > endDate { return [] }
         var returnDates: [Date] = []
         var currentDate = startDate
         repeat {

        
        // Ensure scrolling to date is safe to run
        if functionIsUnsafeSafeToRun {
            generalDelayedExecutionClosure.append {[unowned self] in
                self.scrollToDate(date,
                                  triggerScrollToDateDelegate: triggerScrollToDateDelegate,
                                  animateScroll: animateScroll,

    ///     - DateSegmentInfo
    public func visibleDates(_ completionHandler: @escaping (_ dateSegmentInfo: DateSegmentInfo) ->()) {
        if functionIsUnsafeSafeToRun {
            addToDelayedHandlers { [unowned self] in self.visibleDates(completionHandler) }
            return
        }
        let retval = visibleDates()
