/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | GregorianCalendarTest.java | 70 .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 …]
|
D | CalendarTest.java | 830 cal.set(Calendar.DAY_OF_MONTH, 1); in test_getDisplayNameIILjava_util_Locale()
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | OldDateFormatTest.java | 172 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/ |
D | GregorianCalendar.java | 698 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 …]
|
D | Calendar.java | 442 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()
|
D | Formatter.java | 4053 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/ |
D | DataFormatFieldTest.java | 49 .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()
|
D | Support_SimpleDateFormat.java | 78 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()
|
D | Support_MessageFormat.java | 94 v.add(new FieldContainer(7, 9, DateFormat.Field.DAY_OF_MONTH)); in getMessageVector1()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | GregorianCalendarTest.java | 122 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()
|
D | CalendarTest.java | 155 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()
|
D | OldGregorianCalendarTest.java | 63 assertEquals(23, g.get(Calendar.DAY_OF_MONTH)); in test_computeFields()
|
/libcore/luni/src/main/java/libcore/icu/ |
D | DateUtilsBridge.java | 161 c1.get(Calendar.DAY_OF_MONTH) != c2.get(Calendar.DAY_OF_MONTH); in fallOnDifferentDates()
|
D | DateIntervalFormat.java | 73 endCalendar.add(Calendar.DAY_OF_MONTH, -1); in formatDateRange()
|
/libcore/ojluni/src/main/java/java/text/ |
D | DateFormat.java | 920 public final static Field DAY_OF_MONTH = new field in DateFormat.Field 921 Field("day of month", Calendar.DAY_OF_MONTH);
|
D | SimpleDateFormat.java | 1061 Field.ERA, Field.YEAR, Field.MONTH, Field.DAY_OF_MONTH,
|
/libcore/support/src/test/java/tests/support/ |
D | Support_MessageFormat.java | 91 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/ |
D | KeyStore2Test.java | 679 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/ |
D | DateIntervalFormatTest.java | 39 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/ |
D | ZoneInfo.java | 1143 calendar.set(Calendar.DAY_OF_MONTH, monthDay); 1153 monthDay = calendar.get(Calendar.DAY_OF_MONTH);
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | X509CertificateTest.java | 414 cal.add(Calendar.DAY_OF_MONTH, 1); in checkValidity()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SerializationStressTest4.java | 1762 DateFormat.Field.DAY_OF_MONTH, DateFormat.Field.ERA, in test_writeObject_DateFormat_Field()
|