Home
last modified time | relevance | path

Searched refs:sdtfmt (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4c/source/i18n/
Dudat.cpp549 const SimpleDateFormat *sdtfmt=dynamic_cast<const SimpleDateFormat *>(df); in udat_toPattern() local
551 if (sdtfmt!=NULL) { in udat_toPattern()
553 sdtfmt->toLocalizedPattern(res, *status); in udat_toPattern()
555 sdtfmt->toPattern(res); in udat_toPattern()
597 const SimpleDateFormat* sdtfmt; in udat_getSymbols() local
599 …if ((sdtfmt = dynamic_cast<const SimpleDateFormat*>(reinterpret_cast<const DateFormat*>(fmt))) != … in udat_getSymbols()
600 syms = sdtfmt->getDateFormatSymbols(); in udat_getSymbols()
744 const SimpleDateFormat* sdtfmt; in udat_countSymbols() local
746 …if ((sdtfmt = dynamic_cast<const SimpleDateFormat*>(reinterpret_cast<const DateFormat*>(fmt))) != … in udat_countSymbols()
747 syms = sdtfmt->getDateFormatSymbols(); in udat_countSymbols()
Dmsgfmt.cpp1728 SimpleDateFormat* sdtfmt = dynamic_cast<SimpleDateFormat*>(fmt); in createAppropriateFormat() local
1729 if (sdtfmt != NULL) { in createAppropriateFormat()
1730 sdtfmt->applyPattern(style); in createAppropriateFormat()
/external/icu/icu4c/source/test/intltest/
Ddtfmapts.cpp113 SimpleDateFormat *sdtfmt = dynamic_cast<SimpleDateFormat *>(b); in TestEquals() local
114 if (sdtfmt != NULL) in TestEquals()
117 sdtfmt->set2DigitYearStart(start + 50*ONE_YEAR, status); in TestEquals()
Ddtfmttst.cpp598 SimpleDateFormat* sdtfmt = dynamic_cast<SimpleDateFormat*>(df); in TestFieldPosition() local
599 if (sdtfmt != NULL) { in TestFieldPosition()
600 logln(" Pattern = " + sdtfmt->toPattern(buf.remove())); in TestFieldPosition()
1015 SimpleDateFormat* sdtfmt = dynamic_cast<SimpleDateFormat*>(df); in TestBadInput135() local
1016 if (sdtfmt != NULL) { in TestBadInput135()
1017 sdtfmt->toPattern(pattern); in TestBadInput135()