Searched refs:InstantSource (Results 1 – 6 of 6) sorted by relevance
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestInstantSource.java | 33 import java.time.InstantSource; 49 var test = InstantSource.system(); in test_system() 57 assertSame(test, InstantSource.system()); in test_system() 58 assertEquals(test.hashCode(), InstantSource.system().hashCode()); in test_system() 66 var test = InstantSource.tick(InstantSource.fixed(instant), duration); 71 assertEquals(test, InstantSource.tick(InstantSource.fixed(instant), duration)); 72 …assertEquals(test.hashCode(), InstantSource.tick(InstantSource.fixed(instant), duration).hashCode(… 78 var test = InstantSource.fixed(instant); 83 assertEquals(test, InstantSource.fixed(instant)); 84 assertEquals(test.hashCode(), InstantSource.fixed(instant).hashCode()); [all …]
|
/libcore/ojluni/src/main/java/java/time/ |
D | InstantSource.java | 98 public interface InstantSource { interface 113 static InstantSource system() { in system() 150 static InstantSource tick(InstantSource baseSource, Duration tickDuration) { in tick() 169 static InstantSource fixed(Instant fixedInstant) { in fixed() 193 static InstantSource offset(InstantSource baseSource, Duration offsetDuration) { in offset()
|
D | Clock.java | 139 public abstract class Clock implements InstantSource { 533 static final class SystemInstantSource implements InstantSource, Serializable { 797 private final InstantSource baseSource; 800 SourceClock(InstantSource baseSource, ZoneId zone) { in SourceClock()
|
/libcore/ |
D | openjdk_java_files.bp | 854 "ojluni/src/main/java/java/time/InstantSource.java",
|
D | EXPECTED_UPSTREAM | 810 ojluni/src/main/java/java/time/InstantSource.java,jdk17u/jdk-17.0.6-ga,src/java.base/share/classes/…
|
/libcore/api/ |
D | current.txt | 11377 public abstract class Clock implements java.time.InstantSource { 11519 public interface InstantSource { 11520 method public static java.time.InstantSource fixed(java.time.Instant); 11523 … method public static java.time.InstantSource offset(java.time.InstantSource, java.time.Duration); 11524 method public static java.time.InstantSource system(); 11525 method public static java.time.InstantSource tick(java.time.InstantSource, java.time.Duration);
|