NSDate的比较 https://www.jianshu.com/p/2f22dea5faef 日期之间比较可用以下方法 - (BOOL)isEqualToDate:(NSDate *)otherDate; 与otherDate比较,相同返回YES