NSCalendar *calender2 = [[NSCalendar alloc]initWithCalendarIdentifier:NSCalendarIdentifierGregorian];

[calender2 setFirstWeekday:2];// 国外是从周日 开始算的 我们是周一 所以 写了2

NSDateComponents *components2 = nil;

components2 = [calender2 components:NSCalendarUnitYear|NSCalendarUnitMonth|NSCalendarUnitDay fromDate:currentDate];

NSDateComponents *adcomps = [[NSDateComponents alloc]init];

[adcomps setYear:0];

[adcomps setMonth:+1];

[adcomps setDay:0];

NSDate *newdate = [calender2 dateByAddingComponents:adcomps toDate:chuzhangriDate options:0];

NSLog(@"newdate =%@",newdate);

05-11 16:57