Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Dudat.cpp558 const SimpleDateFormat *sdtfmt=dynamic_cast<const SimpleDateFormat *>(df); in udat_toPattern() local
560 if (sdtfmt!=NULL) { in udat_toPattern()
562 sdtfmt->toLocalizedPattern(res, *status); in udat_toPattern()
564 sdtfmt->toPattern(res); in udat_toPattern()
606 const SimpleDateFormat* sdtfmt; in udat_getSymbols() local
608 …if ((sdtfmt = dynamic_cast<const SimpleDateFormat*>(reinterpret_cast<const DateFormat*>(fmt))) != … in udat_getSymbols()
609 syms = sdtfmt->getDateFormatSymbols(); in udat_getSymbols()
753 const SimpleDateFormat* sdtfmt; in udat_countSymbols() local
755 …if ((sdtfmt = dynamic_cast<const SimpleDateFormat*>(reinterpret_cast<const DateFormat*>(fmt))) != … in udat_countSymbols()
756 syms = sdtfmt->getDateFormatSymbols(); in udat_countSymbols()
Dmsgfmt.cpp1749 SimpleDateFormat* sdtfmt = dynamic_cast<SimpleDateFormat*>(fmt); in createAppropriateFormat() local
1750 if (sdtfmt != NULL) { in createAppropriateFormat()
1751 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.cpp601 SimpleDateFormat* sdtfmt = dynamic_cast<SimpleDateFormat*>(df); in TestFieldPosition() local
602 if (sdtfmt != NULL) { in TestFieldPosition()
603 logln(" Pattern = " + sdtfmt->toPattern(buf.remove())); in TestFieldPosition()
1018 SimpleDateFormat* sdtfmt = dynamic_cast<SimpleDateFormat*>(df); in TestBadInput135() local
1019 if (sdtfmt != NULL) { in TestBadInput135()
1020 sdtfmt->toPattern(pattern); in TestBadInput135()