Home
last modified time | relevance | path

Searched refs:getDateTimeInstance (Results 1 – 14 of 14) sorted by relevance

/libcore/benchmarks/src/benchmarks/regression/
DDateFormatBenchmark.java41 DateFormat.getDateTimeInstance(); in timeGetDateTimeInstance()
47 DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT, locale1); in timeGetDateTimeInstance_multiple()
48 DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT, locale2); in timeGetDateTimeInstance_multiple()
49 DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT, locale3); in timeGetDateTimeInstance_multiple()
50 DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT, locale4); in timeGetDateTimeInstance_multiple()
/libcore/ojluni/src/main/java/java/text/
DDateFormat.java591 public static final DateFormat getDateTimeInstance() in getDateTimeInstance() method in DateFormat
610 public static final DateFormat getDateTimeInstance(int dateStyle, in getDateTimeInstance() method in DateFormat
625 getDateTimeInstance(int dateStyle, int timeStyle, Locale aLocale) in getDateTimeInstance() method in DateFormat
637 return getDateTimeInstance(SHORT, SHORT); in getInstance()
DMessageFormat.java1299 subFormatter = DateFormat.getDateTimeInstance( in subformat()
/libcore/luni/src/test/java/libcore/highmemorytest/java/text/
DDateFormatTest.java63 assertNonEmpty(DateFormat.getDateTimeInstance(formatStyle, formatStyle, locale) in test_format_allLocales()
82 assertSupportedSymbols(DateFormat.getDateTimeInstance( in test_toPattern_allLocales()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDateFormatTest.java193 .getDateTimeInstance(); in test_getDateTimeInstance()
195 assertTrue("Wrong default", f2.equals(DateFormat.getDateTimeInstance( in test_getDateTimeInstance()
205 .getDateTimeInstance(dStyle, tStyle); in testDateTime()
243 DateFormat.getDateTimeInstance(77, 66); in test_getDateTimeInstanceII()
252 .getDateTimeInstance(dStyle, tStyle, Locale.GERMAN); in testDateTimeLocale()
293 DateFormat.getDateTimeInstance(77, 66, Locale.GERMAN); in test_getDateTimeInstanceIILjava_util_Locale()
306 assertTrue("Wrong default", f2.equals(DateFormat.getDateTimeInstance( in test_getInstance()
DSimpleDateFormatTest.java50 assertTrue("Wrong default", f2.equals(DateFormat.getDateTimeInstance( in test_Constructor()
/libcore/ojluni/annotations/mmodule/java/text/
DDateFormat.annotated.java78 public static final java.text.DateFormat getDateTimeInstance() { throw new RuntimeException("Stub!"… in getDateTimeInstance() method in DateFormat
80 public static final java.text.DateFormat getDateTimeInstance(int dateStyle, int timeStyle) { throw … in getDateTimeInstance() method in DateFormat
82 public static final java.text.DateFormat getDateTimeInstance(int dateStyle, int timeStyle, java.uti… in getDateTimeInstance() method in DateFormat
/libcore/luni/src/test/java/libcore/java/text/
DDateFormatTest.java94 DateFormat df = DateFormat.getDateTimeInstance(DateFormat.DEFAULT, DateFormat.DEFAULT, in assertParse_lenient_en()
113 DateFormat df = DateFormat.getDateTimeInstance(DateFormat.DEFAULT, DateFormat.DEFAULT, in assertFormat_forBug266731719()
DOldDateFormatTest.java93 DateFormat format = DateFormat.getDateTimeInstance( in test_formatLjava_util_Date()
116 DateFormat format = DateFormat.getDateTimeInstance( in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition()
218 … DateFormat format = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT, Locale.US); in test_parseLString()
336 format = DateFormat.getDateTimeInstance(DateFormat.DEFAULT, DateFormat.SHORT, Locale.US); in test_parseLString()
361 format = DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.FULL, Locale.US); in test_parseLString()
DSimpleDateFormatTest.java72 DateFormat referencedDateFormat = DateFormat.getDateTimeInstance( in testDefaultConstructor_localeUS()
451 SimpleDateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT, null); in test_nullLocales()
/libcore/ojluni/annotations/hiddenapi/java/text/
DDateFormat.java101 public static final java.text.DateFormat getDateTimeInstance() { in getDateTimeInstance() method in DateFormat
105 public static final java.text.DateFormat getDateTimeInstance(int dateStyle, int timeStyle) { in getDateTimeInstance() method in DateFormat
109 public static final java.text.DateFormat getDateTimeInstance( in getDateTimeInstance() method in DateFormat
/libcore/ojluni/annotations/sdk/nullability/java/text/
DDateFormat.annotated.java78 @libcore.util.NonNull public static final java.text.DateFormat getDateTimeInstance() { throw new Ru… in getDateTimeInstance() method in DateFormat
80 @libcore.util.NonNull public static final java.text.DateFormat getDateTimeInstance(int dateStyle, i… in getDateTimeInstance() method in DateFormat
82 @libcore.util.NonNull public static final java.text.DateFormat getDateTimeInstance(int dateStyle, i… in getDateTimeInstance() method in DateFormat
/libcore/ojluni/src/main/java/java/util/
DDate.java1105 DateFormat formatter = DateFormat.getDateTimeInstance(); in toLocaleString()
/libcore/api/
Dcurrent.txt11030 method @NonNull public static final java.text.DateFormat getDateTimeInstance();
11031 method @NonNull public static final java.text.DateFormat getDateTimeInstance(int, int);
11032 …method @NonNull public static final java.text.DateFormat getDateTimeInstance(int, int, @NonNull ja…