Home
last modified time | relevance | path

Searched refs:WEEK_OF_YEAR (Results 1 – 5 of 5) sorted by relevance

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DCalendarTest.java104 cal.set(Calendar.WEEK_OF_YEAR, 11); in test_setII()
111 cal.set(Calendar.WEEK_OF_YEAR, 11); in test_setII()
117 cal.get(Calendar.WEEK_OF_YEAR); // Force fields to compute in test_setII()
118 cal.set(Calendar.WEEK_OF_YEAR, 11); in test_setII()
126 cal.set(Calendar.WEEK_OF_YEAR, 11); in test_setII()
136 cal.set(Calendar.WEEK_OF_YEAR, 11); in test_setII()
165 cal.set(Calendar.WEEK_OF_YEAR, 12); in test_setII()
177 cal.set(Calendar.WEEK_OF_YEAR, 12); in test_setII()
188 cal.set(Calendar.WEEK_OF_YEAR, 12); in test_setII()
199 cal.set(Calendar.WEEK_OF_YEAR, 11); in test_setII()
[all …]
DGregorianCalendarTest.java251 gc1.add(Calendar.WEEK_OF_YEAR, 1); in test_addII()
442 assertEquals(gc.getActualMaximum(Calendar.WEEK_OF_YEAR), gc in test_getLeastMaximumI()
443 .getLeastMaximum(Calendar.WEEK_OF_YEAR)); in test_getLeastMaximumI()
576 cal.roll(Calendar.WEEK_OF_YEAR, true); in test_rollIZ()
586 cal.roll(Calendar.WEEK_OF_YEAR, true); in test_rollIZ()
593 cal.roll(Calendar.WEEK_OF_YEAR, true); in test_rollIZ()
600 cal.roll(Calendar.WEEK_OF_YEAR, false); in test_rollIZ()
607 cal.roll(Calendar.WEEK_OF_YEAR, false); in test_rollIZ()
614 cal.roll(Calendar.WEEK_OF_YEAR, false); in test_rollIZ()
623 cal.roll(GregorianCalendar.WEEK_OF_YEAR, true); in test_rollIZ()
[all …]
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
DSupport_SimpleDateFormat.java89 t_FormatWithField(13, format, date, null, Field.WEEK_OF_YEAR, 137, 139); in t_format_with_FieldPosition()
121 t_FormatWithField(35, format, date, null, Field.WEEK_OF_YEAR, 0, 0); in t_format_with_FieldPosition()
180 v.add(new FieldContainer(0, 2, Field.WEEK_OF_YEAR)); in getDateVector2()
251 v.add(new FieldContainer(128, 130, Field.WEEK_OF_YEAR)); in getDateVector4()
252 v.add(new FieldContainer(131, 134, Field.WEEK_OF_YEAR)); in getDateVector4()
/external/icu4c/i18n/unicode/
Dcalendar.h185 WEEK_OF_YEAR, // Example: 1..53 enumerator
/external/icu4c/test/testdata/
Dformat.txt435 "YEAR=1999,HOUR_OF_DAY=4,MINUTE=5,SECOND=6,DAY_OF_WEEK=2,WEEK_OF_YEAR=4",