Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/util/
DGregorianCalendar.java433 case DAY_OF_WEEK_IN_MONTH: in add()
555 fields[DAY_OF_WEEK_IN_MONTH] = (date - 1) / 7 + 1; in fullFieldsCalc()
634 if (isSet[DAY_OF_WEEK_IN_MONTH] in computeTime()
635 && (fields[DAY_OF_WEEK_IN_MONTH] < 1 || fields[DAY_OF_WEEK_IN_MONTH] > 6)) { in computeTime()
693 || isSet[DAY_OF_WEEK_IN_MONTH]; in computeTime()
727 … || lastDateFieldSet == WEEK_OF_MONTH || lastDateFieldSet == DAY_OF_WEEK_IN_MONTH)) { in computeTime()
745 && lastDateFieldSet != DAY_OF_WEEK_IN_MONTH) { in computeTime()
749 } else if (isSet[DAY_OF_WEEK_IN_MONTH]) { in computeTime()
750 if (fields[DAY_OF_WEEK_IN_MONTH] >= 0) { in computeTime()
752 + (fields[DAY_OF_WEEK_IN_MONTH] - 1) * 7; in computeTime()
[all …]
DSimpleTimeZone.java857 sEndDay = cal.get(Calendar.DAY_OF_WEEK_IN_MONTH); in writeObject()
865 sStartDay = cal.get(Calendar.DAY_OF_WEEK_IN_MONTH); in writeObject()
DCalendar.java590 public static final int DAY_OF_WEEK_IN_MONTH = 8; field in Calendar
/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/luni/src/main/java/java/text/
DDateFormat.java754 public static final Field DAY_OF_WEEK_IN_MONTH = new Field("day of week in month", field in DateFormat.Field
755 Calendar.DAY_OF_WEEK_IN_MONTH);
DSimpleDateFormat.java642 dateFormatField = Field.DAY_OF_WEEK_IN_MONTH; in append()
643 field = Calendar.DAY_OF_WEEK_IN_MONTH; in append()
919 field = Calendar.DAY_OF_WEEK_IN_MONTH; in parse()
/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.java254 gc1.add(Calendar.DAY_OF_WEEK_IN_MONTH, 1); in test_addII()
312 .getActualMaximum(Calendar.DAY_OF_WEEK_IN_MONTH)); in test_getActualMaximumI()
357 .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()