/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
D | TCKTemporalAdjusters.java | 115 LocalDate test = (LocalDate) TemporalAdjusters.firstDayOfMonth().adjustInto(date); in test_firstDayOfMonth_nonLeap() 128 LocalDate test = (LocalDate) TemporalAdjusters.firstDayOfMonth().adjustInto(date); in test_firstDayOfMonth_leap() 149 LocalDate test = (LocalDate) TemporalAdjusters.lastDayOfMonth().adjustInto(date); in test_lastDayOfMonth_nonLeap() 162 LocalDate test = (LocalDate) TemporalAdjusters.lastDayOfMonth().adjustInto(date); in test_lastDayOfMonth_leap() 183 … LocalDate test = (LocalDate) TemporalAdjusters.firstDayOfNextMonth().adjustInto(date); in test_firstDayOfNextMonth_nonLeap() 196 … LocalDate test = (LocalDate) TemporalAdjusters.firstDayOfNextMonth().adjustInto(date); in test_firstDayOfNextMonth_leap() 217 LocalDate test = (LocalDate) TemporalAdjusters.firstDayOfYear().adjustInto(date); in test_firstDayOfYear_nonLeap() 230 LocalDate test = (LocalDate) TemporalAdjusters.firstDayOfYear().adjustInto(date); in test_firstDayOfYear_leap() 251 LocalDate test = (LocalDate) TemporalAdjusters.lastDayOfYear().adjustInto(date); in test_lastDayOfYear_nonLeap() 264 LocalDate test = (LocalDate) TemporalAdjusters.lastDayOfYear().adjustInto(date); in test_lastDayOfYear_leap() [all …]
|
D | TCKJulianFields.java | 134 assertEquals(field.adjustInto(LocalDate.MAX, value), date); in test_samples_set() 135 assertEquals(field.adjustInto(LocalDate.MIN, value), date); in test_samples_set() 136 assertEquals(field.adjustInto(JAN01_1970, value), date); in test_samples_set() 137 assertEquals(field.adjustInto(DEC31_1969, value), date); in test_samples_set() 138 assertEquals(field.adjustInto(NOV12_1945, value), date); in test_samples_set()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKDayOfWeek.java | 345 … assertEquals(DayOfWeek.MONDAY.adjustInto(LocalDate.of(2012, 9, 2)), LocalDate.of(2012, 8, 27)); in test_adjustInto() 346 … assertEquals(DayOfWeek.MONDAY.adjustInto(LocalDate.of(2012, 9, 3)), LocalDate.of(2012, 9, 3)); in test_adjustInto() 347 … assertEquals(DayOfWeek.MONDAY.adjustInto(LocalDate.of(2012, 9, 4)), LocalDate.of(2012, 9, 3)); in test_adjustInto() 348 … assertEquals(DayOfWeek.MONDAY.adjustInto(LocalDate.of(2012, 9, 10)), LocalDate.of(2012, 9, 10)); in test_adjustInto() 349 … assertEquals(DayOfWeek.MONDAY.adjustInto(LocalDate.of(2012, 9, 11)), LocalDate.of(2012, 9, 10)); in test_adjustInto() 354 DayOfWeek.MONDAY.adjustInto((Temporal) null); in test_adjustInto_null()
|
D | TCKZoneOffset.java | 594 … ZonedDateTime zonedDateTime_result = (ZonedDateTime)(base.adjustInto(zonedDateTime_target)); 598 … OffsetDateTime offsetDateTime_result = (OffsetDateTime)(base.adjustInto(offsetDateTime_target)); 608 … OffsetDateTime offsetDateTime_result = (OffsetDateTime)base.adjustInto(offsetDateTime_target); 613 … ZonedDateTime zonedDateTime_result = (ZonedDateTime)(base.adjustInto(zonedDateTime_target)); 621 base.adjustInto((LocalDate.of(1909, 2, 2)));
|
D | TCKMonthDay.java | 588 assertEquals(test.adjustInto(date), LocalDate.of(2007, 6, 30)); in test_adjustDate() 595 assertEquals(test.adjustInto(date), LocalDate.of(2007, 2, 28)); in test_adjustDate_resolve() 602 assertEquals(test.adjustInto(date), date); in test_adjustDate_equal() 607 TEST_07_15.adjustInto((LocalDate) null); in test_adjustDate_null()
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | TemporalAdjuster.java | 150 Temporal adjustInto(Temporal temporal); in adjustInto() method
|
D | Temporal.java | 190 return adjuster.adjustInto(this); in with()
|
D | TemporalField.java | 306 <R extends Temporal> R adjustInto(R temporal, long newValue); in adjustInto() method
|
D | IsoFields.java | 336 public <R extends Temporal> R adjustInto(R temporal, long newValue) { in adjustInto() method 406 public <R extends Temporal> R adjustInto(R temporal, long newValue) { in adjustInto() method 461 public <R extends Temporal> R adjustInto(R temporal, long newValue) { in adjustInto() method 535 public <R extends Temporal> R adjustInto(R temporal, long newValue) { in adjustInto() method
|
D | JulianFields.java | 282 public <R extends Temporal> R adjustInto(R temporal, long newValue) { in adjustInto() method in JulianFields.Field
|
/libcore/ojluni/src/test/java/time/test/java/time/temporal/ |
D | TestIsoWeekFields.java | 172 LocalDate adjusted = DAY_OF_WEEK.adjustInto(date, j); in test_adjustInto_dow() 201 LocalDate adjusted = weekField.adjustInto(date, j); in test_adjustInto_week() 229 LocalDate adjusted = yearField.adjustInto(date, j); in test_adjustInto_wby()
|
D | MockFieldNoValue.java | 121 public <R extends Temporal> R adjustInto(R temporal, long newValue) { in adjustInto() method in MockFieldNoValue
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoLocalDate.java | 439 return ChronoLocalDateImpl.ensureValid(getChronology(), field.adjustInto(this, newValue)); in with() 547 default Temporal adjustInto(Temporal temporal) { in adjustInto() method
|
D | Era.java | 300 default Temporal adjustInto(Temporal temporal) { in adjustInto() method
|
/libcore/ojluni/src/main/java/java/time/ |
D | Year.java | 568 return (Year) adjuster.adjustInto(this); in with() 624 return field.adjustInto(this, newValue); in with() 852 public Temporal adjustInto(Temporal temporal) { in adjustInto() method in Year
|
D | YearMonth.java | 624 return (YearMonth) adjuster.adjustInto(this); in with() 689 return field.adjustInto(this, newValue); in with() 984 public Temporal adjustInto(Temporal temporal) { in adjustInto() method in YearMonth
|
D | Instant.java | 650 return (Instant) adjuster.adjustInto(this); in with() 716 return field.adjustInto(this, newValue); in with() 1088 public Temporal adjustInto(Temporal temporal) { in adjustInto() method in Instant
|
D | OffsetTime.java | 682 return (OffsetTime) adjuster.adjustInto(this); in with() 729 return field.adjustInto(this, newValue); in with() 1114 public Temporal adjustInto(Temporal temporal) { in adjustInto() method in OffsetTime
|
D | DayOfWeek.java | 453 public Temporal adjustInto(Temporal temporal) { in adjustInto() method in DayOfWeek
|
D | LocalDateTime.java | 920 return (LocalDateTime) adjuster.adjustInto(this); in with() 967 return field.adjustInto(this, newValue); in with() 1622 public Temporal adjustInto(Temporal temporal) { in adjustInto() method in LocalDateTime 1623 return ChronoLocalDateTime.super.adjustInto(temporal); in adjustInto()
|
D | LocalDate.java | 906 return (LocalDate) adjuster.adjustInto(this); in with() 1035 return field.adjustInto(this, newValue); in with() 1543 public Temporal adjustInto(Temporal temporal) { in adjustInto() method in LocalDate 1544 return ChronoLocalDate.super.adjustInto(temporal); in adjustInto()
|
D | OffsetDateTime.java | 913 return (OffsetDateTime) adjuster.adjustInto(this); in with() 972 return field.adjustInto(this, newValue); in with() 1584 public Temporal adjustInto(Temporal temporal) { in adjustInto() method in OffsetDateTime
|
/libcore/luni/src/test/java/libcore/java/time/chrono/ |
D | EraTest.java | 128 public <R extends Temporal> R adjustInto(R temporal, long newValue) { in adjustInto() method in EraTest.TestTemporalField
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestMonthDay.java | 119 assertSame(test.adjustInto(date), date); in test_adjustDate_same()
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
D | TestUmmAlQuraChronology.java | 642 …assertEquals(DayOfWeek.SATURDAY.adjustInto(HijrahDate.of(1434, 6, 28)), HijrahDate.of(1434, 7, 1)); in test_adjustInto() 643 …assertEquals(DayOfWeek.SATURDAY.adjustInto(HijrahDate.of(1432, 4, 13)), HijrahDate.of(1432, 4, 14)… in test_adjustInto() 644 …assertEquals(DayOfWeek.SATURDAY.adjustInto(HijrahDate.of(1433, 11, 29)), HijrahDate.of(1433, 12, 4… in test_adjustInto() 645 …assertEquals(DayOfWeek.SATURDAY.adjustInto(HijrahDate.of(1434, 5, 10)), HijrahDate.of(1434, 5, 11)… in test_adjustInto() 646 …assertEquals(DayOfWeek.SATURDAY.adjustInto(HijrahDate.of(1434, 9, 11)), HijrahDate.of(1434, 9, 12)… in test_adjustInto()
|