Searched refs:dtpg (Results 1 – 5 of 5) sorted by relevance
/external/icu/icu4c/source/i18n/ |
D | udatpg.cpp | 44 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() 85 udatpg_getSkeleton(UDateTimePatternGenerator *dtpg, in udatpg_getSkeleton() argument 97 … UnicodeString result=((DateTimePatternGenerator *)dtpg)->getSkeleton(patternString, *pErrorCode); in udatpg_getSkeleton() [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | udatpg_test.c | 74 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/ |
D | udatpg.h | 154 udatpg_close(UDateTimePatternGenerator *dtpg); 184 udatpg_clone(const UDateTimePatternGenerator *dtpg, UErrorCode *pErrorCode); 210 udatpg_getBestPattern(UDateTimePatternGenerator *dtpg, 246 udatpg_getBestPatternWithOptions(UDateTimePatternGenerator *dtpg, 273 udatpg_getSkeleton(UDateTimePatternGenerator *dtpg, 302 udatpg_getBaseSkeleton(UDateTimePatternGenerator *dtpg, 332 udatpg_addPattern(UDateTimePatternGenerator *dtpg, 359 udatpg_setAppendItemFormat(UDateTimePatternGenerator *dtpg, 374 udatpg_getAppendItemFormat(const UDateTimePatternGenerator *dtpg, 392 udatpg_setAppendItemName(UDateTimePatternGenerator *dtpg, [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateTimeGeneratorTest.java | 768 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/ |
D | dtptngts.cpp | 1002 DateTimePatternGenerator * dtpg = DateTimePatternGenerator::createInstance(locale, status); in testAllFieldPatterns() local 1021 UnicodeString pattern = dtpg->getBestPattern(skeleton, status); in testAllFieldPatterns() 1053 delete dtpg; in testAllFieldPatterns()
|