Home
last modified time | relevance | path

Searched refs:dtpg (Results 1 – 7 of 7) sorted by relevance

/external/icu/icu4c/source/i18n/
Dudatpg.cpp44 udatpg_close(UDateTimePatternGenerator *dtpg) { in udatpg_close() argument
45 delete (DateTimePatternGenerator *)dtpg; in udatpg_close()
49 udatpg_clone(const UDateTimePatternGenerator *dtpg, UErrorCode *pErrorCode) { in udatpg_clone() argument
53 return (UDateTimePatternGenerator *)(((const DateTimePatternGenerator *)dtpg)->clone()); in udatpg_clone()
57 udatpg_getBestPattern(UDateTimePatternGenerator *dtpg, in udatpg_getBestPattern() argument
61 return udatpg_getBestPatternWithOptions(dtpg, skeleton, length, in udatpg_getBestPattern()
67 udatpg_getBestPatternWithOptions(UDateTimePatternGenerator *dtpg, in udatpg_getBestPatternWithOptions() argument
80 …UnicodeString result=((DateTimePatternGenerator *)dtpg)->getBestPattern(skeletonString, options, *… in udatpg_getBestPatternWithOptions()
121 udatpg_addPattern(UDateTimePatternGenerator *dtpg, in udatpg_addPattern() argument
135 UDateTimePatternConflict result=((DateTimePatternGenerator *)dtpg)-> in udatpg_addPattern()
[all …]
Ddatefmt.cpp101 LocalPointer<DateTimePatternGenerator> dtpg( in createObject() local
109 dtpg->getBestPattern(fSkeleton, status)), in createObject()
/external/icu/icu4c/source/test/cintltst/
Dudatpg_test.c74 UDateTimePatternGenerator *dtpg, *dtpg2; in TestOpenClose() local
79 dtpg=udatpg_open(NULL, &errorCode); in TestOpenClose()
84 udatpg_close(dtpg); in TestOpenClose()
87 dtpg=udatpg_open("de", &errorCode); in TestOpenClose()
94 udatpg_setDecimal(dtpg, pipeString, 1); in TestOpenClose()
97 dtpg2=udatpg_clone(dtpg, &errorCode); in TestOpenClose()
110 udatpg_close(dtpg); in TestOpenClose()
130 UDateTimePatternGenerator *dtpg; in TestUsage() local
138 dtpg=udatpg_open("fi", &errorCode); in TestUsage()
143 length = udatpg_getBestPattern(dtpg, testSkeleton1, 4, in TestUsage()
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dudatpg.h154 udatpg_close(UDateTimePatternGenerator *dtpg);
184 udatpg_clone(const UDateTimePatternGenerator *dtpg, UErrorCode *pErrorCode);
210 udatpg_getBestPattern(UDateTimePatternGenerator *dtpg,
246 udatpg_getBestPatternWithOptions(UDateTimePatternGenerator *dtpg,
334 udatpg_addPattern(UDateTimePatternGenerator *dtpg,
361 udatpg_setAppendItemFormat(UDateTimePatternGenerator *dtpg,
376 udatpg_getAppendItemFormat(const UDateTimePatternGenerator *dtpg,
394 udatpg_setAppendItemName(UDateTimePatternGenerator *dtpg,
409 udatpg_getAppendItemName(const UDateTimePatternGenerator *dtpg,
437 udatpg_setDateTimeFormat(const UDateTimePatternGenerator *dtpg,
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateTimeGeneratorTest.java772 DateTimePatternGenerator dtpg = DateTimePatternGenerator.getInstance(); in TestGetSkeleton() local
776 if(!dtpg.getSkeleton(cases[i]).equals(results[i])){ in TestGetSkeleton()
780 dtpg.getSkeleton(cases[i])); in TestGetSkeleton()
789 DateTimePatternGenerator dtpg = DateTimePatternGenerator.getInstance(); in TestGetBaseSkeleton() local
793 if(!dtpg.getBaseSkeleton(cases[i]).equals(results[i])){ in TestGetBaseSkeleton()
797 dtpg.getBaseSkeleton(cases[i])); in TestGetBaseSkeleton()
806 DateTimePatternGenerator dtpg = DateTimePatternGenerator.getInstance(); in TestGetSkeletons() local
809 dtpg.getSkeletons(null); in TestGetSkeletons()
818 dtpg.getSkeletons(mm); in TestGetSkeletons()
829 DateTimePatternGenerator dtpg = DateTimePatternGenerator.getInstance(); in TestGetBaseSkeletons() local
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateTimeGeneratorTest.java768 DateTimePatternGenerator dtpg = DateTimePatternGenerator.getInstance(); in TestGetSkeleton() local
772 if(!dtpg.getSkeleton(cases[i]).equals(results[i])){ in TestGetSkeleton()
776 dtpg.getSkeleton(cases[i])); in TestGetSkeleton()
785 DateTimePatternGenerator dtpg = DateTimePatternGenerator.getInstance(); in TestGetBaseSkeleton() local
789 if(!dtpg.getBaseSkeleton(cases[i]).equals(results[i])){ in TestGetBaseSkeleton()
793 dtpg.getBaseSkeleton(cases[i])); in TestGetBaseSkeleton()
802 DateTimePatternGenerator dtpg = DateTimePatternGenerator.getInstance(); in TestGetSkeletons() local
805 dtpg.getSkeletons(null); in TestGetSkeletons()
814 dtpg.getSkeletons(mm); in TestGetSkeletons()
825 DateTimePatternGenerator dtpg = DateTimePatternGenerator.getInstance(); in TestGetBaseSkeletons() local
[all …]
/external/icu/icu4c/source/test/intltest/
Ddtptngts.cpp1002 DateTimePatternGenerator * dtpg = DateTimePatternGenerator::createInstance(locale, status); in testAllFieldPatterns() local
1021 UnicodeString pattern = dtpg->getBestPattern(skeleton, status); in testAllFieldPatterns()
1053 delete dtpg; in testAllFieldPatterns()