Searched refs:ALL_STYLES (Results 1 – 2 of 2) sorted by relevance
688 public static final int ALL_STYLES = 0; field in Calendar1291 if (style == ALL_STYLES) { in getDisplayName()1319 if (style != ALL_STYLES && style != SHORT && style != LONG) { in checkStyle()1344 if (style == SHORT || style == ALL_STYLES) { in getDisplayNames()1347 if (style == LONG || style == ALL_STYLES) { in getDisplayNames()
910 String result = cal.getDisplayName(field, Calendar.ALL_STYLES, in test_getDisplayNameIILjava_util_Locale()936 cal.getDisplayName(Calendar.MONTH, Calendar.ALL_STYLES, Locale.US); in test_getDisplayNameIILjava_util_Locale()948 assertEquals(0, Calendar.ALL_STYLES); in test_getDisplayNamesIILjava_util_Locale()961 Calendar.ALL_STYLES, locale); in test_getDisplayNamesIILjava_util_Locale()