/openjdk10/jdk/src/java.base/share/classes/java/time/temporal/ |
H A D | TemporalAdjuster.java | 75 * 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 D | TemporalAdjusters.java | 85 * 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 D | Temporal.java | 168 * 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 D | Era.java | 74 import java.time.temporal.TemporalAdjuster; 104 public interface Era extends TemporalAccessor, TemporalAdjuster { 285 * {@link Temporal#with(TemporalAdjuster)}:
|
H A D | ChronoLocalDate.java | 78 import java.time.temporal.TemporalAdjuster; 242 extends Temporal, TemporalAdjuster, Comparable<ChronoLocalDate> { 427 default ChronoLocalDate with(TemporalAdjuster adjuster) { 535 * {@link Temporal#with(TemporalAdjuster)}:
|
H A D | ChronoLocalDateTime.java | 81 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 D | ChronoLocalDateImpl.java | 69 import java.time.temporal.TemporalAdjuster; 144 implements ChronoLocalDate, Temporal, TemporalAdjuster, Serializable { 178 public D with(TemporalAdjuster adjuster) {
|
H A D | ChronoZonedDateTime.java | 81 import java.time.temporal.TemporalAdjuster; 419 default ChronoZonedDateTime<D> with(TemporalAdjuster adjuster) {
|
H A D | ChronoLocalDateTimeImpl.java | 77 import java.time.temporal.TemporalAdjuster; 101 implements ChronoLocalDateTime<D>, Temporal, TemporalAdjuster, Serializable { 277 public ChronoLocalDateTimeImpl<D> with(TemporalAdjuster adjuster) {
|
H A D | ThaiBuddhistDate.java | 78 import java.time.temporal.TemporalAdjuster; 346 public ThaiBuddhistDate with(TemporalAdjuster adjuster) {
|
H A D | MinguoDate.java | 78 import java.time.temporal.TemporalAdjuster; 346 public MinguoDate with(TemporalAdjuster adjuster) {
|
H A D | JapaneseDate.java | 81 import java.time.temporal.TemporalAdjuster; 548 public JapaneseDate with(TemporalAdjuster adjuster) {
|
/openjdk10/jdk/src/java.base/share/classes/java/time/ |
H A D | DayOfWeek.java | 72 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 D | Month.java | 74 import java.time.temporal.TemporalAdjuster; 106 public enum Month implements TemporalAccessor, TemporalAdjuster { 584 * {@link Temporal#with(TemporalAdjuster)}:
|
H A D | MonthDay.java | 81 import java.time.temporal.TemporalAdjuster; 128 implements TemporalAccessor, TemporalAdjuster, Comparable<MonthDay>, Serializable { 612 * {@link Temporal#with(TemporalAdjuster)}:
|
H A D | Instant.java | 87 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 D | OffsetTime.java | 84 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 D | YearMonth.java | 92 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 D | Year.java | 89 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 D | ZoneOffset.java | 78 import java.time.temporal.TemporalAdjuster; 132 implements TemporalAccessor, TemporalAdjuster, Comparable<ZoneOffset>, Serializable { 669 * {@link Temporal#with(TemporalAdjuster)}:
|
H A D | OffsetDateTime.java | 84 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 D | LocalTime.java | 85 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 D | TCKChronoLocalDateTime.java | 82 import java.time.temporal.TemporalAdjuster; 120 TemporalAdjuster adjuster = new FixedAdjuster(cdt2); 358 static class FixedAdjuster implements TemporalAdjuster, TemporalAmount {
|
H A D | TCKChronoLocalDate.java | 81 import java.time.temporal.TemporalAdjuster; 120 TemporalAdjuster adjuster = new FixedAdjuster(date2); 338 static class FixedAdjuster implements TemporalAdjuster, TemporalAmount {
|
H A D | TCKChronoZonedDateTime.java | 83 import java.time.temporal.TemporalAdjuster; 122 TemporalAdjuster adjuster = new FixedAdjuster(czdt2); 359 static class FixedAdjuster implements TemporalAdjuster, TemporalAmount {
|