Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/text/
DDateFormat.java410 public static final DateFormat getDateTimeInstance() { in getDateTimeInstance() method in DateFormat
411 return getDateTimeInstance(DEFAULT, DEFAULT); in getDateTimeInstance()
428 public static final DateFormat getDateTimeInstance(int dateStyle, int timeStyle) { in getDateTimeInstance() method in DateFormat
431 return getDateTimeInstance(dateStyle, timeStyle, Locale.getDefault()); in getDateTimeInstance()
450 … public static final DateFormat getDateTimeInstance(int dateStyle, int timeStyle, Locale locale) { in getDateTimeInstance() method in DateFormat
469 return getDateTimeInstance(SHORT, SHORT); in getInstance()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDateFormatTest.java53 DateFormat f1 = DateFormat.getDateTimeInstance(DateFormat.SHORT, in test_getAvailableLocales()
188 .getDateTimeInstance(); in test_getDateTimeInstance()
190 assertTrue("Wrong default", f2.equals(DateFormat.getDateTimeInstance( in test_getDateTimeInstance()
200 .getDateTimeInstance(dStyle, tStyle); in testDateTime()
240 DateFormat.getDateTimeInstance(77, 66); in test_getDateTimeInstanceII()
249 .getDateTimeInstance(dStyle, tStyle, Locale.GERMAN); in testDateTimeLocale()
290 DateFormat.getDateTimeInstance(77, 66, Locale.GERMAN); in test_getDateTimeInstanceIILjava_util_Locale()
303 assertTrue("Wrong default", f2.equals(DateFormat.getDateTimeInstance( in test_getInstance()
DSimpleDateFormatTest.java56 assertTrue("Wrong default", f2.equals(DateFormat.getDateTimeInstance( in test_Constructor()
/libcore/luni/src/test/java/libcore/java/text/
DOldDateFormatTest.java89 DateFormat format = DateFormat.getDateTimeInstance( in test_formatLjava_util_Date()
107 DateFormat format = DateFormat.getDateTimeInstance( in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition()
207 … DateFormat format = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT, Locale.US); in test_parseLString()
325 format = DateFormat.getDateTimeInstance(DateFormat.DEFAULT, DateFormat.SHORT, Locale.US); in test_parseLString()
350 format = DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.FULL, Locale.US); in test_parseLString()
DSimpleDateFormatTest.java372 SimpleDateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT, null); in test_nullLocales()
/libcore/luni/src/main/java/java/util/
DDate.java687 return DateFormat.getDateTimeInstance().format(this); in toLocaleString()