/libcore/benchmarks/src/benchmarks/regression/ |
D | IntegralToStringBenchmark.java | 22 private static final int MEDIUM = 12345; field in IntegralToStringBenchmark 33 Integer.toString(MEDIUM); in time_IntegerToString_medium() 51 Integer.toString(MEDIUM, 2); in time_IntegerToString2_medium() 69 Integer.toString(MEDIUM, 10); in time_IntegerToString10_medium() 87 Integer.toString(MEDIUM, 16); in time_IntegerToString16_medium() 105 Integer.toBinaryString(MEDIUM); in time_IntegerToBinaryString_medium() 123 Integer.toHexString(MEDIUM); in time_IntegerToHexString_medium() 141 new StringBuilder().append(MEDIUM); in time_StringBuilder_medium() 159 String.format("%d", MEDIUM); in time_Formatter_medium()
|
D | RealToStringBenchmark.java | 22 private static final float MEDIUM = -123.45e8f; field in RealToStringBenchmark 63 Float.toString(MEDIUM); in timeFloat_toString_medium() 81 new StringBuilder().append(MEDIUM); in timeStringBuilder_medium() 99 String.format("%f", MEDIUM); in timeFormatter_medium() 117 String.format("%.2f", MEDIUM); in timeFormatter_dot2f_medium()
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKLocalizedPrinterParser.java | 125 {LocalDate.of(2012, 6, 30), FormatStyle.MEDIUM, DateFormat.MEDIUM, Locale.UK}, in data_date() 126 {LocalDate.of(2012, 6, 30), FormatStyle.MEDIUM, DateFormat.MEDIUM, Locale.US}, in data_date() 127 {LocalDate.of(2012, 6, 30), FormatStyle.MEDIUM, DateFormat.MEDIUM, Locale.FRANCE}, in data_date() 128 {LocalDate.of(2012, 6, 30), FormatStyle.MEDIUM, DateFormat.MEDIUM, Locale.JAPAN}, in data_date() 177 {LocalTime.of(11, 30), FormatStyle.MEDIUM, DateFormat.MEDIUM, Locale.UK}, in data_time() 178 {LocalTime.of(11, 30), FormatStyle.MEDIUM, DateFormat.MEDIUM, Locale.US}, in data_time() 179 {LocalTime.of(11, 30), FormatStyle.MEDIUM, DateFormat.MEDIUM, Locale.FRANCE}, in data_time() 180 {LocalTime.of(11, 30), FormatStyle.MEDIUM, DateFormat.MEDIUM, Locale.JAPAN}, in data_time()
|
D | TCKFormatStyle.java | 99 …me.of(LocalDateTime.of(2001, 10, 2, 1, 2, 3), ZONEID_PARIS), FormatStyle.MEDIUM, "2 Oct 2001, 01:0… in data_formatStyle() 104 …ime.of(LocalDateTime.of(2001, 10, 2, 1, 2, 3), OFFSET_PTWO), FormatStyle.MEDIUM, "2 Oct 2001, 01:0… in data_formatStyle()
|
D | TCKDateTimeFormatters.java | 197 …assertEquals(DateTimeFormatter.ofLocalizedDateTime(FormatStyle.FULL, FormatStyle.MEDIUM).getChrono… in test_ofLocalizedDateTime2_basics() 198 …assertEquals(DateTimeFormatter.ofLocalizedDateTime(FormatStyle.FULL, FormatStyle.MEDIUM).getZone()… in test_ofLocalizedDateTime2_basics() 199 …assertEquals(DateTimeFormatter.ofLocalizedDateTime(FormatStyle.FULL, FormatStyle.MEDIUM).getResolv… in test_ofLocalizedDateTime2_basics()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | DateFormatTest.java | 89 DateFormat.DEFAULT == DateFormat.MEDIUM); in test_getDateInstanceI() 101 f2 = (SimpleDateFormat) DateFormat.getDateInstance(DateFormat.MEDIUM); in test_getDateInstanceI() 104 DateFormat.MEDIUM, Locale.getDefault()))); in test_getDateInstanceI() 149 f2 = (SimpleDateFormat) DateFormat.getDateInstance(DateFormat.MEDIUM, in test_getDateInstanceILjava_util_Locale() 216 testDateTime(DateFormat.SHORT, DateFormat.MEDIUM); in test_getDateTimeInstanceII() 220 testDateTime(DateFormat.MEDIUM, DateFormat.SHORT); in test_getDateTimeInstanceII() 221 testDateTime(DateFormat.MEDIUM, DateFormat.MEDIUM); in test_getDateTimeInstanceII() 222 testDateTime(DateFormat.MEDIUM, DateFormat.LONG); in test_getDateTimeInstanceII() 223 testDateTime(DateFormat.MEDIUM, DateFormat.FULL); in test_getDateTimeInstanceII() 226 testDateTime(DateFormat.LONG, DateFormat.MEDIUM); in test_getDateTimeInstanceII() [all …]
|
D | MessageFormatTest.java | 418 .equals(DateFormat.getTimeInstance(DateFormat.MEDIUM))); in test_applyPatternLjava_lang_String() 447 .equals(DateFormat.getDateInstance(DateFormat.MEDIUM))); in test_applyPatternLjava_lang_String()
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | DateFormatTest.java | 36 checkTimePattern(DateFormat.MEDIUM, "h:mm:ss a"); in testIs24Hour_notCached() 40 checkTimePattern(DateFormat.MEDIUM, "HH:mm:ss"); in testIs24Hour_notCached() 44 checkTimePattern(DateFormat.MEDIUM, "h:mm:ss a"); in testIs24Hour_notCached()
|
D | OldDateFormatTest.java | 298 format = DateFormat.getDateInstance(DateFormat.MEDIUM, Locale.US); in test_parseLString()
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestDateTimeFormatterBuilder.java | 910 …{FormatStyle.MEDIUM, FormatStyle.MEDIUM, IsoChronology.INSTANCE, Locale.US, "MMM d, y, h:mm:ss a"}, in localizedDateTimePatterns() 914 {FormatStyle.MEDIUM, null, IsoChronology.INSTANCE, Locale.US, "MMM d, y"}, in localizedDateTimePatterns() 918 {null, FormatStyle.MEDIUM, IsoChronology.INSTANCE, Locale.US, "h:mm:ss a"}, in localizedDateTimePatterns() 924 …{FormatStyle.MEDIUM, FormatStyle.MEDIUM, IsoChronology.INSTANCE, Locale.FRENCH, "d MMM y 'à' HH:mm… in localizedDateTimePatterns() 928 {FormatStyle.MEDIUM, null, IsoChronology.INSTANCE, Locale.FRENCH, "d MMM y"}, in localizedDateTimePatterns() 932 {null, FormatStyle.MEDIUM, IsoChronology.INSTANCE, Locale.FRENCH, "HH:mm:ss"}, in localizedDateTimePatterns() 938 …{FormatStyle.MEDIUM, FormatStyle.MEDIUM, JapaneseChronology.INSTANCE, Locale.JAPANESE, "Gy\u5e74M\… in localizedDateTimePatterns() 942 …{FormatStyle.MEDIUM, null, JapaneseChronology.INSTANCE, Locale.JAPANESE, "Gy\u5e74M\u6708d\u65e5"}, in localizedDateTimePatterns() 946 {null, FormatStyle.MEDIUM, JapaneseChronology.INSTANCE, Locale.JAPANESE, "H:mm:ss"}, in localizedDateTimePatterns() 952 …{FormatStyle.MEDIUM, FormatStyle.MEDIUM, MinguoChronology.INSTANCE, Locale.CHINESE, "Gy\u5e74M\u67… in localizedDateTimePatterns() [all …]
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | FormatStyle.java | 92 MEDIUM, enumConstant
|
/libcore/ojluni/src/main/java/com/sun/nio/file/ |
D | SensitivityWatchEventModifier.java | 45 MEDIUM(10), enumConstant
|
/libcore/luni/src/main/java/libcore/icu/ |
D | LocaleData.java | 209 case DateFormat.MEDIUM: in getDateFormat() 227 case DateFormat.MEDIUM: in getTimeFormat()
|
/libcore/ojluni/src/main/java/java/text/ |
D | DateFormat.java | 434 public static final int MEDIUM = 2; field in DateFormat 442 public static final int DEFAULT = MEDIUM;
|
D | MessageFormat.java | 1417 DateFormat.MEDIUM,
|
/libcore/ojluni/annotations/mmodule/java/text/ |
D | DateFormat.annotated.java | 139 public static final int MEDIUM = 2; // 0x2 field in DateFormat
|
/libcore/ojluni/annotations/hiddenapi/java/text/ |
D | DateFormat.java | 201 public static final int MEDIUM = 2; // 0x2 field in DateFormat
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | PollingWatchService.java | 103 SensitivityWatchEventModifier sensivity = SensitivityWatchEventModifier.MEDIUM; in register()
|
/libcore/ojluni/annotations/sdk/nullability/java/text/ |
D | DateFormat.annotated.java | 136 public static final int MEDIUM = 2; // 0x2 field in DateFormat
|
/libcore/ojluni/src/main/java/sun/net/ftp/impl/ |
D | FtpClient.java | 109 private DateFormat df = DateFormat.getDateInstance(DateFormat.MEDIUM, java.util.Locale.US);
|