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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
H A DSupport_SimpleDateFormat.java87 t_FormatWithField(12, format, date, null, Field.DAY_OF_WEEK_IN_MONTH, 125, 126);
116 t_FormatWithField(34, format, date, null, Field.DAY_OF_WEEK_IN_MONTH, 0, 0);
242 v.add(new FieldContainer(125, 126, Field.DAY_OF_WEEK_IN_MONTH));
243 v.add(new FieldContainer(127, 129, Field.DAY_OF_WEEK_IN_MONTH));
H A DFieldPositionTest.java176 DateFormat.Field.DAY_OF_WEEK_IN_MONTH);
/libcore/luni/src/test/java/libcore/java/util/
H A DGregorianCalendarTest.java132 assertEquals(3, gc.getActualMaximum(Calendar.DAY_OF_WEEK_IN_MONTH));
133 assertEquals(3, gc.getLeastMaximum(Calendar.DAY_OF_WEEK_IN_MONTH));
153 assertEquals(5, gc.getActualMaximum(Calendar.DAY_OF_WEEK_IN_MONTH));
154 assertEquals(4, gc.getLeastMaximum(Calendar.DAY_OF_WEEK_IN_MONTH));
/libcore/ojluni/src/main/java/java/util/
H A DCalendar.java164 * YEAR + MONTH + DAY_OF_WEEK_IN_MONTH + DAY_OF_WEEK
474 * through <code>7</code> always correspond to <code>DAY_OF_WEEK_IN_MONTH
476 * <code>DAY_OF_WEEK_IN_MONTH 2</code>, and so on.
477 * <code>DAY_OF_WEEK_IN_MONTH 0</code> indicates the week before
478 * <code>DAY_OF_WEEK_IN_MONTH 1</code>. Negative values count back from the
480 * <code>DAY_OF_WEEK = SUNDAY, DAY_OF_WEEK_IN_MONTH = -1</code>. Because
483 * days, <code>DAY_OF_WEEK_IN_MONTH -1</code> will overlap
484 * <code>DAY_OF_WEEK_IN_MONTH 5</code> and the end of <code>4</code>.
489 public final static int DAY_OF_WEEK_IN_MONTH = 8; field in class:Calendar
921 final static int DAY_OF_WEEK_IN_MONTH_MASK = (1 << DAY_OF_WEEK_IN_MONTH);
[all...]
H A DGregorianCalendar.java222 * <code>DAY_OF_WEEK_IN_MONTH<br></code>
284 * System.out.println("DAY_OF_WEEK_IN_MONTH: "
285 * + calendar.get(Calendar.DAY_OF_WEEK_IN_MONTH));
309 * System.out.println("DAY_OF_WEEK_IN_MONTH: "
310 * + calendar.get(Calendar.DAY_OF_WEEK_IN_MONTH));
425 * DAY_OF_WEEK_IN_MONTH -1 -1 4* 6
446 1, // DAY_OF_WEEK_IN_MONTH
1002 case DAY_OF_WEEK_IN_MONTH:
1429 case DAY_OF_WEEK_IN_MONTH:
1517 case DAY_OF_WEEK_IN_MONTH
[all...]
/libcore/ojluni/src/main/java/java/text/
H A DDateFormat.java226 * Useful constant for DAY_OF_WEEK_IN_MONTH field alignment.
967 public final static Field DAY_OF_WEEK_IN_MONTH = field in class:DateFormat.Field
969 Calendar.DAY_OF_WEEK_IN_MONTH);
H A DSimpleDateFormat.java1011 Calendar.DAY_OF_YEAR, Calendar.DAY_OF_WEEK_IN_MONTH,
1047 Field.DAY_OF_YEAR, Field.DAY_OF_WEEK_IN_MONTH,
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DCalendarTest.java98 cal.set(Calendar.DAY_OF_WEEK_IN_MONTH, 2);
166 cal.set(Calendar.DAY_OF_WEEK_IN_MONTH, 1);
174 // DAY_OF_WEEK_IN_MONTH has priority over WEEK_OF_YEAR
178 cal.set(Calendar.DAY_OF_WEEK_IN_MONTH, 2);
189 cal.set(Calendar.DAY_OF_WEEK_IN_MONTH, 1);
331 // MONTH/DATE has priority when DAY_OF_WEEK_IN_MONTH set last but
337 cal.set(Calendar.DAY_OF_WEEK_IN_MONTH, 1);
H A DGregorianCalendarTest.java270 gc1.add(Calendar.DAY_OF_WEEK_IN_MONTH, 1);
271 assertEquals("Wrong time after DAY_OF_WEEK_IN_MONTH change", 16, gc1
327 assertEquals("Wrong actual maximum value for DAY_OF_WEEK_IN_MONTH", 4, gc6
328 .getActualMaximum(Calendar.DAY_OF_WEEK_IN_MONTH));
372 assertEquals("Wrong actual minimum value for DAY_OF_WEEK_IN_MONTH", 1, gc6
373 .getActualMinimum(Calendar.DAY_OF_WEEK_IN_MONTH));
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DSerializationStressTest4.java1767 DateFormat.Field.DAY_OF_WEEK_IN_MONTH };

Completed in 809 milliseconds