NSDate(Calendar) Category Reference
Declared in | NSDate+Calendar.h |
---|
– previousMonthDate
获得当前 NSDate 对象的上个月的某一天(此处定为15号)的 NSDate 对象
- (NSDate *)previousMonthDate
Declared In
NSDate+Calendar.h
– nextMonthDate
获得当前 NSDate 对象的下个月的某一天(此处定为15号)的 NSDate 对象
- (NSDate *)nextMonthDate
Declared In
NSDate+Calendar.h
– totalDaysInMonth
获得当前 NSDate 对象对应的月份的总天数
- (NSInteger)totalDaysInMonth
Declared In
NSDate+Calendar.h
– firstWeekDayInMonth
获得当前 NSDate 对象对应月份当月第一天的所属星期
- (NSInteger)firstWeekDayInMonth
Declared In
NSDate+Calendar.h