Home
last modified time | relevance | path

Searched refs:WEEK_OF_MONTH (Results 1 – 17 of 17) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
DCalendar.java422 public final static int WEEK_OF_MONTH = 4; field in Calendar
1004 final static int WEEK_OF_MONTH_MASK = (1 << WEEK_OF_MONTH);
2449 int womStamp = aggregateStamp(stamp[WEEK_OF_MONTH], dowStamp); in selectFields()
2473 womStamp = stamp[WEEK_OF_MONTH]; in selectFields()
2488 (bestStamp == womStamp && stamp[WEEK_OF_MONTH] >= stamp[WEEK_OF_YEAR]) || in selectFields()
2501 if (stamp[WEEK_OF_MONTH] >= stamp[DAY_OF_WEEK_IN_MONTH]) { in selectFields()
3260 if (field == WEEK_OF_YEAR || field == WEEK_OF_MONTH) { in getActualMaximum()
3464 if (stamp[WEEK_OF_MONTH] != COMPUTED && in invalidateWeekFields()
3474 cal.clear(WEEK_OF_MONTH); in invalidateWeekFields()
3477 if (stamp[WEEK_OF_MONTH] == COMPUTED) { in invalidateWeekFields()
[all …]
DGregorianCalendar.java1035 case WEEK_OF_MONTH:
1357 case WEEK_OF_MONTH: in roll()
1574 case WEEK_OF_MONTH: in getMaximum()
1653 case WEEK_OF_MONTH: in getLeastMaximum()
1858 case WEEK_OF_MONTH: in getActualMaximum()
1891 value = gc.get(WEEK_OF_MONTH); in getActualMaximum()
1892 gc.add(WEEK_OF_MONTH, +1); in getActualMaximum()
2609 internalSet(WEEK_OF_MONTH, getWeekNumber(fixedDateMonth1, fixedDate)); in computeFields()
3052 if (isFieldSet(fieldMask, WEEK_OF_MONTH)) { in getFixedDate()
3067 fixedDate = firstDayOfWeek + 7 * (internalGet(WEEK_OF_MONTH) - 1); in getFixedDate()
DJapaneseImperialCalendar.java469 case WEEK_OF_MONTH: in add()
822 case WEEK_OF_MONTH: in roll()
1425 case WEEK_OF_MONTH: in getActualMaximum()
1810 internalSet(WEEK_OF_MONTH, getWeekNumber(fixedDateMonth1, fixedDate)); in computeFields()
2057 if (isFieldSet(fieldMask, WEEK_OF_MONTH)) { in getFixedDate()
2072 fixedDate = firstDayOfWeek + 7 * (internalGet(WEEK_OF_MONTH) - 1); in getFixedDate()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DSupport_SimpleDateFormat.java89 t_FormatWithField(14, format, date, null, Field.WEEK_OF_MONTH, 137, 138); in t_format_with_FieldPosition()
118 t_FormatWithField(36, format, date, null, Field.WEEK_OF_MONTH, 0, 0); in t_format_with_FieldPosition()
174 v.add(new FieldContainer(3, 4, Field.WEEK_OF_MONTH)); in getDateVector2()
246 v.add(new FieldContainer(137, 138, Field.WEEK_OF_MONTH)); in getDateVector4()
247 v.add(new FieldContainer(139, 142, Field.WEEK_OF_MONTH)); in getDateVector4()
/libcore/luni/src/test/java/libcore/java/util/
DGregorianCalendarTest.java130 assertEquals(3, gc.getActualMaximum(Calendar.WEEK_OF_MONTH)); in test_fieldsAffectedByGregorianCutOver()
131 assertEquals(3, gc.getLeastMaximum(Calendar.WEEK_OF_MONTH)); in test_fieldsAffectedByGregorianCutOver()
151 assertEquals(5, gc.getActualMaximum(Calendar.WEEK_OF_MONTH)); in test_fieldsAffectedByGregorianCutOver()
152 assertEquals(4, gc.getLeastMaximum(Calendar.WEEK_OF_MONTH)); in test_fieldsAffectedByGregorianCutOver()
DCalendarWeekOfMonthTest.java225 assertEquals(toString(), expectedWeekOfMonth, calendar.get(Calendar.WEEK_OF_MONTH)); in test()
/libcore/ojluni/annotations/hiddenapi/java/text/
DDateFormat.java340 public static final java.text.DateFormat.Field WEEK_OF_MONTH; field in DateFormat.Field
343 WEEK_OF_MONTH = null;
/libcore/ojluni/annotations/mmodule/java/text/
DDateFormat.annotated.java221 public static final java.text.DateFormat.Field WEEK_OF_MONTH; field in DateFormat.Field
222 static { WEEK_OF_MONTH = null; }
/libcore/ojluni/src/main/java/java/text/
DDateFormat.java1024 public final static Field WEEK_OF_MONTH = new field in DateFormat.Field
1025 Field("week of month", Calendar.WEEK_OF_MONTH);
DSimpleDateFormat.java1145 Calendar.WEEK_OF_MONTH,
1211 Field.WEEK_OF_MONTH,
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DCalendarTest.java92 cal.set(Calendar.WEEK_OF_MONTH, 2); in test_setII()
167 cal.set(Calendar.WEEK_OF_MONTH, 3); in test_setII()
190 cal.set(Calendar.WEEK_OF_MONTH, 3); in test_setII()
220 cal.set(Calendar.WEEK_OF_MONTH, 1); in test_setII()
230 cal.set(Calendar.WEEK_OF_MONTH, 3); in test_setII()
315 cal.set(Calendar.WEEK_OF_MONTH, 1); in test_setII()
357 cal.set(Calendar.WEEK_OF_MONTH, 1); in test_setII()
DGregorianCalendarTest.java266 gc1.add(Calendar.WEEK_OF_MONTH, 1); in test_addII()
/libcore/ojluni/annotations/sdk/nullability/java/text/
DDateFormat.annotated.java216 @libcore.util.NonNull public static final java.text.DateFormat.Field WEEK_OF_MONTH; field in DateFormat.Field
217 static { WEEK_OF_MONTH = null; }
/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestIsoChronoImpl.java145 int jweekOfMonth = cal.get(Calendar.WEEK_OF_MONTH); in test_DayOfWeek_IsoChronology_vsCalendar()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DCalendar.annotated.java254 public static final int WEEK_OF_MONTH = 4; // 0x4 field in Calendar
/libcore/ojluni/annotations/hiddenapi/java/util/
DCalendar.java541 public static final int WEEK_OF_MONTH = 4; // 0x4 field in Calendar
/libcore/api/
Dcurrent.txt10292 field @NonNull public static final java.text.DateFormat.Field WEEK_OF_MONTH;
12561 field public static final int WEEK_OF_MONTH = 4; // 0x4