Home
last modified time | relevance | path

Searched refs:FIELD_COUNT (Results 1 – 5 of 5) sorted by relevance

/libcore/luni/src/main/java/java/util/
DCalendar.java669 public static final int FIELD_COUNT = 17; field in Calendar
718 fields = new int[FIELD_COUNT]; in Calendar()
719 isSet = new boolean[FIELD_COUNT]; in Calendar()
794 for (int i = 0; i < FIELD_COUNT; i++) { in clear()
1231 for (int i = 0; i < FIELD_COUNT; i++) { in toString()
1300 if (field < 0 || field >= FIELD_COUNT) { in getDisplayNameArray()
DGregorianCalendar.java601 for (int i = 0; i < FIELD_COUNT; i++) { in computeFields()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDataFormatFieldTest.java151 DateFormat.Field.ofCalendarField(Calendar.FIELD_COUNT); in test_ofCalendarFieldI()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DCalendarTest.java629 for (int i = 0; i < Calendar.FIELD_COUNT; i++) { in test_isSet()
796 for (int field = 0; field < Calendar.FIELD_COUNT; field++) { in test_getDisplayNameIILjava_util_Locale()
869 cal.getDisplayName(Calendar.FIELD_COUNT, Calendar.LONG, Locale.US); in test_getDisplayNameIILjava_util_Locale()
908 for (int field = 0; field < Calendar.FIELD_COUNT; field++) { in test_getDisplayNameIILjava_util_Locale()
954 for (int field = 0; field < Calendar.FIELD_COUNT; field++) { in test_getDisplayNamesIILjava_util_Locale()
1010 cal.getDisplayNames(Calendar.FIELD_COUNT, Calendar.LONG, Locale.US); in test_getDisplayNamesIILjava_util_Locale()
/libcore/luni/src/main/java/java/text/
DDateFormat.java833 if (calendarField < 0 || calendarField >= Calendar.FIELD_COUNT) { in ofCalendarField()