Searched refs:TemporalAdjusters (Results 1 - 11 of 11) sorted by relevance
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
H A D | TCKTemporalAdjusters.java | 76 import java.time.temporal.TemporalAdjusters; 82 * Test TemporalAdjusters. 92 TemporalAdjuster test = TemporalAdjusters.ofDateAdjuster(date -> date.plusDays(2)); 98 TemporalAdjusters.ofDateAdjuster(null); 107 assertNotNull(TemporalAdjusters.firstDayOfMonth()); 115 LocalDate test = (LocalDate) TemporalAdjusters.firstDayOfMonth().adjustInto(date); 128 LocalDate test = (LocalDate) TemporalAdjusters.firstDayOfMonth().adjustInto(date); 141 assertNotNull(TemporalAdjusters.lastDayOfMonth()); 149 LocalDate test = (LocalDate) TemporalAdjusters.lastDayOfMonth().adjustInto(date); 162 LocalDate test = (LocalDate) TemporalAdjusters [all...] |
/libcore/ojluni/src/main/java/java/time/temporal/ |
H A D | TemporalAdjusters.java | 77 * Common and useful TemporalAdjusters. 113 public final class TemporalAdjusters { class 118 private TemporalAdjusters() { method in class:TemporalAdjusters 133 * TemporalAdjusters.ofDateAdjuster(date -> date.plusDays(2)); 291 return TemporalAdjusters.dayOfWeekInMonth(1, dayOfWeek); 311 return TemporalAdjusters.dayOfWeekInMonth(-1, dayOfWeek);
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
H A D | TestIsoChronology.java | 83 import java.time.temporal.TemporalAdjusters; 211 LocalDate test = base.with(TemporalAdjusters.lastDayOfMonth()); 218 LocalDate test = base.with(TemporalAdjusters.lastDayOfMonth());
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
H A D | TestUmmAlQuraChronology.java | 64 import java.time.temporal.TemporalAdjusters; 361 assertEquals(date.with(TemporalAdjusters.firstDayOfMonth()), HijrahDate.of(1554, 7, 1)); 362 assertEquals(date.with(TemporalAdjusters.lastDayOfMonth()), HijrahDate.of(1554, 7, 29)); 363 assertEquals(date.with(TemporalAdjusters.firstDayOfNextMonth()), HijrahDate.of(1554, 8, 1)); 364 assertEquals(date.with(TemporalAdjusters.firstDayOfNextYear()), HijrahDate.of(1555, 1, 1)); 365 assertEquals(date.with(TemporalAdjusters.firstDayOfYear()), HijrahDate.of(1554, 1, 1)); 366 assertEquals(date.with(TemporalAdjusters.lastDayOfYear()), HijrahDate.of(1554, 12, 30)); 416 hDate = hDate.with(TemporalAdjusters.lastDayOfMonth());
|
/libcore/ojluni/src/main/java/java/time/zone/ |
H A D | ZoneOffsetTransitionRule.java | 64 import static java.time.temporal.TemporalAdjusters.nextOrSame; 65 import static java.time.temporal.TemporalAdjusters.previousOrSame;
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
H A D | AbstractChronology.java | 80 import static java.time.temporal.TemporalAdjusters.nextOrSame; 93 import java.time.temporal.TemporalAdjusters; 565 return date(y, moy, 1).with(TemporalAdjusters.lastDayOfMonth());
|
H A D | JapaneseChronology.java | 80 import java.time.temporal.TemporalAdjusters; 492 result = date(y, moy, 1).with(TemporalAdjusters.lastDayOfMonth());
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
H A D | TCKMinguoChronology.java | 93 import java.time.temporal.TemporalAdjusters; 363 MinguoDate test = base.with(TemporalAdjusters.lastDayOfMonth()); 370 MinguoDate test = base.with(TemporalAdjusters.lastDayOfMonth());
|
H A D | TCKThaiBuddhistChronology.java | 91 import java.time.temporal.TemporalAdjusters; 369 ThaiBuddhistDate test = base.with(TemporalAdjusters.lastDayOfMonth()); 376 ThaiBuddhistDate test = base.with(TemporalAdjusters.lastDayOfMonth());
|
H A D | TCKJapaneseChronology.java | 95 import java.time.temporal.TemporalAdjusters; 497 JapaneseDate test = base.with(TemporalAdjusters.lastDayOfMonth()); 504 JapaneseDate test = base.with(TemporalAdjusters.lastDayOfMonth());
|
H A D | TCKIsoChronology.java | 73 import java.time.temporal.TemporalAdjusters;
|
Completed in 1753 milliseconds