Searched refs:WEEK_OF_MONTH (Results 1 – 7 of 7) sorted by relevance
/libcore/luni/src/main/java/java/util/ |
D | GregorianCalendar.java | 432 case WEEK_OF_MONTH: in add() 556 fields[WEEK_OF_MONTH] = (date - 1 + mod7(days - date - 2 in fullFieldsCalc() 638 if (isSet[WEEK_OF_MONTH] in computeTime() 639 && (fields[WEEK_OF_MONTH] < 1 || fields[WEEK_OF_MONTH] > 6)) { in computeTime() 692 boolean weekMonthSet = isSet[WEEK_OF_MONTH] in computeTime() 727 … || lastDateFieldSet == WEEK_OF_MONTH || lastDateFieldSet == DAY_OF_WEEK_IN_MONTH)) { in computeTime() 744 if (isSet[WEEK_OF_MONTH] in computeTime() 747 days += (fields[WEEK_OF_MONTH] - 1) * 7 in computeTime() 930 case WEEK_OF_MONTH: in getActualMaximum() 932 result = get(WEEK_OF_MONTH); in getActualMaximum() [all …]
|
D | Calendar.java | 522 public static final int WEEK_OF_MONTH = 4; field in Calendar
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | Support_SimpleDateFormat.java | 89 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/main/java/java/text/ |
D | DateFormat.java | 766 public static final Field WEEK_OF_MONTH = new Field("week of month", field in DateFormat.Field 767 Calendar.WEEK_OF_MONTH);
|
D | SimpleDateFormat.java | 650 dateFormatField = Field.WEEK_OF_MONTH; in append() 651 field = Calendar.WEEK_OF_MONTH; in append() 925 field = Calendar.WEEK_OF_MONTH; in parse()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | CalendarTest.java | 92 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()
|
D | GregorianCalendarTest.java | 250 gc1.add(Calendar.WEEK_OF_MONTH, 1); in test_addII()
|