Home
last modified time | relevance | path

Searched defs:df (Results 1 – 17 of 17) sorted by relevance

/libcore/luni/src/test/java/libcore/java/text/
DDecimalFormatTest.java33 DecimalFormat df = new DecimalFormat("0E0"); in test_exponentSeparator() local
43 DecimalFormat df = (DecimalFormat) DecimalFormat.getInstance(Locale.US); in test_setMaximumFractionDigitsAffectsRoundingMode() local
124 DecimalFormat df = (DecimalFormat) NumberFormat.getInstance(); in testBigDecimalICUConsistency() local
164 DecimalFormat df = (DecimalFormat)NumberFormat.getInstance(); in assertDecFmtWithMultiplierAndFraction() local
172 DecimalFormat df = (DecimalFormat)NumberFormat.getIntegerInstance(locale); in assertDecFmtWithMultiplierAndFractionByLocale() local
198 DecimalFormat df = (DecimalFormat) NumberFormat.getCurrencyInstance(Locale.US); in testBug9087737() local
206 DecimalFormat df = (DecimalFormat) NumberFormat.getCurrencyInstance(Locale.US); in testBug15081434() local
326 DecimalFormat df = new DecimalFormat(pattern, dfs); in assertCurrencyFormat() local
335 DecimalFormat df = new DecimalFormat("00"); in testBug27855939() local
435 android.icu.text.DecimalFormat df = new android.icu.text.DecimalFormat(pattern, in testPerMill() local
[all …]
DOldDateFormatTest.java168 DateFormat df = DateFormat.getInstance(); in test_isLenient() local
381 DateFormat df = DateFormat.getInstance(); in test_parseObjectLjava_lang_StringLjava_text_ParsePosition() local
446 DateFormat df = DateFormat.getInstance(); in test_setLenientZ() local
DSimpleDateFormatTest.java464 DateFormat df = DateFormat.getDateInstance(DateFormat.SHORT, new Locale("sl")); in test_sl_dates() local
500 SimpleDateFormat df = new SimpleDateFormat("dd MMM yyyy HH:mm:ss zzz"); in testTimeZoneNotChangedByParse() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDecimalFormatTest.java48 DecimalFormat df = new DecimalFormat(); in test_setNan_emptyString() local
339 DecimalFormat df = new DecimalFormat(); in test_parse_returnType() local
658 DecimalFormat df = new DecimalFormat(); in test_getNegativePrefix() local
664 DecimalFormat df = new DecimalFormat(); in test_getNegativeSuffix() local
670 DecimalFormat df = new DecimalFormat(); in test_getPositivePrefix() local
676 DecimalFormat df = new DecimalFormat(); in test_getPositiveSuffix() local
1037 DecimalFormat df = new DecimalFormat("###0.##", new DecimalFormatSymbols(Locale.US)); in test_formatDouble_maximumFractionDigits() local
1054 DecimalFormat df = new DecimalFormat("###0.##", new DecimalFormatSymbols(Locale.US)); in test_formatDouble_minimumFractionDigits() local
1083 DecimalFormat df = new DecimalFormat("00.0#E0", dfs); in test_formatDouble_scientificNotation() local
1308 DecimalFormat df = new DecimalFormat("00.0#E0", dfs); in test_formatDouble_scientificNotationMinusZero() local
[all …]
DParseExceptionTest.java32 DateFormat df = DateFormat.getInstance(); in test_ConstructorLjava_lang_StringI() local
45 DateFormat df = DateFormat.getInstance(); in test_getErrorOffset() local
DSimpleDateFormatTest.java215 SimpleDateFormat df = new SimpleDateFormat(); in test_equals_afterFormat() local
518 SimpleDateFormat df = (SimpleDateFormat) DateFormat.getInstance(); in test_getDateFormatSymbols() local
787 SimpleDateFormat df = new SimpleDateFormat(pattern, new Locale("en", "US")); in assertParse() local
794 SimpleDateFormat df = new SimpleDateFormat(pattern, new Locale("en", "US")); in assertFormat() local
/libcore/benchmarks/src/benchmarks/regression/
DExpensiveObjectsBenchmark.java34 DateFormat df = DateFormat.getTimeInstance(DateFormat.SHORT); in timeNewDateFormatTimeInstance() local
40 DateFormat df = DateFormat.getTimeInstance(DateFormat.SHORT); in timeClonedDateFormatTimeInstance() local
47 DateFormat df = DateFormat.getTimeInstance(DateFormat.SHORT); in timeReusedDateFormatTimeInstance() local
DDecimalFormatBenchmark.java12 private static final DecimalFormat df = (DecimalFormat) DecimalFormat.getInstance(); field in DecimalFormatBenchmark
/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestReducedParser.java414 DateTimeFormatter df in test_reducedWithChronoYear() local
432 DateTimeFormatter df in test_reducedWithChronoYearOfEra() local
451 DateTimeFormatter df in test_reducedWithLateChronoChange() local
473 DateTimeFormatter df in test_reducedWithLateChronoChangeTwice() local
/libcore/luni/src/test/java/libcore/libcore/icu/
DLocaleDataTest.java340 SimpleDateFormat df = new SimpleDateFormat("MMM", Locale.ROOT); in test_rootLocale_useRealRootLocaleData() local
353 SimpleDateFormat df = new SimpleDateFormat("MMM", Locale.ROOT); in test_rootLocale_notUseRealRootLocaleData() local
/libcore/luni/src/main/java/libcore/icu/
DLocaleData.java392 DecimalFormat df = (DecimalFormat) NumberFormat in initializeDecimalFormatData() local
/libcore/ojluni/src/main/java/sun/net/ftp/impl/
DFtpClient.java109 private DateFormat df = DateFormat.getDateInstance(DateFormat.MEDIUM, java.util.Locale.US); field in FtpClient
294 private SimpleDateFormat df = new SimpleDateFormat("yyyyMMddhhmmss"); field in FtpClient.MLSxParser
/libcore/support/src/test/java/tests/support/
DSupport_TestWebServer.java737 SimpleDateFormat df = new SimpleDateFormat("EE, dd MMM yyyy HH:mm:ss z"); in printHeaders() local
/libcore/dalvik/src/main/java/dalvik/system/
DDexFile.java324 DFEnum(DexFile df) { in DFEnum()
/libcore/ojluni/src/main/java/java/text/
DMessageFormat.java554 DateFormat df = DateFormat.getDateInstance(DATE_TIME_MODIFIERS[index], in toPattern() local
/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestUmmAlQuraChronology.java468 …DateTimeFormatter df = DateTimeFormatter.ofLocalizedDate(FormatStyle.LONG).withChronology(Chronolo… in test_formatterOfLocalizedDate() local
/libcore/ojluni/src/main/java/java/util/
DScanner.java1202 DecimalFormat df = in useLocale() local