         }
         return dayArray
     }
+    
     private let months = ["January","February","March","April","May","June","July","August","September","October","November","December"]
     
     private var years : Array<Int>{

        let selectedMonth = half + (months.count - (half % months.count)) + initialComponents.month!
        let selectedDate = half + (days.count - (half % days.count)) + initialComponents.day!
        let selectedYear = years.indexOf(initialComponents.year!)
        selectRow(selectedDate - 1, inComponent: 1, animated: false)
        selectRow(selectedMonth - 1, inComponent: 0, animated: false)
        selectRow(selectedYear!, inComponent: 2, animated: false)
    }
    
    private func getNumberOfComponentsForDatePickerType(var type : VJDatePickerType?)->Int{

        return ""
    }
    
    func pickerView(pickerView: UIPickerView, didSelectRow row: Int, inComponent component: Int) {
        
        if isDayComponent(component){
            if datePickerType! != .DayOnly{
                let currentDate = row % days.count + 1
                let currentMonth = _selectedComponents.month
                let currentYear = _selectedComponents.year
                validateDateForRow(currentDate, month: currentMonth, year: currentYear)
            }
            else{
                _selectedComponents.day = row % days.count + 1
            }
        }
        
        if isMonthComponent(component){
            let currentMonth = row % months.count + 1
            _selectedComponents.month = currentMonth
            validateDateForRow(_selectedComponents.day, month: _selectedComponents.month, year: years[row % years.count])
        }
        
        if isYearComponent(component) {
            validateDateForRow(_selectedComponents.day, month: _selectedComponents.month, year: _selectedComponents.year)
            _selectedComponents.year = years[row % years.count]
        }
        
        if let delegate = self.datePickerDelegate{
            delegate.dateComponentsDidChange(_selectedComponents)
        }
    }
    
    func pickerView(pickerView: UIPickerView, numberOfRowsInComponent component: Int) -> Int {
