Searched refs:dstyle (Results 1 – 5 of 5) sorted by relevance
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/ |
D | DateFormatTest.java | 43 private void checkGetInstance(int dstyle, int tstyle, Locale loc) { in checkGetInstance() argument 45 DateFormat df = getJDKInstance(dstyle, tstyle, loc, method); in checkGetInstance() 58 DateFormat dfIcu = getJDKInstance(dstyle, tstyle, iculoc, null); in checkGetInstance() 72 private DateFormat getJDKInstance(int dstyle, int tstyle, Locale loc, String[] methodName) { in getJDKInstance() argument 75 if (dstyle < 0) { in getJDKInstance() 79 df = DateFormat.getDateInstance(dstyle, loc); in getJDKInstance() 82 df = DateFormat.getDateTimeInstance(dstyle, tstyle, loc); in getJDKInstance() 91 …private com.ibm.icu.text.DateFormat getICUInstance(int dstyle, int tstyle, Locale loc, String[] me… in getICUInstance() argument 94 if (dstyle < 0) { in getICUInstance() 98 icudf = com.ibm.icu.text.DateFormat.getDateInstance(dstyle, loc); in getICUInstance() [all …]
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/text/ |
D | DateFormatProviderICU.java | 43 private DateFormat getInstance(int dstyle, int tstyle, Locale locale) { in getInstance() argument 46 if (dstyle == NONE) { in getInstance() 49 icuDfmt = com.ibm.icu.text.DateFormat.getDateInstance(dstyle, actual); in getInstance() 51 icuDfmt = com.ibm.icu.text.DateFormat.getDateTimeInstance(dstyle, tstyle, actual); in getInstance()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | DateFormatRoundTripTest.java | 139 for (int dstyle = DateFormat.FULL; dstyle <= DateFormat.SHORT; ++dstyle) { in _test() 142 logln("Testing dstyle " + styleName(dstyle) + ", tstyle " + styleName(tstyle)); in _test() 143 DateFormat df = DateFormat.getDateTimeInstance(dstyle, tstyle, loc); in _test()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateFormatRoundTripTest.java | 136 for (int dstyle = DateFormat.FULL; dstyle <= DateFormat.SHORT; ++dstyle) { in _test() 139 logln("Testing dstyle " + styleName(dstyle) + ", tstyle " + styleName(tstyle)); in _test() 140 DateFormat df = DateFormat.getDateTimeInstance(dstyle, tstyle, loc); in _test()
|
/external/icu/icu4c/source/test/intltest/ |
D | dtfmtrtts.cpp | 263 for(int32_t dstyle = DateFormat::FULL; dstyle <= DateFormat::SHORT; ++dstyle) { in test() local 266 …logln("Testing dstyle" + UnicodeString(styleName((DateFormat::EStyle)dstyle)) + ", tstyle" + Unico… in test() 267 …DateFormat *df = DateFormat::createDateTimeInstance((DateFormat::EStyle)dstyle, (DateFormat::EStyl… in test() 269 …:createDateTimeInstance ") + UnicodeString(styleName((DateFormat::EStyle)dstyle)) + ", tstyle" + U… in test()
|