Home
last modified time | relevance | path

Searched refs:JULY (Results 1 – 13 of 13) sorted by relevance

/libcore/ojluni/src/test/java/time/test/java/time/temporal/
DTestChronoUnit.java61 import static java.time.Month.JULY;
150 {date(2012, JULY, 2), date(2012, JULY, 1), 0}, in data_monthsBetween()
151 {date(2012, JULY, 2), date(2012, JULY, 2), 0}, in data_monthsBetween()
152 {date(2012, JULY, 2), date(2012, JULY, 3), 0}, in data_monthsBetween()
154 {date(2012, JULY, 2), date(2012, AUGUST, 1), 0}, in data_monthsBetween()
155 {date(2012, JULY, 2), date(2012, AUGUST, 2), 1}, in data_monthsBetween()
156 {date(2012, JULY, 2), date(2012, AUGUST, 3), 1}, in data_monthsBetween()
158 {date(2012, JULY, 2), date(2012, SEPTEMBER, 1), 1}, in data_monthsBetween()
159 {date(2012, JULY, 2), date(2012, SEPTEMBER, 2), 2}, in data_monthsBetween()
160 {date(2012, JULY, 2), date(2012, SEPTEMBER, 3), 2}, in data_monthsBetween()
[all …]
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKMonth.java197 assertEquals(Month.JULY.get(ChronoField.MONTH_OF_YEAR), 7); in test_get_TemporalField()
202 assertEquals(Month.JULY.getLong(ChronoField.MONTH_OF_YEAR), 7); in test_getLong_TemporalField()
373 assertEquals(Month.JULY.length(false), 31); in test_length_boolean_notLeapYear()
389 assertEquals(Month.JULY.length(true), 31); in test_length_boolean_leapYear()
408 assertEquals(Month.JULY.minLength(), 31); in test_minLength()
427 assertEquals(Month.JULY.maxLength(), 31); in test_maxLength()
446 assertEquals(Month.JULY.firstDayOfYear(false), 1 + 31 + 28 + 31 + 30 + 31 + 30); in test_firstDayOfYear_notLeapYear()
462 assertEquals(Month.JULY.firstDayOfYear(true), 1 + 31 + 29 + 31 + 30 + 31 + 30); in test_firstDayOfYear_leapYear()
481 assertEquals(Month.JULY.firstMonthOfQuarter(), Month.JULY); in test_firstMonthOfQuarter()
482 assertEquals(Month.AUGUST.firstMonthOfQuarter(), Month.JULY); in test_firstMonthOfQuarter()
[all …]
DTCKLocalDateTime.java386 LocalDateTime dateTime = LocalDateTime.of(2007, Month.JULY, 15, 12, 30);
392 LocalDateTime.of(Integer.MIN_VALUE, Month.JULY, 15, 12, 30);
402 LocalDateTime.of(2007, Month.JULY, -1, 12, 30);
407 LocalDateTime.of(2007, Month.JULY, 32, 12, 30);
412 LocalDateTime.of(2007, Month.JULY, 15, -1, 30);
417 LocalDateTime.of(2007, Month.JULY, 15, 24, 30);
422 LocalDateTime.of(2007, Month.JULY, 15, 12, -1);
427 LocalDateTime.of(2007, Month.JULY, 15, 12, 60);
433 LocalDateTime dateTime = LocalDateTime.of(2007, Month.JULY, 15, 12, 30, 40);
439 LocalDateTime.of(Integer.MIN_VALUE, Month.JULY, 15, 12, 30, 40);
[all …]
DTCKLocalDate.java342 assertEquals(TEST_2007_07_15, LocalDate.of(2007, Month.JULY, 15));
/libcore/ojluni/src/main/java/java/time/
DMonth.java142 JULY, enumConstant
510 case JULY: in firstDayOfYear()
/libcore/luni/src/main/java/javax/xml/datatype/
DDatatypeConstants.java74 public static final int JULY = 7; field in DatatypeConstants
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/
DBaseCalendar.java146 public static final int JULY = 7; // 0x7 field in BaseCalendar
/libcore/ojluni/annotations/sdk/nullability/java/util/
DCalendar.annotated.java200 public static final int JULY = 6; // 0x6 field in Calendar
/libcore/ojluni/annotations/hiddenapi/java/util/
DCalendar.java473 public static final int JULY = 6; // 0x6 field in Calendar
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DSimpleDateFormatTest.java621 new GregorianCalendar(1970, Calendar.JULY, 19).getTime(), 1, 13); in test_parse_monthPatterns()
623 new GregorianCalendar(1970, Calendar.JULY, 19).getTime(), 1, 11); in test_parse_monthPatterns()
/libcore/luni/src/test/java/libcore/libcore/icu/
DDateIntervalFormatTest.java305 c.set(1980, Calendar.JULY, 1, 0, 0); in test_single_day_events_not_in_UTC()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DGregorianCalendarTest.java210 gc1 = new GregorianCalendar(1999, Calendar.JULY, 31); in test_addII()
/libcore/ojluni/src/main/java/java/util/
DCalendar.java651 public final static int JULY = 6; field in Calendar