摘要: 判断日期是不是同一天,不要求是小时、分钟要一样。from:http://www.oliverfoggin.com/nsdate-isequaltodatetounitgranularity/?utm_source=iOS+Dev+Weekly&utm_campaign=iOS_Dev_Weekly_Issue_115&utm_medium=email#import @interface NSCalendar (equalWithGranularity)- (BOOL)isDate:(NSDate *)date1 equalToDate:(NSDate *)date2 withG 阅读全文
posted @ 2012-12-17 10:22 士梦 阅读(2649) 评论(2) 推荐(0) 编辑