Home
last modified time | relevance | path

Searched refs:DAY_OF_WEEK_IN_MONTH (Results 1 – 10 of 10) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/
DGregorianCalendarTest.java132 assertEquals(3, gc.getActualMaximum(Calendar.DAY_OF_WEEK_IN_MONTH)); in test_fieldsAffectedByGregorianCutOver()
133 assertEquals(3, gc.getLeastMaximum(Calendar.DAY_OF_WEEK_IN_MONTH)); in test_fieldsAffectedByGregorianCutOver()
153 assertEquals(5, gc.getActualMaximum(Calendar.DAY_OF_WEEK_IN_MONTH)); in test_fieldsAffectedByGregorianCutOver()
154 assertEquals(4, gc.getLeastMaximum(Calendar.DAY_OF_WEEK_IN_MONTH)); in test_fieldsAffectedByGregorianCutOver()
/libcore/ojluni/src/main/java/java/util/
DCalendar.java489 public final static int DAY_OF_WEEK_IN_MONTH = 8; field in Calendar
921 final static int DAY_OF_WEEK_IN_MONTH_MASK = (1 << DAY_OF_WEEK_IN_MONTH);
1728 int dowimStamp = aggregateStamp(stamp[DAY_OF_WEEK_IN_MONTH], dowStamp); in selectFields()
1752 dowimStamp = Math.max(stamp[DAY_OF_WEEK_IN_MONTH], dowStamp); in selectFields()
1767 (bestStamp == dowimStamp && stamp[DAY_OF_WEEK_IN_MONTH] >= stamp[WEEK_OF_YEAR])) { in selectFields()
1779 if (stamp[WEEK_OF_MONTH] >= stamp[DAY_OF_WEEK_IN_MONTH]) { in selectFields()
1789 if (stamp[DAY_OF_WEEK_IN_MONTH] != UNSET) { in selectFields()
DGregorianCalendar.java1002 case DAY_OF_WEEK_IN_MONTH:
1429 case DAY_OF_WEEK_IN_MONTH: in roll()
1517 case DAY_OF_WEEK_IN_MONTH: in getMaximum()
1594 case DAY_OF_WEEK_IN_MONTH: in getLeastMaximum()
1835 case DAY_OF_WEEK_IN_MONTH: in getActualMaximum()
2438 internalSet(DAY_OF_WEEK_IN_MONTH, relativeDayOfMonth / 7 + 1); in computeFields()
3003 if (isFieldSet(fieldMask, DAY_OF_WEEK_IN_MONTH)) { in getFixedDate()
3004 dowim = internalGet(DAY_OF_WEEK_IN_MONTH); in getFixedDate()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DSupport_SimpleDateFormat.java87 t_FormatWithField(12, format, date, null, Field.DAY_OF_WEEK_IN_MONTH, 125, 126); in t_format_with_FieldPosition()
116 t_FormatWithField(34, format, date, null, Field.DAY_OF_WEEK_IN_MONTH, 0, 0); in t_format_with_FieldPosition()
242 v.add(new FieldContainer(125, 126, Field.DAY_OF_WEEK_IN_MONTH)); in getDateVector4()
243 v.add(new FieldContainer(127, 129, Field.DAY_OF_WEEK_IN_MONTH)); in getDateVector4()
DFieldPositionTest.java176 DateFormat.Field.DAY_OF_WEEK_IN_MONTH); in test_hashCode()
/libcore/ojluni/src/main/java/java/text/
DDateFormat.java967 public final static Field DAY_OF_WEEK_IN_MONTH = field in DateFormat.Field
969 Calendar.DAY_OF_WEEK_IN_MONTH);
DSimpleDateFormat.java1028 Calendar.DAY_OF_YEAR, Calendar.DAY_OF_WEEK_IN_MONTH,
1064 Field.DAY_OF_YEAR, Field.DAY_OF_WEEK_IN_MONTH,
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DCalendarTest.java98 cal.set(Calendar.DAY_OF_WEEK_IN_MONTH, 2); in test_setII()
166 cal.set(Calendar.DAY_OF_WEEK_IN_MONTH, 1); in test_setII()
178 cal.set(Calendar.DAY_OF_WEEK_IN_MONTH, 2); in test_setII()
189 cal.set(Calendar.DAY_OF_WEEK_IN_MONTH, 1); in test_setII()
337 cal.set(Calendar.DAY_OF_WEEK_IN_MONTH, 1); in test_setII()
DGregorianCalendarTest.java270 gc1.add(Calendar.DAY_OF_WEEK_IN_MONTH, 1); in test_addII()
328 .getActualMaximum(Calendar.DAY_OF_WEEK_IN_MONTH)); in test_getActualMaximumI()
373 .getActualMinimum(Calendar.DAY_OF_WEEK_IN_MONTH)); in test_getActualMinimumI()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DSerializationStressTest4.java1767 DateFormat.Field.DAY_OF_WEEK_IN_MONTH }; in test_writeObject_DateFormat_Field()