Home
last modified time | relevance | path

Searched refs:APRIL (Results 1 – 17 of 17) sorted by relevance

/libcore/ojluni/src/main/java/java/time/
DMonth.java127 APRIL, enumConstant
429 case APRIL: in length()
452 case APRIL: in minLength()
475 case APRIL: in maxLength()
504 case APRIL: in firstDayOfYear()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKMonth.java370 assertEquals(Month.APRIL.length(false), 30); in test_length_boolean_notLeapYear()
386 assertEquals(Month.APRIL.length(true), 30); in test_length_boolean_leapYear()
405 assertEquals(Month.APRIL.minLength(), 30); in test_minLength()
424 assertEquals(Month.APRIL.maxLength(), 30); in test_maxLength()
443 assertEquals(Month.APRIL.firstDayOfYear(false), 1 + 31 + 28 + 31); in test_firstDayOfYear_notLeapYear()
459 assertEquals(Month.APRIL.firstDayOfYear(true), 1 + 31 + 29 + 31); in test_firstDayOfYear_leapYear()
478 assertEquals(Month.APRIL.firstMonthOfQuarter(), Month.APRIL); in test_firstMonthOfQuarter()
479 assertEquals(Month.MAY.firstMonthOfQuarter(), Month.APRIL); in test_firstMonthOfQuarter()
480 assertEquals(Month.JUNE.firstMonthOfQuarter(), Month.APRIL); in test_firstMonthOfQuarter()
497 assertEquals(Month.APRIL.toString(), "APRIL"); in test_toString()
DTestIsoChronology.java235 assertEquals(IsoChronology.INSTANCE.date(1726, 4, 4), isoDate.with(Month.APRIL)); in test_adjust_toMonth()
DTCKYear.java945 YearMonth end = start.plusYears(2).atMonth(Month.APRIL); in test_until_convertedType()
DTCKLocalDate.java352 LocalDate.of(2007, Month.APRIL, 31);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DGregorianCalendarTest.java224 gc1.set(1999, Calendar.APRIL, 3, 16, 0); // day before DST change in test_addII()
228 gc1.set(1999, Calendar.APRIL, 3, 16, 0); // day before DST change in test_addII()
232 gc1.set(1999, Calendar.APRIL, 3, 16, 0); // day before DST change in test_addII()
236 gc1.set(1999, Calendar.APRIL, 3, 16, 0); // day before DST change in test_addII()
240 gc1.set(1999, Calendar.APRIL, 3, 16, 0); // day before DST change in test_addII()
245 gc1.set(1999, Calendar.APRIL, 3, 16, 0); // day before DST change in test_addII()
249 gc1.set(1999, Calendar.APRIL, 3, 16, 0); // day before DST change in test_addII()
253 gc1.set(1999, Calendar.APRIL, 3, 16, 0); // day before DST change in test_addII()
257 gc1.set(1999, Calendar.APRIL, 3, 16, 0); // day before DST change in test_addII()
261 gc1.set(1999, Calendar.APRIL, 3, 16, 0); // day before DST change in test_addII()
[all …]
/libcore/luni/src/main/java/javax/xml/datatype/
DDatatypeConstants.java59 public static final int APRIL = 4; field in DatatypeConstants
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/
DBaseCalendar.java120 public static final int APRIL = 4; // 0x4 field in BaseCalendar
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DSimpleDateFormatTest.java606 assertParse("MM'M'", "4M", new GregorianCalendar(1970, Calendar.APRIL, 1).getTime(), 0, 2); in test_parse_monthPatterns()
610 new GregorianCalendar(1970, Calendar.APRIL, 14).getTime(), 0, 8); in test_parse_monthPatterns()
611 assertParse("MMMMd", "April14 ", new GregorianCalendar(1970, Calendar.APRIL, 14).getTime(), in test_parse_monthPatterns()
896 Date date = new GregorianCalendar(2003, Calendar.APRIL, 5, 9, 7, 6).getTime(); in test_parse_whitespace_within_date()
/libcore/luni/src/test/java/libcore/java/util/
DSimpleTimeZoneTest.java89 Calendar.APRIL, 1, -Calendar.SUNDAY, 7200000, in testDst_1stSundayApril_1stSundayOctober_DefaultTime()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DCalendar.annotated.java168 public static final int APRIL = 3; // 0x3 field in Calendar
/libcore/ojluni/annotations/hiddenapi/java/util/
DCalendar.java415 public static final int APRIL = 3; // 0x3 field in Calendar
/libcore/ojluni/src/test/java/time/tck/java/time/zone/
DTCKZoneOffsetTransitionRule.java283 Month.APRIL, 20, DayOfWeek.SUNDAY, TIME_0100, false, TimeDefinition.WALL, in test_equals_monthDifferent()
/libcore/ojluni/src/main/java/java/util/
DCalendar.java633 public final static int APRIL = 3; field in Calendar
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKThaiBuddhistChronology.java434 jdate.with(Month.APRIL); in test_adjust_toMonth()
DTCKMinguoChronology.java387 minguo.with(Month.APRIL); in test_adjust_toMonth()
DTCKJapaneseChronology.java533 jdate.with(Month.APRIL); in test_adjust_toMonth()