NSString *timeStr = @"2016 - 8-20 上午 8:00";
if ([timeStr rangeOfString:@"上午"].location !=NSNotFound || [timeStr rangeOfString:@"下午"].location !=NSNotFound) {
return YES;
}
NSString *timeStr = @"2016 - 8-20 上午 8:00";
if ([timeStr rangeOfString:@"上午"].location !=NSNotFound || [timeStr rangeOfString:@"下午"].location !=NSNotFound) {
return YES;
}