Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/icu/source/samples/dtptngsample/
Ddtptngsample.cpp45 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 …]
/third_party/flutter/skia/third_party/externals/icu/source/samples/dtptngsample/
Ddtptngsample.cpp45 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 …]
/third_party/icu/icu4c/source/samples/dtptngsample/
Ddtptngsample.cpp45 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 …]
/third_party/icu/icu4c/source/test/intltest/
Ddtptngts.cpp513 UnicodeString dateReturned, expectedResult; in testAPI() local
514 dateReturned.remove(); in testAPI()
515 dateReturned = format->format(sampleDate, dateReturned, status); in testAPI()
517 if ( dateReturned != expectedResult ) { in testAPI()
530 dateReturned.remove(); in testAPI()
531 dateReturned = format->format(sampleDate, dateReturned, status); in testAPI()
533 if ( dateReturned != expectedResult ) { in testAPI()
534 …g("ERROR: Simple test addPattern failed!: d\'. von\' MMMM Got: ") + dateReturned + UnicodeString… in testAPI()
544 dateReturned.remove(); in testAPI()
545 dateReturned = format->format(sampleDate, dateReturned, status); in testAPI()
[all …]
/third_party/icu/docs/userguide/datetime/timezone/
Dexamples.md29 UnicodeString dateReturned, curTZNameEn, curTZNameFr;
54 dateReturned = dt->format(curDate,dateReturned,success);
56 u_printf("%S\n", dateReturned.getTerminatedBuffer());