/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKMonth.java | 97 TemporalAccessor[] array = {Month.JANUARY, Month.JUNE, Month.DECEMBER, }; in samples() 378 assertEquals(Month.DECEMBER.length(false), 31); in test_length_boolean_notLeapYear() 394 assertEquals(Month.DECEMBER.length(true), 31); in test_length_boolean_leapYear() 413 assertEquals(Month.DECEMBER.minLength(), 31); in test_minLength() 432 assertEquals(Month.DECEMBER.maxLength(), 31); in test_maxLength() 451 …assertEquals(Month.DECEMBER.firstDayOfYear(false), 1 + 31 + 28 + 31 + 30 + 31 + 30 + 31 + 31 + 30 … in test_firstDayOfYear_notLeapYear() 467 …assertEquals(Month.DECEMBER.firstDayOfYear(true), 1 + 31 + 29 + 31 + 30 + 31 + 30 + 31 + 31 + 30 +… in test_firstDayOfYear_leapYear() 486 assertEquals(Month.DECEMBER.firstMonthOfQuarter(), Month.OCTOBER); in test_firstMonthOfQuarter() 505 assertEquals(Month.DECEMBER.toString(), "DECEMBER"); in test_toString()
|
D | TCKOffsetDateTime.java | 62 import static java.time.Month.DECEMBER; 296 assertEquals(test.getMonth(), Month.DECEMBER); 740 OffsetDateTime test = TEST_2008_6_30_11_30_59_000000500.with(DECEMBER);
|
D | TCKMonthDay.java | 197 assertEquals(test.getMonth(), Month.DECEMBER); in now_Clock()
|
D | TCKLocalDate.java | 308 assertEquals(test.getMonth(), Month.DECEMBER); 466 if (date.getMonth() == Month.DECEMBER) { 478 if (date.getMonth() == Month.DECEMBER) {
|
D | TCKYearMonth.java | 217 assertEquals(test.getMonth(), Month.DECEMBER); in now_Clock()
|
D | TCKZonedDateTime.java | 306 assertEquals(test.getMonth(), Month.DECEMBER);
|
/libcore/ojluni/src/main/java/sun/util/calendar/ |
D | BaseCalendar.java | 52 public static final int DECEMBER = 12; field in BaseCalendar 197 if (month < JANUARY || month > DECEMBER) { in validate() 245 m = DECEMBER; in normalize() 253 if (m > DECEMBER) { in normalize() 286 } else if (month > DECEMBER) { in normalizeMonth() 328 if (month < JANUARY || month > DECEMBER) { in getMonthLength()
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
D | TCKTemporalAdjusters.java | 64 import static java.time.Month.DECEMBER; 184 assertEquals(test.getYear(), month == DECEMBER ? 2008 : 2007); in test_firstDayOfNextMonth_nonLeap() 197 assertEquals(test.getYear(), month == DECEMBER ? 2009 : 2008); in test_firstDayOfNextMonth_leap() 253 assertEquals(test.getMonth(), Month.DECEMBER); in test_lastDayOfYear_nonLeap() 266 assertEquals(test.getMonth(), Month.DECEMBER); in test_lastDayOfYear_leap() 476 assertSame(month, Month.DECEMBER); in test_next() 517 assertSame(month, Month.DECEMBER); 559 assertSame(test.getMonth(), Month.DECEMBER); 600 assertSame(test.getMonth(), Month.DECEMBER);
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | GregorianCalendarTest.java | 125 assertEquals(Calendar.DECEMBER, gc.get(Calendar.MONTH)); in test_fieldsAffectedByGregorianCutOver() 265 cal.set(2015, Calendar.DECEMBER, 31); in test_getWeekYear() 272 cal.set(2015, Calendar.DECEMBER, 31); in test_getWeekYear() 296 assertEquals(Calendar.DECEMBER, calendar.get(Calendar.MONTH)); in test_fromZonedDateTime() 321 calendar.set(2007, Calendar.DECEMBER, 3, 10, 15, 30); in test_toZonedDateTime()
|
D | CalendarTest.java | 167 calendar.set(2007, Calendar.DECEMBER, 3, 10, 15, 30); in testToInstant()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | GregorianCalendarTest.java | 322 .getActualMaximum(Calendar.MONTH) == Calendar.DECEMBER); in test_getActualMaximumI() 428 .getLeastMaximum(Calendar.MONTH) == Calendar.DECEMBER); in test_getLeastMaximumI() 457 .getMaximum(Calendar.MONTH) == Calendar.DECEMBER); in test_getMaximumI() 577 cal.set(2004, Calendar.DECEMBER, 31, 5, 0, 0); in test_rollIZ() 614 assertEquals("Wrong month: " + cal.getTime(), Calendar.DECEMBER, cal in test_rollIZ() 621 assertEquals("Wrong month: " + cal.getTime(), Calendar.DECEMBER, cal in test_rollIZ() 626 cal.set(1999, Calendar.DECEMBER, 31, 23, 59, 59); in test_rollIZ() 636 assertEquals("Wrong month: " + cal.getTime(), Calendar.DECEMBER, cal in test_rollIZ()
|
D | SimpleTimeZoneTest.java | 94 new SimpleTimeZone(1000, "TEST", Calendar.DECEMBER, in test_ConstructorILjava_lang_StringIIIIIIII() 153 new SimpleTimeZone(1000, "TEST", Calendar.DECEMBER, in test_ConstructorILjava_lang_StringIIIIIIIII() 230 new SimpleTimeZone(1000, "TEST", Calendar.DECEMBER, in test_ConstructorILjava_lang_StringIIIIIIIIIII() 621 st.setEndRule(Calendar.DECEMBER, 1, 1); in test_setStartRuleIII()
|
/libcore/ojluni/src/main/java/java/time/ |
D | Month.java | 167 DECEMBER; enumConstant 520 case DECEMBER: in firstDayOfYear()
|
/libcore/luni/src/test/java/libcore/java/time/ |
D | YearMonthTest.java | 48 assertEquals(YearMonth.of(-1999, Month.DECEMBER), in test_with_TemporalField_long() 59 …assertEquals(YearMonth.of(Year.MAX_VALUE, Month.DECEMBER), ym.with(ChronoField.PROLEPTIC_MONTH, Ye… in test_with_TemporalField_long()
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
D | DatatypeConstants.java | 99 public static final int DECEMBER = 12; field in DatatypeConstants
|
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/ |
D | BaseCalendar.java | 132 public static final int DECEMBER = 12; // 0xc field in BaseCalendar
|
/libcore/luni/src/test/java/libcore/java/time/format/ |
D | DateTimeFormatterBuilderTest.java | 49 assertEquals("<2000-12-31>", formatter.format(LocalDate.of(2000, Month.DECEMBER, 31))); in test_append_DateTimeFormatter()
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestLocalDate.java | 103 if (date.getMonth() == Month.DECEMBER) { in next() 115 if (date.getMonth() == Month.DECEMBER) { in previous()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeTextProvider.java | 362 for (int month = Calendar.JANUARY; month <= Calendar.DECEMBER; month++) { in createStore() 382 for (int month = Calendar.JANUARY; month <= Calendar.DECEMBER; month++) { in createStore()
|
/libcore/ojluni/src/main/java/java/util/ |
D | SimpleTimeZone.java | 1371 if (startMonth < Calendar.JANUARY || startMonth > Calendar.DECEMBER) { in decodeStartRule() 1418 if (endMonth < Calendar.JANUARY || endMonth > Calendar.DECEMBER) { in decodeEndRule()
|
D | GregorianCalendar.java | 462 DECEMBER, // MONTH 481 DECEMBER, // MONTH 1741 value = DECEMBER; in getActualMaximum() 2983 if (month > DECEMBER) { in getFixedDate()
|
D | JapaneseImperialCalendar.java | 208 DECEMBER, // MONTH 275 date.setDate(transitionDate.getYear(), BaseCalendar.DECEMBER, 31); in transitionDate.getYear() 1286 int month = DECEMBER; 1969 if (month > DECEMBER) {
|
D | Calendar.java | 688 public static final int DECEMBER = 11; field in Calendar
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | Calendar.annotated.java | 182 public static final int DECEMBER = 11; // 0xb field in Calendar
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Calendar.java | 441 public static final int DECEMBER = 11; // 0xb field in Calendar
|