Home
last modified time | relevance | path

Searched refs:dateReturned (Results 1 – 2 of 2) sorted by relevance

/external/icu/icu4c/source/samples/dtptngsample/
Ddtptngsample.cpp44 UnicodeString dateReturned; in getBestPatternExample() local
59 dateReturned.remove(); in getBestPatternExample()
61 sdf->format(date,dateReturned,status); in getBestPatternExample()
63 u_fprintf(f, "%-20S", dateReturned.getTerminatedBuffer()); in getBestPatternExample()
84 UnicodeString conflictingPattern,dateReturned, pattern; in addPatternExample() local
96 dateReturned = sdf->format(date, dateReturned, status); in addPatternExample()
101 u_printf("%S\n", dateReturned.getTerminatedBuffer()); in addPatternExample()
125 UnicodeString pattern,dateReturned; in replaceFieldTypesExample() local
137 dateReturned.remove(); in replaceFieldTypesExample()
138 dateReturned = sdf->format(date, dateReturned, status); in replaceFieldTypesExample()
[all …]
/external/icu/icu4c/source/test/intltest/
Ddtptngts.cpp438 UnicodeString dateReturned, expectedResult; in testAPI() local
439 dateReturned.remove(); in testAPI()
440 dateReturned = format->format(sampleDate, dateReturned, status); in testAPI()
442 if ( dateReturned != expectedResult ) { in testAPI()
455 dateReturned.remove(); in testAPI()
456 dateReturned = format->format(sampleDate, dateReturned, status); in testAPI()
458 if ( dateReturned != expectedResult ) { in testAPI()
459 …g("ERROR: Simple test addPattern failed!: d\'. von\' MMMM Got: ") + dateReturned + UnicodeString… in testAPI()
469 dateReturned.remove(); in testAPI()
470 dateReturned = format->format(sampleDate, dateReturned, status); in testAPI()
[all …]