Home
last modified time | relevance | path

Searched refs:getDisplayNames (Results 1 – 2 of 2) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DCalendarTest.java956 Map<String, Integer> shortResult = cal.getDisplayNames(field, in test_getDisplayNamesIILjava_util_Locale()
958 Map<String, Integer> longResult = cal.getDisplayNames(field, in test_getDisplayNamesIILjava_util_Locale()
960 Map<String, Integer> allResult = cal.getDisplayNames(field, in test_getDisplayNamesIILjava_util_Locale()
1004 cal.getDisplayNames(-1, Calendar.SHORT, Locale.US); in test_getDisplayNamesIILjava_util_Locale()
1010 cal.getDisplayNames(Calendar.FIELD_COUNT, Calendar.LONG, Locale.US); in test_getDisplayNamesIILjava_util_Locale()
1016 cal.getDisplayNames(Calendar.MONTH, -1, Locale.US); in test_getDisplayNamesIILjava_util_Locale()
1022 cal.getDisplayNames(Calendar.MONTH, 3, Locale.US); in test_getDisplayNamesIILjava_util_Locale()
1028 cal.getDisplayNames(Calendar.MONTH, Calendar.SHORT, null); in test_getDisplayNamesIILjava_util_Locale()
1034 cal.getDisplayNames(-1, Calendar.SHORT, null); in test_getDisplayNamesIILjava_util_Locale()
1040 cal.getDisplayNames(Calendar.MONTH, -1, null); in test_getDisplayNamesIILjava_util_Locale()
[all …]
/libcore/luni/src/main/java/java/util/
DCalendar.java1340 public Map<String, Integer> getDisplayNames(int field, int style, Locale locale) { in getDisplayNames() method in Calendar