摘要: #import "NSDate+Extension.h"@implementation NSDate (Extension)/** * 判断某个时间是否为今年 */- (BOOL)isThisYear{ NSCalendar *calendar = [NSCalendar currentCa... 阅读全文
posted @ 2015-11-12 12:38 Z了个L 阅读(230) 评论(0) 推荐(0) 编辑
摘要: // ( NSString *) == Thu Oct 16 17:06:25 +0800 2014 // dateFormat = EEE MMM dd HH:mm:ss Z yyyy NSDateFormatter *fmt = [[NSDateFormatteralloc]... 阅读全文
posted @ 2015-11-12 10:56 Z了个L 阅读(229) 评论(0) 推荐(0) 编辑