Searched refs:doForce24 (Results 1 - 1 of 1) sorted by last modified time

/macosx-10.9.5/CF-855.17/
H A DCFDateFormatter.c1032 Boolean doForce24 = false, doForce12 = false;
1036 doForce24 = CFBooleanGetValue((CFBooleanRef)pref);
1042 if (doForce24) doForce12 = false; // if both are set, Force24 wins, period
1043 if (!doForce24 && !doForce12) return (CFStringRef)CFRetain(inString);
1054 case 'j': if (!isInQuote) {if (-1 == firstHour) firstHour = CFStringGetLength(outString); if (doForce24) ch = 'H'; else ch = 'h';} break;
1055 case 'h': if (!isInQuote) {if (-1 == firstHour) firstHour = CFStringGetLength(outString); had12Hour = true; if (doForce24) ch = 'H';} break; // switch 12-hour to 24-hour
1056 case 'K': if (!isInQuote) {if (-1 == firstHour) firstHour = CFStringGetLength(outString); had12Hour = true; if (doForce24) ch = 'k';} break; // switch 12-hour to 24-hour
1061 case 'a': if (!isInQuote) {hasA = true; if (doForce24) emit = false;} break;
1075 static UChar __CFDateFormatterForcedHourCharacterForLocale(CFLocaleRef locale, Boolean doForce24, Boolean doForce12, Boolean *succeeded) { argument
1076 if (doForce24) doForce1
[all...]

Completed in 156 milliseconds