Searched refs:MEDIUM (Results 1 – 8 of 8) sorted by relevance
/libcore/benchmarks/src/benchmarks/regression/ |
D | IntegralToStringBenchmark.java | 26 private static final int MEDIUM = 12345; field in IntegralToStringBenchmark 37 Integer.toString(MEDIUM); in time_IntegerToString_medium() 55 Integer.toString(MEDIUM, 2); in time_IntegerToString2_medium() 73 Integer.toString(MEDIUM, 10); in time_IntegerToString10_medium() 91 Integer.toString(MEDIUM, 16); in time_IntegerToString16_medium() 109 Integer.toBinaryString(MEDIUM); in time_IntegerToBinaryString_medium() 127 Integer.toHexString(MEDIUM); in time_IntegerToHexString_medium() 145 new StringBuilder().append(MEDIUM); in time_StringBuilder_medium() 163 String.format("%d", MEDIUM); in time_Formatter_medium()
|
D | RealToStringBenchmark.java | 26 private static final float MEDIUM = -123.45e8f; field in RealToStringBenchmark 67 Float.toString(MEDIUM); in timeFloat_toString_medium() 85 new StringBuilder().append(MEDIUM); in timeStringBuilder_medium() 103 String.format("%f", MEDIUM); in timeFormatter_medium() 121 String.format("%.2f", MEDIUM); in timeFormatter_dot2f_medium()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | DateFormatTest.java | 90 DateFormat.DEFAULT == DateFormat.MEDIUM); in test_getDateInstanceI() 102 f2 = (SimpleDateFormat) DateFormat.getDateInstance(DateFormat.MEDIUM); in test_getDateInstanceI() 105 DateFormat.MEDIUM, Locale.getDefault()))); in test_getDateInstanceI() 150 f2 = (SimpleDateFormat) DateFormat.getDateInstance(DateFormat.MEDIUM, in test_getDateInstanceILjava_util_Locale() 219 testDateTime(DateFormat.SHORT, DateFormat.MEDIUM); in test_getDateTimeInstanceII() 223 testDateTime(DateFormat.MEDIUM, DateFormat.SHORT); in test_getDateTimeInstanceII() 224 testDateTime(DateFormat.MEDIUM, DateFormat.MEDIUM); in test_getDateTimeInstanceII() 225 testDateTime(DateFormat.MEDIUM, DateFormat.LONG); in test_getDateTimeInstanceII() 226 testDateTime(DateFormat.MEDIUM, DateFormat.FULL); in test_getDateTimeInstanceII() 229 testDateTime(DateFormat.LONG, DateFormat.MEDIUM); in test_getDateTimeInstanceII() [all …]
|
D | MessageFormatTest.java | 415 .equals(DateFormat.getTimeInstance(DateFormat.MEDIUM))); in test_applyPatternLjava_lang_String() 444 .equals(DateFormat.getDateInstance(DateFormat.MEDIUM))); in test_applyPatternLjava_lang_String()
|
/libcore/luni/src/main/java/libcore/icu/ |
D | LocaleData.java | 171 case DateFormat.MEDIUM: in getDateFormat() 189 case DateFormat.MEDIUM: in getTimeFormat()
|
/libcore/luni/src/main/java/java/text/ |
D | DateFormat.java | 105 public static final int MEDIUM = 2; field in DateFormat 841 if (!(style == SHORT || style == MEDIUM || style == LONG in checkDateStyle() 848 if (!(style == SHORT || style == MEDIUM || style == LONG in checkTimeStyle()
|
D | MessageFormat.java | 995 dateStyle = DateFormat.MEDIUM; in parseVariable()
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | OldDateFormatTest.java | 292 format = DateFormat.getDateInstance(DateFormat.MEDIUM, Locale.US); in test_parseLString()
|