import UIKit
let components = NSDateComponents()
components.setValue(1, forComponent: NSCalendarUnit.CalendarUnitDay)
components.setValue(1, forComponent: NSCalendarUnit.CalendarUnitMonth)
components.setValue(2014, forComponent: NSCalendarUnit.CalendarUnitYear)
println(components.weekday) // 9223372036854775807
Anyone have any ideas as to why I'm getting 9223372036854775807
instead of a value from 1-7?