Home
last modified time | relevance | path

Searched refs:DAY_OF_WEEK (Results 1 – 9 of 9) sorted by relevance

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DCalendarTest.java67 int dow = cal.get(Calendar.DAY_OF_WEEK); in test_setII()
69 assertTrue("Incorrect DAY_OF_WEEK: " + cal.get(Calendar.DAY_OF_WEEK) in test_setII()
70 + " expected: " + dow, cal.get(Calendar.DAY_OF_WEEK) != dow); in test_setII()
74 cal.set(Calendar.DAY_OF_WEEK, Calendar.MONDAY); in test_setII()
80 cal.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in test_setII()
86 cal.set(Calendar.DAY_OF_WEEK, Calendar.THURSDAY); in test_setII()
129 cal.set(Calendar.DAY_OF_WEEK, Calendar.MONDAY); in test_setII()
140 cal.set(Calendar.DAY_OF_WEEK, Calendar.MONDAY); in test_setII()
149 cal.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in test_setII()
157 cal.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in test_setII()
[all …]
DGregorianCalendarTest.java247 gc1.add(Calendar.DAY_OF_WEEK, 1); in test_addII()
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
DDataFormatFieldTest.java70 MyField field = new MyField("a field", Calendar.DAY_OF_WEEK); in test_ConstructorLjava_lang_StringI()
74 Calendar.DAY_OF_WEEK, field.getCalendarField()); in test_ConstructorLjava_lang_StringI()
77 .ofCalendarField(Calendar.DAY_OF_WEEK); in test_ConstructorLjava_lang_StringI()
79 DateFormat.Field.DAY_OF_WEEK, realField); in test_ConstructorLjava_lang_StringI()
DSupport_SimpleDateFormat.java85 t_FormatWithField(10, format, date, null, Field.DAY_OF_WEEK, 109, 112); in t_format_with_FieldPosition()
117 t_FormatWithField(32, format, date, null, Field.DAY_OF_WEEK, 0, 0); in t_format_with_FieldPosition()
185 v.add(new FieldContainer(23, 29, Field.DAY_OF_WEEK)); in getDateVector2()
244 v.add(new FieldContainer(100, 103, Field.DAY_OF_WEEK)); in getDateVector4()
245 v.add(new FieldContainer(104, 110, Field.DAY_OF_WEEK)); in getDateVector4()
/external/nist-sip/java/gov/nist/javax/sip/header/
DSIPDate.java173 wkday = javaCal.get(Calendar.DAY_OF_WEEK); in SIPDate()
367 javaCal.set(Calendar.DAY_OF_WEEK, wkday); in setJavaCal()
/external/jsilver/src/org/clearsilver/jni/
DJniHdf.java250 Integer.toString(cal.get(Calendar.DAY_OF_WEEK) - 1)); in exportDate()
/external/icu4c/i18n/unicode/
Dcalendar.h189 DAY_OF_WEEK, // Example: 1..7 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",
/external/icu4c/test/intltest/
Dcalregts.cpp560 if(cal->getActualMinimum(Calendar::DAY_OF_WEEK, status) != min) { in dowTest()
563 if(cal->getActualMinimum(Calendar::DAY_OF_WEEK) != min) { in dowTest()