NSCalendar用法: NSCalendar *cal = [NSCalendar currenCalendar];NSDateComponents *components= [cal comp...
NSCalendar用法:
NSCalendar *cal = [NSCalendar currenCalendar];
NSDateComponents *components=
[cal components:
NSYearCalendarUnit |
NSMonthCalendarUnit |
日 | 时 |分 | 秒
formDate:date];
取值:[components year]
学员评论
吉利茄子2015-12-22
你感兴趣的课程