HomeSort by relevance Sort by last modified time
    Searched refs:adjustInto (Results 1 - 25 of 48) sorted by null

1 2

  /libcore/ojluni/src/main/java/java/time/temporal/
TemporalAdjuster.java 80 * temporal = thisAdjuster.adjustInto(temporal);
121 * temporal = thisAdjuster.adjustInto(temporal);
150 Temporal adjustInto(Temporal temporal);
Temporal.java 181 * return adjuster.adjustInto(this);
190 return adjuster.adjustInto(this);
211 * is obtained by invoking {@code TemporalField.adjustInto(Temporal, long)}
TemporalField.java 284 * temporal = thisField.adjustInto(temporal);
306 <R extends Temporal> R adjustInto(R temporal, long newValue);
JulianFields.java 108 * When 'JULIAN_DAY.adjustInto()' is applied to a date-time, the time of day portion remains unaltered.
109 * 'JULIAN_DAY.adjustInto()' and 'JULIAN_DAY.getFrom()' only apply to {@code Temporal} objects that
154 * When 'MODIFIED_JULIAN_DAY.adjustInto()' is applied to a date-time, the time of day portion remains unaltered.
155 * 'MODIFIED_JULIAN_DAY.adjustInto()' and 'MODIFIED_JULIAN_DAY.getFrom()' only apply to {@code Temporal} objects
192 * When 'RATA_DIE.adjustInto()' is applied to a date-time, the time of day portion remains unaltered.
193 * 'RATA_DIE.adjustInto()' and 'RATA_DIE.getFrom()' only apply to {@code Temporal} objects
282 public <R extends Temporal> R adjustInto(R temporal, long newValue) {
IsoFields.java 336 public <R extends Temporal> R adjustInto(R temporal, long newValue) {
406 public <R extends Temporal> R adjustInto(R temporal, long newValue) {
461 public <R extends Temporal> R adjustInto(R temporal, long newValue) {
535 public <R extends Temporal> R adjustInto(R temporal, long newValue) {
  /libcore/ojluni/src/test/java/time/tck/java/time/temporal/
TCKTemporalAdjusters.java 115 LocalDate test = (LocalDate) TemporalAdjusters.firstDayOfMonth().adjustInto(date);
128 LocalDate test = (LocalDate) TemporalAdjusters.firstDayOfMonth().adjustInto(date);
149 LocalDate test = (LocalDate) TemporalAdjusters.lastDayOfMonth().adjustInto(date);
162 LocalDate test = (LocalDate) TemporalAdjusters.lastDayOfMonth().adjustInto(date);
183 LocalDate test = (LocalDate) TemporalAdjusters.firstDayOfNextMonth().adjustInto(date);
196 LocalDate test = (LocalDate) TemporalAdjusters.firstDayOfNextMonth().adjustInto(date);
217 LocalDate test = (LocalDate) TemporalAdjusters.firstDayOfYear().adjustInto(date);
230 LocalDate test = (LocalDate) TemporalAdjusters.firstDayOfYear().adjustInto(date);
251 LocalDate test = (LocalDate) TemporalAdjusters.lastDayOfYear().adjustInto(date);
264 LocalDate test = (LocalDate) TemporalAdjusters.lastDayOfYear().adjustInto(date)
    [all...]
TCKJulianFields.java 134 assertEquals(field.adjustInto(LocalDate.MAX, value), date);
135 assertEquals(field.adjustInto(LocalDate.MIN, value), date);
136 assertEquals(field.adjustInto(JAN01_1970, value), date);
137 assertEquals(field.adjustInto(DEC31_1969, value), date);
138 assertEquals(field.adjustInto(NOV12_1945, value), date);
  /libcore/ojluni/src/test/java/time/tck/java/time/
TCKDayOfWeek.java 341 // adjustInto()
345 assertEquals(DayOfWeek.MONDAY.adjustInto(LocalDate.of(2012, 9, 2)), LocalDate.of(2012, 8, 27));
346 assertEquals(DayOfWeek.MONDAY.adjustInto(LocalDate.of(2012, 9, 3)), LocalDate.of(2012, 9, 3));
347 assertEquals(DayOfWeek.MONDAY.adjustInto(LocalDate.of(2012, 9, 4)), LocalDate.of(2012, 9, 3));
348 assertEquals(DayOfWeek.MONDAY.adjustInto(LocalDate.of(2012, 9, 10)), LocalDate.of(2012, 9, 10));
349 assertEquals(DayOfWeek.MONDAY.adjustInto(LocalDate.of(2012, 9, 11)), LocalDate.of(2012, 9, 10));
354 DayOfWeek.MONDAY.adjustInto((Temporal) null);
TCKZoneOffset.java 586 // adjustInto()
592 //Do not change offset of ZonedDateTime after adjustInto()
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);
611 //Do not change offset of ZonedDateTime after adjustInto()
613 ZonedDateTime zonedDateTime_result = (ZonedDateTime)(base.adjustInto(zonedDateTime_target));
621 base.adjustInto((LocalDate.of(1909, 2, 2)));
  /libcore/ojluni/src/test/java/time/test/java/time/temporal/
MockFieldNoValue.java 121 public <R extends Temporal> R adjustInto(R temporal, long newValue) {
TestIsoWeekFields.java 172 LocalDate adjusted = DAY_OF_WEEK.adjustInto(date, j);
201 LocalDate adjusted = weekField.adjustInto(date, j);
229 LocalDate adjusted = yearField.adjustInto(date, j);
  /libcore/ojluni/src/main/java/java/time/chrono/
Era.java 288 * temporal = thisEra.adjustInto(temporal);
300 default Temporal adjustInto(Temporal temporal) {
ChronoLocalDate.java 439 return ChronoLocalDateImpl.ensureValid(getChronology(), field.adjustInto(this, newValue));
535 * temporal = thisLocalDate.adjustInto(temporal);
547 default Temporal adjustInto(Temporal temporal) {
    [all...]
ChronoLocalDateTimeImpl.java 286 return ChronoLocalDateTimeImpl.ensureValid(date.getChronology(), (ChronoLocalDateTimeImpl<?>) adjuster.adjustInto(this));
299 return ChronoLocalDateTimeImpl.ensureValid(date.getChronology(), field.adjustInto(this, newValue));
  /libcore/ojluni/src/main/java/java/time/
DayOfWeek.java 430 * temporal = thisDayOfWeek.adjustInto(temporal);
453 public Temporal adjustInto(Temporal temporal) {
Instant.java 638 * {@link TemporalAdjuster#adjustInto(Temporal)} method on the
650 return (Instant) adjuster.adjustInto(this);
684 * is obtained by invoking {@code TemporalField.adjustInto(Temporal, long)}
    [all...]
OffsetTime.java 662 * {@link TemporalAdjuster#adjustInto(Temporal)} method on the
682 return (OffsetTime) adjuster.adjustInto(this);
707 * is obtained by invoking {@code TemporalField.adjustInto(Temporal, long)}
729 return field.adjustInto(this, newValue);
    [all...]
Year.java 556 * {@link TemporalAdjuster#adjustInto(Temporal)} method on the
568 return (Year) adjuster.adjustInto(this);
599 * is obtained by invoking {@code TemporalField.adjustInto(Temporal, long)}
624 return field.adjustInto(this, newValue);
    [all...]
YearMonth.java 612 * {@link TemporalAdjuster#adjustInto(Temporal)} method on the
624 return (YearMonth) adjuster.adjustInto(this);
662 * is obtained by invoking {@code TemporalField.adjustInto(Temporal, long)}
689 return field.adjustInto(this, newValue);
    [all...]
Month.java 587 * temporal = thisMonth.adjustInto(temporal);
608 public Temporal adjustInto(Temporal temporal) {
LocalTime.java 725 * {@link TemporalAdjuster#adjustInto(Temporal)} method on the
741 return (LocalTime) adjuster.adjustInto(this);
    [all...]
OffsetDateTime.java     [all...]
  /libcore/ojluni/src/test/java/time/test/java/time/
TestMonthDay.java 119 assertSame(test.adjustInto(date), date);
  /libcore/ojluni/src/test/java/time/test/java/time/chrono/
TestUmmAlQuraChronology.java 640 assertEquals(DayOfWeek.SATURDAY.adjustInto(HijrahDate.of(1434, 6, 28)), HijrahDate.of(1434, 7, 1));
641 assertEquals(DayOfWeek.SATURDAY.adjustInto(HijrahDate.of(1432, 4, 13)), HijrahDate.of(1432, 4, 14));
642 assertEquals(DayOfWeek.SATURDAY.adjustInto(HijrahDate.of(1433, 11, 29)), HijrahDate.of(1433, 12, 4));
643 assertEquals(DayOfWeek.SATURDAY.adjustInto(HijrahDate.of(1434, 5, 10)), HijrahDate.of(1434, 5, 11));
644 assertEquals(DayOfWeek.SATURDAY.adjustInto(HijrahDate.of(1434, 9, 11)), HijrahDate.of(1434, 9, 12));
    [all...]
  /libcore/ojluni/src/test/java/time/tck/java/time/chrono/
TCKChronoLocalDate.java 346 public Temporal adjustInto(Temporal ignore) {
476 public <R extends Temporal> R adjustInto(R temporal, long newValue) {

Completed in 291 milliseconds

1 2