Searched refs:FIELD_COUNT (Results 1 - 6 of 6) sorted by relevance

/libcore/ojluni/src/main/java/java/text/
H A DCalendarBuilder.java34 * {@link Calendar#FIELD_COUNT FIELD_COUNT}-th field for the week year
52 private static final int MAX_FIELD = FIELD_COUNT + 1;
54 public static final int WEEK_YEAR = FIELD_COUNT;
75 if (index > maxFieldIndex && index < FIELD_COUNT) {
H A DDateFormat.java816 new Field[Calendar.FIELD_COUNT];
858 // assert(calendarField < Calendar.FIELD_COUNT);
/libcore/ojluni/src/main/java/java/util/
H A DCalendar.java567 * Field numbers range from <code>0..FIELD_COUNT-1</code>.
569 public final static int FIELD_COUNT = 17; field in class:Calendar
748 * This is an array of <code>FIELD_COUNT</code> integers, with index values
758 * This is an array of <code>FIELD_COUNT</code> booleans, with index values
865 static final int ALL_FIELDS = (1 << FIELD_COUNT) - 1;
957 fields = new int[FIELD_COUNT];
958 isSet = new boolean[FIELD_COUNT];
959 stamp = new int[FIELD_COUNT];
1138 * (<code>field &lt; 0 || field &gt;= FIELD_COUNT</code>).
1167 * (<code>field &lt; 0 || field &gt;= FIELD_COUNT</cod
[all...]
H A DGregorianCalendar.java2583 originalFields = new int[FIELD_COUNT];
2585 for (int field = 0; field < FIELD_COUNT; field++) {
2743 for (int field = 0; field < FIELD_COUNT; field++) {
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
H A DDataFormatFieldTest.java151 DateFormat.Field.ofCalendarField(Calendar.FIELD_COUNT);
152 fail("Expected IllegalArgumentException for ofCalendarField(Calendar.FIELD_COUNT)");
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DCalendarTest.java629 for (int i = 0; i < Calendar.FIELD_COUNT; i++) {
796 for (int field = 0; field < Calendar.FIELD_COUNT; field++) {
869 cal.getDisplayName(Calendar.FIELD_COUNT, Calendar.LONG, Locale.US);
908 for (int field = 0; field < Calendar.FIELD_COUNT; field++) {
954 for (int field = 0; field < Calendar.FIELD_COUNT; field++) {
1010 cal.getDisplayNames(Calendar.FIELD_COUNT, Calendar.LONG, Locale.US);

Completed in 308 milliseconds