Searched refs:dateReturned (Results 1 – 2 of 2) sorted by relevance
/external/icu/icu4c/source/samples/dtptngsample/ |
D | dtptngsample.cpp | 45 UnicodeString dateReturned; in getBestPatternExample() local 60 dateReturned.remove(); in getBestPatternExample() 62 sdf->format(date,dateReturned,status); in getBestPatternExample() 64 u_fprintf(f, "%-20S", dateReturned.getTerminatedBuffer()); in getBestPatternExample() 85 UnicodeString conflictingPattern,dateReturned, pattern; in addPatternExample() local 97 dateReturned = sdf->format(date, dateReturned, status); in addPatternExample() 102 u_printf("%S\n", dateReturned.getTerminatedBuffer()); in addPatternExample() 126 UnicodeString pattern,dateReturned; in replaceFieldTypesExample() local 138 dateReturned.remove(); in replaceFieldTypesExample() 139 dateReturned = sdf->format(date, dateReturned, status); in replaceFieldTypesExample() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | dtptngts.cpp | 451 UnicodeString dateReturned, expectedResult; in testAPI() local 452 dateReturned.remove(); in testAPI() 453 dateReturned = format->format(sampleDate, dateReturned, status); in testAPI() 455 if ( dateReturned != expectedResult ) { in testAPI() 468 dateReturned.remove(); in testAPI() 469 dateReturned = format->format(sampleDate, dateReturned, status); in testAPI() 471 if ( dateReturned != expectedResult ) { in testAPI() 472 …g("ERROR: Simple test addPattern failed!: d\'. von\' MMMM Got: ") + dateReturned + UnicodeString… in testAPI() 482 dateReturned.remove(); in testAPI() 483 dateReturned = format->format(sampleDate, dateReturned, status); in testAPI() [all …]
|