Searched refs:TemporalAdjuster (Results 1 - 25 of 37) sorted by relevance

12

/openjdk10/jdk/src/java.base/share/classes/java/time/temporal/
H A DTemporalAdjuster.java75 * There are two equivalent ways of using a {@code TemporalAdjuster}.
77 * The second is to use {@link Temporal#with(TemporalAdjuster)}:
83 * It is recommended to use the second approach, {@code with(TemporalAdjuster)},
106 public interface TemporalAdjuster { interface
118 * The second is to use {@link Temporal#with(TemporalAdjuster)}:
124 * It is recommended to use the second approach, {@code with(TemporalAdjuster)},
H A DTemporalAdjusters.java85 * There are two equivalent ways of using a {@code TemporalAdjuster}.
87 * The second is to use {@link Temporal#with(TemporalAdjuster)}:
93 * It is recommended to use the second approach, {@code with(TemporalAdjuster)},
110 * @see TemporalAdjuster
123 * Obtains a {@code TemporalAdjuster} that wraps a date adjuster.
125 * The {@code TemporalAdjuster} is based on the low level {@code Temporal} interface.
132 * static TemporalAdjuster TWO_DAYS_LATER =
139 public static TemporalAdjuster ofDateAdjuster(UnaryOperator<LocalDate> dateBasedAdjuster) {
165 public static TemporalAdjuster firstDayOfMonth() {
188 public static TemporalAdjuster lastDayOfMont
[all...]
H A DTemporal.java168 * date = date.with(Month.JULY); // most key classes implement TemporalAdjuster
189 default Temporal with(TemporalAdjuster adjuster) {
/openjdk10/jdk/src/java.base/share/classes/java/time/chrono/
H A DEra.java74 import java.time.temporal.TemporalAdjuster;
104 public interface Era extends TemporalAccessor, TemporalAdjuster {
285 * {@link Temporal#with(TemporalAdjuster)}:
H A DChronoLocalDate.java78 import java.time.temporal.TemporalAdjuster;
242 extends Temporal, TemporalAdjuster, Comparable<ChronoLocalDate> {
427 default ChronoLocalDate with(TemporalAdjuster adjuster) {
535 * {@link Temporal#with(TemporalAdjuster)}:
H A DChronoLocalDateTime.java81 import java.time.temporal.TemporalAdjuster;
122 extends Temporal, TemporalAdjuster, Comparable<ChronoLocalDateTime<?>> {
272 default ChronoLocalDateTime<D> with(TemporalAdjuster adjuster) {
369 * {@link Temporal#with(TemporalAdjuster)}:
H A DChronoLocalDateImpl.java69 import java.time.temporal.TemporalAdjuster;
144 implements ChronoLocalDate, Temporal, TemporalAdjuster, Serializable {
178 public D with(TemporalAdjuster adjuster) {
H A DChronoZonedDateTime.java81 import java.time.temporal.TemporalAdjuster;
419 default ChronoZonedDateTime<D> with(TemporalAdjuster adjuster) {
H A DChronoLocalDateTimeImpl.java77 import java.time.temporal.TemporalAdjuster;
101 implements ChronoLocalDateTime<D>, Temporal, TemporalAdjuster, Serializable {
277 public ChronoLocalDateTimeImpl<D> with(TemporalAdjuster adjuster) {
H A DThaiBuddhistDate.java78 import java.time.temporal.TemporalAdjuster;
346 public ThaiBuddhistDate with(TemporalAdjuster adjuster) {
H A DMinguoDate.java78 import java.time.temporal.TemporalAdjuster;
346 public MinguoDate with(TemporalAdjuster adjuster) {
H A DJapaneseDate.java81 import java.time.temporal.TemporalAdjuster;
548 public JapaneseDate with(TemporalAdjuster adjuster) {
/openjdk10/jdk/src/java.base/share/classes/java/time/
H A DDayOfWeek.java72 import java.time.temporal.TemporalAdjuster;
109 public enum DayOfWeek implements TemporalAccessor, TemporalAdjuster {
423 * See {@code TemporalAdjuster} for other adjusters with more control,
427 * {@link Temporal#with(TemporalAdjuster)}:
H A DMonth.java74 import java.time.temporal.TemporalAdjuster;
106 public enum Month implements TemporalAccessor, TemporalAdjuster {
584 * {@link Temporal#with(TemporalAdjuster)}:
H A DMonthDay.java81 import java.time.temporal.TemporalAdjuster;
128 implements TemporalAccessor, TemporalAdjuster, Comparable<MonthDay>, Serializable {
612 * {@link Temporal#with(TemporalAdjuster)}:
H A DInstant.java87 import java.time.temporal.TemporalAdjuster;
208 implements Temporal, TemporalAdjuster, Comparable<Instant>, Serializable {
643 * {@link TemporalAdjuster#adjustInto(Temporal)} method on the
654 public Instant with(TemporalAdjuster adjuster) {
1078 * {@link Temporal#with(TemporalAdjuster)}:
H A DOffsetTime.java84 import java.time.temporal.TemporalAdjuster;
119 implements Temporal, TemporalAdjuster, Comparable<OffsetTime>, Serializable {
660 * The classes {@link LocalTime} and {@link ZoneOffset} implement {@code TemporalAdjuster},
668 * {@link TemporalAdjuster#adjustInto(Temporal)} method on the
679 public OffsetTime with(TemporalAdjuster adjuster) {
1105 * {@link Temporal#with(TemporalAdjuster)}:
H A DYearMonth.java92 import java.time.temporal.TemporalAdjuster;
132 implements Temporal, TemporalAdjuster, Comparable<YearMonth>, Serializable {
618 * {@link TemporalAdjuster#adjustInto(Temporal)} method on the
629 public YearMonth with(TemporalAdjuster adjuster) {
975 * {@link Temporal#with(TemporalAdjuster)}:
H A DYear.java89 import java.time.temporal.TemporalAdjuster;
136 implements Temporal, TemporalAdjuster, Comparable<Year>, Serializable {
562 * {@link TemporalAdjuster#adjustInto(Temporal)} method on the
573 public Year with(TemporalAdjuster adjuster) {
843 * {@link Temporal#with(TemporalAdjuster)}:
H A DZoneOffset.java78 import java.time.temporal.TemporalAdjuster;
132 implements TemporalAccessor, TemporalAdjuster, Comparable<ZoneOffset>, Serializable {
669 * {@link Temporal#with(TemporalAdjuster)}:
H A DOffsetDateTime.java84 import java.time.temporal.TemporalAdjuster;
129 implements Temporal, TemporalAdjuster, Comparable<OffsetDateTime>, Serializable {
875 * Key date-time classes also implement the {@code TemporalAdjuster} interface,
889 * {@code TemporalAdjuster}, thus this method can be used to change the date, time or offset:
897 * {@link TemporalAdjuster#adjustInto(Temporal)} method on the
908 public OffsetDateTime with(TemporalAdjuster adjuster) {
1575 * {@link Temporal#with(TemporalAdjuster)}:
H A DLocalTime.java85 import java.time.temporal.TemporalAdjuster;
126 implements Temporal, TemporalAdjuster, Comparable<LocalTime>, Serializable {
753 * {@link TemporalAdjuster#adjustInto(Temporal)} method on the
764 public LocalTime with(TemporalAdjuster adjuster) {
1339 * {@link Temporal#with(TemporalAdjuster)}:
/openjdk10/jdk/test/java/time/tck/java/time/chrono/
H A DTCKChronoLocalDateTime.java82 import java.time.temporal.TemporalAdjuster;
120 TemporalAdjuster adjuster = new FixedAdjuster(cdt2);
358 static class FixedAdjuster implements TemporalAdjuster, TemporalAmount {
H A DTCKChronoLocalDate.java81 import java.time.temporal.TemporalAdjuster;
120 TemporalAdjuster adjuster = new FixedAdjuster(date2);
338 static class FixedAdjuster implements TemporalAdjuster, TemporalAmount {
H A DTCKChronoZonedDateTime.java83 import java.time.temporal.TemporalAdjuster;
122 TemporalAdjuster adjuster = new FixedAdjuster(czdt2);
359 static class FixedAdjuster implements TemporalAdjuster, TemporalAmount {

Completed in 160 milliseconds

12