Searched refs:UDAT_PARSE_ALLOW_NUMERIC (Results 1 - 6 of 6) sorted by relevance

/external/icu/icu4c/source/test/cintltst/
H A Dcdtdptst.c375 initialState = udat_getBooleanAttribute(en, UDAT_PARSE_ALLOW_NUMERIC, &status);
378 udat_setBooleanAttribute(en, UDAT_PARSE_ALLOW_NUMERIC, switchedState, &status);
379 if(switchedState != udat_getBooleanAttribute(en, UDAT_PARSE_ALLOW_NUMERIC, &status)) {
/external/icu/icu4c/source/i18n/
H A Ddatefmt.cpp651 setBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, lenient, status);
666 && getBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, status);
H A Dsmpdtfmt.cpp944 setBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, true, status);
3114 if (gotNumber && (getBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC,status) || value > fSymbols->fShortYearNamesCount)) {
3183 if (newStart > 0 || !getBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, status)) // currently we do not try to parse MMMMM/LLLLL: #8860
3257 if (!getBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, status) || patternCharIndex == UDAT_DAY_OF_WEEK_FIELD)
3289 if (!getBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, status))
3350 if (!getBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, status))
3382 if (!getBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, status))
3625 if (!getBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, status)) {
/external/icu/icu4c/source/i18n/unicode/
H A Dudat.h891 UDAT_PARSE_ALLOW_NUMERIC = 1, enumerator in enum:UDateFormatBooleanAttribute
932 * @param attr The attribute to set; one of UDAT_PARSE_ALLOW_WHITESPACE or UDAT_PARSE_ALLOW_NUMERIC
/external/icu/icu4c/source/test/intltest/
H A Ddtfmrgts.cpp1579 format.setBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, TRUE, status);
1588 format.setBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, FALSE, status);
1641 sdmft->setBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, itemPtr->leniency, status);
H A Ddtfmttst.cpp3862 formatter->setBooleanAttribute(UDAT_PARSE_ALLOW_WHITESPACE, itemPtr->lenient, status).setBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, itemPtr->lenient, status);
4533 setBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, itemPtr->leniency, status).
4673 assertTrue("ALLOW_NUMERIC default", fmt->getBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, status));
4683 assertTrue("ALLOW_NUMERIC after setCalendarLenient(FALSE)", fmt->getBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, status));
4691 assertFalse("ALLOW_NUMERIC after setLenient(FALSE)", fmt->getBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, status));
4702 assertFalse("ALLOW_NUMERIC after ALLOW_WHITESPACE/TRUE", fmt->getBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, status));
4710 assertTrue("ALLOW_NUMERIC after setLenient(TRUE)", fmt->getBooleanAttribute(UDAT_PARSE_ALLOW_NUMERIC, status));

Completed in 213 milliseconds