Home
last modified time | relevance | path

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

/external/icu/icu4c/source/samples/dtptngsample/
Ddtptngsample.cpp42 UnicodeString dateReturned; in getBestPatternExample() local
57 dateReturned.remove(); in getBestPatternExample()
59 sdf->format(date,dateReturned,status); in getBestPatternExample()
61 u_fprintf(f, "%-20S", dateReturned.getTerminatedBuffer()); in getBestPatternExample()
82 UnicodeString conflictingPattern,dateReturned, pattern; in addPatternExample() local
94 dateReturned = sdf->format(date, dateReturned, status); in addPatternExample()
99 u_printf("%S\n", dateReturned.getTerminatedBuffer()); in addPatternExample()
123 UnicodeString pattern,dateReturned; in replaceFieldTypesExample() local
135 dateReturned.remove(); in replaceFieldTypesExample()
136 dateReturned = sdf->format(date, dateReturned, status); in replaceFieldTypesExample()
[all …]
/external/icu/icu4c/source/test/intltest/
Ddtptngts.cpp433 UnicodeString dateReturned, expectedResult; in testAPI() local
434 dateReturned.remove(); in testAPI()
435 dateReturned = format->format(sampleDate, dateReturned, status); in testAPI()
437 if ( dateReturned != expectedResult ) { in testAPI()
450 dateReturned.remove(); in testAPI()
451 dateReturned = format->format(sampleDate, dateReturned, status); in testAPI()
453 if ( dateReturned != expectedResult ) { in testAPI()
454 …g("ERROR: Simple test addPattern failed!: d\'. von\' MMMM Got: ") + dateReturned + UnicodeString… in testAPI()
464 dateReturned.remove(); in testAPI()
465 dateReturned = format->format(sampleDate, dateReturned, status); in testAPI()
[all …]