問題があります:setFirstWeekDay
動作しません...理由がわかりません...
NSCalendar *gregorianT = [[NSCalendar alloc] initWithCalendarIdentifier:NSGregorianCalendar];
[gregorianT setFirstWeekday:2];
NSDateFormatter *formatDayWeek = [[NSDateFormatter alloc] init];
[formatDayWeek setDateFormat:@"c EEEE"];
NSLog(@"date : %@ value for date : %@", dateForMonth, [formatDayWeek stringFromDate:dateForMonth]);
これは私が得たものです:
date : 2012-11-23 14:18:28 +0000 value for date : 6 Friday
そして、私は得るべきですdate : 2012-11-23 14:18:28 +0000 value for date : 5 Friday