/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()
|
D | ScannerBenchmark.java | 34 MEDIUM(100, 1_000), enumConstant
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKLocalizedPrinterParser.java | 127 {LocalDate.of(2012, 6, 30), FormatStyle.MEDIUM, DateFormat.MEDIUM, Locale.UK}, in data_date() 128 {LocalDate.of(2012, 6, 30), FormatStyle.MEDIUM, DateFormat.MEDIUM, Locale.US}, in data_date() 129 {LocalDate.of(2012, 6, 30), FormatStyle.MEDIUM, DateFormat.MEDIUM, Locale.FRANCE}, in data_date() 130 {LocalDate.of(2012, 6, 30), FormatStyle.MEDIUM, DateFormat.MEDIUM, Locale.JAPAN}, in data_date() 179 {LocalTime.of(11, 30), FormatStyle.MEDIUM, DateFormat.MEDIUM, Locale.UK}, in data_time() 180 {LocalTime.of(11, 30), FormatStyle.MEDIUM, DateFormat.MEDIUM, Locale.US}, in data_time() 181 {LocalTime.of(11, 30), FormatStyle.MEDIUM, DateFormat.MEDIUM, Locale.FRANCE}, in data_time() 182 {LocalTime.of(11, 30), FormatStyle.MEDIUM, DateFormat.MEDIUM, Locale.JAPAN}, in data_time()
|
D | TCKFormatStyle.java | 104 …me.of(LocalDateTime.of(2001, 10, 2, 1, 2, 3), ZONEID_PARIS), FormatStyle.MEDIUM, "2 Oct 2001, 01:0… in data_formatStyle() 109 …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 | 95 DateFormat.DEFAULT == DateFormat.MEDIUM); in test_getDateInstanceI() 107 f2 = (SimpleDateFormat) DateFormat.getDateInstance(DateFormat.MEDIUM); in test_getDateInstanceI() 110 DateFormat.MEDIUM, Locale.getDefault()))); in test_getDateInstanceI() 155 f2 = (SimpleDateFormat) DateFormat.getDateInstance(DateFormat.MEDIUM, in test_getDateInstanceILjava_util_Locale() 222 testDateTime(DateFormat.SHORT, DateFormat.MEDIUM); in test_getDateTimeInstanceII() 226 testDateTime(DateFormat.MEDIUM, DateFormat.SHORT); in test_getDateTimeInstanceII() 227 testDateTime(DateFormat.MEDIUM, DateFormat.MEDIUM); in test_getDateTimeInstanceII() 228 testDateTime(DateFormat.MEDIUM, DateFormat.LONG); in test_getDateTimeInstanceII() 229 testDateTime(DateFormat.MEDIUM, DateFormat.FULL); in test_getDateTimeInstanceII() 232 testDateTime(DateFormat.LONG, DateFormat.MEDIUM); in test_getDateTimeInstanceII() [all …]
|
D | MessageFormatTest.java | 419 .equals(DateFormat.getTimeInstance(DateFormat.MEDIUM))); in test_applyPatternLjava_lang_String() 448 .equals(DateFormat.getDateInstance(DateFormat.MEDIUM))); in test_applyPatternLjava_lang_String()
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestDateTimeFormatterBuilderWithLocale.java | 166 …{FormatStyle.MEDIUM, FormatStyle.MEDIUM, IsoChronology.INSTANCE, Locale.FRENCH, "d MMM y, HH:mm:ss… in localizedDateTimePatterns() 170 {FormatStyle.MEDIUM, null, IsoChronology.INSTANCE, Locale.FRENCH, "d MMM y"}, in localizedDateTimePatterns() 174 {null, FormatStyle.MEDIUM, IsoChronology.INSTANCE, Locale.FRENCH, "HH:mm:ss"}, in localizedDateTimePatterns() 180 …{FormatStyle.MEDIUM, FormatStyle.MEDIUM, JapaneseChronology.INSTANCE, Locale.JAPANESE, "Gy\u5e74M\… in localizedDateTimePatterns() 184 …{FormatStyle.MEDIUM, null, JapaneseChronology.INSTANCE, Locale.JAPANESE, "Gy\u5e74M\u6708d\u65e5"}, in localizedDateTimePatterns() 188 {null, FormatStyle.MEDIUM, JapaneseChronology.INSTANCE, Locale.JAPANESE, "H:mm:ss"}, in localizedDateTimePatterns() 198 …{FormatStyle.MEDIUM, FormatStyle.MEDIUM, MinguoChronology.INSTANCE, Locale.CHINESE, "Gy\u5e74M\u67… in localizedDateTimePatterns() 204 … {FormatStyle.MEDIUM, null, MinguoChronology.INSTANCE, Locale.CHINESE, "Gy\u5e74M\u6708d\u65e5"}, in localizedDateTimePatterns() 214 {null, FormatStyle.MEDIUM, MinguoChronology.INSTANCE, Locale.CHINESE, "HH:mm:ss"}, in localizedDateTimePatterns()
|
D | TestDateTimeFormatterBuilder.java | 1265 …{FormatStyle.MEDIUM, FormatStyle.MEDIUM, IsoChronology.INSTANCE, Locale.US, "MMM d, y, h:mm:ss\u20… in localizedDateTimePatterns() 1269 {FormatStyle.MEDIUM, null, IsoChronology.INSTANCE, Locale.US, "MMM d, y"}, in localizedDateTimePatterns() 1273 {null, FormatStyle.MEDIUM, IsoChronology.INSTANCE, Locale.US, "h:mm:ss\u202fa"}, in localizedDateTimePatterns()
|
D | TestUnicodeExtension.java | 819 {Locale.US, FormatStyle.MEDIUM, "MMM d, y, h:mm:ss a"}, in getLocalizedDateTimePattern() 823 {RG_GB, FormatStyle.MEDIUM, "d MMM y, HH:mm:ss"}, in getLocalizedDateTimePattern()
|
/libcore/luni/src/main/java/libcore/icu/ |
D | SimpleDateFormatData.java | 77 android.icu.text.DateFormat.NONE, android.icu.text.DateFormat.MEDIUM); in SimpleDateFormatData() 85 android.icu.text.DateFormat.MEDIUM, android.icu.text.DateFormat.NONE); in SimpleDateFormatData() 137 case DateFormat.MEDIUM: in getDateFormat() 165 case DateFormat.MEDIUM: in getTimeFormat()
|
/libcore/luni/src/test/java/libcore/highmemorytest/libcore/icu/ |
D | SimpleDateFormatDataTest.java | 47 assertNotEquals(0, d.getDateFormat(DateFormat.MEDIUM).length()); in testLongDateTimeFormat() 52 assertNotEquals(0, d.getTimeFormat(DateFormat.MEDIUM).length()); in testLongDateTimeFormat()
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | DateFormatTest.java | 47 checkTimePattern(DateFormat.MEDIUM, "h:mm:ss" + sep + "a"); in testIs24Hour_notCached() 51 checkTimePattern(DateFormat.MEDIUM, "HH:mm:ss"); in testIs24Hour_notCached() 55 checkTimePattern(DateFormat.MEDIUM, "h:mm:ss" + sep + "a"); in testIs24Hour_notCached()
|
D | OldDateFormatTest.java | 303 format = DateFormat.getDateInstance(DateFormat.MEDIUM, Locale.US); in test_parseLString()
|
/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/ojluni/src/main/java/java/text/ |
D | DateFormat.java | 479 public static final int MEDIUM = 2; field in DateFormat 487 public static final int DEFAULT = MEDIUM;
|
D | MessageFormat.java | 1435 DateFormat.MEDIUM,
|
/libcore/luni/src/test/java/libcore/java/time/chrono/ |
D | ChronoZonedDateTimeTest.java | 74 .appendLocalized(FormatStyle.MEDIUM, null) in testFormat()
|
/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);
|