Home
last modified time | relevance | path

Searched refs:DAY_OF_MONTH (Results 1 – 22 of 22) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DGregorianCalendarTest.java70 .get(Calendar.DAY_OF_MONTH)); in test_ConstructorIII()
88 .get(Calendar.DAY_OF_MONTH)); in test_ConstructorIIIII()
117 .get(Calendar.DAY_OF_MONTH)); in test_ConstructorIIIIII()
169 c1.set(Calendar.DAY_OF_MONTH, 2); in test_ConstructorLjava_util_TimeZone()
310 28, gc1.getActualMaximum(Calendar.DAY_OF_MONTH)); in test_getActualMaximumI()
312 29, gc2.getActualMaximum(Calendar.DAY_OF_MONTH)); in test_getActualMaximumI()
314 28, gc3.getActualMaximum(Calendar.DAY_OF_MONTH)); in test_getActualMaximumI()
316 29, gc4.getActualMaximum(Calendar.DAY_OF_MONTH)); in test_getActualMaximumI()
318 31, gc5.getActualMaximum(Calendar.DAY_OF_MONTH)); in test_getActualMaximumI()
320 30, gc6.getActualMaximum(Calendar.DAY_OF_MONTH)); in test_getActualMaximumI()
[all …]
DCalendarTest.java830 cal.set(Calendar.DAY_OF_MONTH, 1); in test_getDisplayNameIILjava_util_Locale()
/libcore/luni/src/test/java/libcore/java/text/
DOldDateFormatTest.java172 c.set(Calendar.DAY_OF_MONTH, 32); in test_isLenient()
173 c.get(Calendar.DAY_OF_MONTH); in test_isLenient()
179 c.set(Calendar.DAY_OF_MONTH, 32); in test_isLenient()
180 c.get(Calendar.DAY_OF_MONTH); in test_isLenient()
189 c.set(Calendar.DAY_OF_MONTH, 32); in test_isLenient()
190 c.get(Calendar.DAY_OF_MONTH); in test_isLenient()
199 c.set(Calendar.DAY_OF_MONTH, 32); in test_isLenient()
200 c.get(Calendar.DAY_OF_MONTH); in test_isLenient()
451 c.set(Calendar.DAY_OF_MONTH, 32); in test_setLenientZ()
452 c.get(Calendar.DAY_OF_MONTH); in test_setLenientZ()
[all …]
/libcore/ojluni/src/main/java/java/util/
DGregorianCalendar.java698 this.set(DAY_OF_MONTH, dayOfMonth); in GregorianCalendar()
1006 case DAY_OF_MONTH: // synonym of DATE
1177 if (internalGet(DAY_OF_MONTH) != d.getDayOfMonth()) { in roll()
1180 internalGet(DAY_OF_MONTH)); in roll()
1221 if (internalGet(DAY_OF_MONTH) > monthLen) { in roll()
1222 set(DAY_OF_MONTH, monthLen); in roll()
1233 int monthLen = getActualMaximum(DAY_OF_MONTH); in roll()
1234 if (internalGet(DAY_OF_MONTH) > monthLen) { in roll()
1235 set(DAY_OF_MONTH, monthLen); in roll()
1297 set(DAY_OF_MONTH, d.getDayOfMonth()); in roll()
[all …]
DCalendar.java442 public final static int DAY_OF_MONTH = 5; field in Calendar
917 final static int DAY_OF_MONTH_MASK = (1 << DAY_OF_MONTH);
1726 int domStamp = stamp[DAY_OF_MONTH]; in selectFields()
DFormatter.java4053 case DateTime.DAY_OF_MONTH: { // 'e' (1 - 31) -- like d
4455 static final char DAY_OF_MONTH = 'e'; // (1 - 31) -- like d
4503 case DAY_OF_MONTH:
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDataFormatFieldTest.java49 .ofCalendarField(Calendar.DAY_OF_MONTH); in test_ConstructorLjava_lang_StringLjava_lang_String()
51 DateFormat.Field.DAY_OF_MONTH, realField2); in test_ConstructorLjava_lang_StringLjava_lang_String()
98 .ofCalendarField(Calendar.DAY_OF_MONTH); in test_Constructor2()
100 DateFormat.Field.DAY_OF_MONTH, realField2); in test_Constructor2()
DSupport_SimpleDateFormat.java78 t_FormatWithField(3, format, date, null, Field.DAY_OF_MONTH, 38, 40); in t_format_with_FieldPosition()
109 t_FormatWithField(27, format, date, null, Field.DAY_OF_MONTH, 0, 0); in t_format_with_FieldPosition()
163 v.add(new FieldContainer(6, 8, Field.DAY_OF_MONTH)); in getDateVector1()
175 v.add(new FieldContainer(5, 7, Field.DAY_OF_MONTH)); in getDateVector2()
217 v.add(new FieldContainer(38, 40, Field.DAY_OF_MONTH)); in getDateVector4()
218 v.add(new FieldContainer(41, 43, Field.DAY_OF_MONTH)); in getDateVector4()
219 v.add(new FieldContainer(44, 47, Field.DAY_OF_MONTH)); in getDateVector4()
DSupport_MessageFormat.java94 v.add(new FieldContainer(7, 9, DateFormat.Field.DAY_OF_MONTH)); in getMessageVector1()
/libcore/luni/src/test/java/libcore/java/util/
DGregorianCalendarTest.java122 assertEquals(18, gc.get(Calendar.DAY_OF_MONTH)); in test_fieldsAffectedByGregorianCutOver()
128 assertEquals(18, gc.getActualMaximum(Calendar.DAY_OF_MONTH)); in test_fieldsAffectedByGregorianCutOver()
129 assertEquals(18, gc.getLeastMaximum(Calendar.DAY_OF_MONTH)); in test_fieldsAffectedByGregorianCutOver()
143 assertEquals(1, gc.get(Calendar.DAY_OF_MONTH)); in test_fieldsAffectedByGregorianCutOver()
149 assertEquals(31, gc.getActualMaximum(Calendar.DAY_OF_MONTH)); in test_fieldsAffectedByGregorianCutOver()
150 assertEquals(28, gc.getLeastMaximum(Calendar.DAY_OF_MONTH)); in test_fieldsAffectedByGregorianCutOver()
218 assertEquals(29, cal.get(Calendar.DAY_OF_MONTH)); in test_setWeekDate()
224 assertEquals(22, cal.get(Calendar.DAY_OF_MONTH)); in test_setWeekDate()
DCalendarTest.java155 assertEquals(day, calendar.get(Calendar.DAY_OF_MONTH)); in testSetSelfConsistent()
231 cal.set(Calendar.DAY_OF_MONTH, 1); in checkClear()
239 assertTrue(cal.isSet(Calendar.DAY_OF_MONTH)); in checkClear()
245 assertEquals(1, cal.get(Calendar.DAY_OF_MONTH)); in checkClear()
248 assertTrue(cal.isSet(Calendar.DAY_OF_MONTH)); in checkClear()
DOldGregorianCalendarTest.java63 assertEquals(23, g.get(Calendar.DAY_OF_MONTH)); in test_computeFields()
/libcore/luni/src/main/java/libcore/icu/
DDateUtilsBridge.java161 c1.get(Calendar.DAY_OF_MONTH) != c2.get(Calendar.DAY_OF_MONTH); in fallOnDifferentDates()
DDateIntervalFormat.java73 endCalendar.add(Calendar.DAY_OF_MONTH, -1); in formatDateRange()
/libcore/ojluni/src/main/java/java/text/
DDateFormat.java920 public final static Field DAY_OF_MONTH = new field in DateFormat.Field
921 Field("day of month", Calendar.DAY_OF_MONTH);
DSimpleDateFormat.java1061 Field.ERA, Field.YEAR, Field.MONTH, Field.DAY_OF_MONTH,
/libcore/support/src/test/java/tests/support/
DSupport_MessageFormat.java91 v.add(new FieldContainer(7, 9, DateFormat.Field.DAY_OF_MONTH)); in getMessageVector1()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyStore2Test.java679 Calendar.getInstance().get(Calendar.DAY_OF_MONTH); in test_getCreationDate()
681 int dayExpected = Calendar.getInstance().get(Calendar.DAY_OF_MONTH); in test_getCreationDate()
688 int dayActual1 = Calendar.getInstance().get(Calendar.DAY_OF_MONTH); in test_getCreationDate()
702 int dayActual2 = Calendar.getInstance().get(Calendar.DAY_OF_MONTH); in test_getCreationDate()
/libcore/luni/src/test/java/libcore/icu/
DDateIntervalFormatTest.java39 c.set(Calendar.DAY_OF_MONTH, 19); in test_formatDateInterval()
337 c.set(Calendar.DAY_OF_MONTH, 10); in test10209343_when_this_year()
392 c.set(Calendar.DAY_OF_MONTH, 10); in test12004664()
/libcore/luni/src/main/java/libcore/util/
DZoneInfo.java1143 calendar.set(Calendar.DAY_OF_MONTH, monthDay);
1153 monthDay = calendar.get(Calendar.DAY_OF_MONTH);
/libcore/luni/src/test/java/libcore/java/security/cert/
DX509CertificateTest.java414 cal.add(Calendar.DAY_OF_MONTH, 1); in checkValidity()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DSerializationStressTest4.java1762 DateFormat.Field.DAY_OF_MONTH, DateFormat.Field.ERA, in test_writeObject_DateFormat_Field()