Home
last modified time | relevance | path

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

/external/icu4c/i18n/
Dreldtfmt.cpp291 SimpleDateFormat* sdtfmt = dynamic_cast<SimpleDateFormat*>(fDateFormat); in toPatternDate() local
292 if (sdtfmt != NULL) { in toPatternDate()
293 sdtfmt->toPattern(result); in toPatternDate()
308 SimpleDateFormat* sdtfmt = dynamic_cast<SimpleDateFormat*>(fTimeFormat); in toPatternTime() local
309 if (sdtfmt != NULL) { in toPatternTime()
310 sdtfmt->toPattern(result); in toPatternTime()
323 SimpleDateFormat* sdtfmt = NULL; in applyPatterns() local
325 if (fDateFormat && (sdtfmt = dynamic_cast<SimpleDateFormat*>(fDateFormat)) == NULL) { in applyPatterns()
334 sdtfmt->applyPattern(datePattern); in applyPatterns()
345 SimpleDateFormat* sdtfmt = NULL; in getDateFormatSymbols() local
[all …]
Dudat.cpp341 const SimpleDateFormat *sdtfmt=dynamic_cast<const SimpleDateFormat *>(df); in udat_toPattern() local
343 if (sdtfmt!=NULL) { in udat_toPattern()
345 sdtfmt->toLocalizedPattern(res, *status); in udat_toPattern()
347 sdtfmt->toPattern(res); in udat_toPattern()
389 const SimpleDateFormat* sdtfmt; in udat_getSymbols() local
391 …if ((sdtfmt = dynamic_cast<const SimpleDateFormat*>(reinterpret_cast<const DateFormat*>(fmt))) != … in udat_getSymbols()
392 syms = sdtfmt->getDateFormatSymbols(); in udat_getSymbols()
504 const SimpleDateFormat* sdtfmt; in udat_countSymbols() local
506 …if ((sdtfmt = dynamic_cast<const SimpleDateFormat*>(reinterpret_cast<const DateFormat*>(fmt))) != … in udat_countSymbols()
507 syms = sdtfmt->getDateFormatSymbols(); in udat_countSymbols()
Dmsgfmt.cpp1597 SimpleDateFormat* sdtfmt = dynamic_cast<SimpleDateFormat*>(fmt); in createAppropriateFormat() local
1598 if (sdtfmt != NULL) { in createAppropriateFormat()
1599 sdtfmt->applyPattern(style); in createAppropriateFormat()
/external/icu4c/test/intltest/
Ddtfmapts.cpp111 SimpleDateFormat *sdtfmt = dynamic_cast<SimpleDateFormat *>(b); in TestEquals() local
112 if (sdtfmt != NULL) in TestEquals()
115 sdtfmt->set2DigitYearStart(start + 50*ONE_YEAR, status); in TestEquals()
Ddtfmttst.cpp414 SimpleDateFormat* sdtfmt = dynamic_cast<SimpleDateFormat*>(df); in TestFieldPosition() local
415 if (sdtfmt != NULL) { in TestFieldPosition()
416 logln(" Pattern = " + sdtfmt->toPattern(buf.remove())); in TestFieldPosition()
831 SimpleDateFormat* sdtfmt = dynamic_cast<SimpleDateFormat*>(df); in TestBadInput135() local
832 if (sdtfmt != NULL) { in TestBadInput135()
833 sdtfmt->toPattern(pattern); in TestBadInput135()