最赞回答 / _Bay
语法更新了,用components([.Year], fromDate: <#NSDate#>, toDate: <#NSDate#>, options: <#NSCalendarOptions#>)就OK
2015-04-26