/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKClock_System.java | 83 Clock system = Clock.systemUTC(); in test_instant() 97 Clock system = Clock.systemUTC(); in test_millis() 112 Clock test = Clock.systemUTC(); in test_systemUTC() 148 Clock test = Clock.systemUTC(); in test_withZone_fromUTC() 155 Clock.systemUTC().withZone(null); in test_withZone_null() 160 Clock a = Clock.systemUTC(); in test_equals() 161 Clock b = Clock.systemUTC(); in test_equals()
|
D | TCKClock_Tick.java | 124 Clock.tick(Clock.systemUTC(), Duration.ofSeconds(Long.MAX_VALUE)); in test_tick_ClockDuration_maxDuration() 129 Clock.tick(Clock.systemUTC(), Duration.ofSeconds(0, 123)); in test_tick_ClockDuration_subMilliNotDivisible_123ns() 134 Clock.tick(Clock.systemUTC(), Duration.ofSeconds(0, 999)); in test_tick_ClockDuration_subMilliNotDivisible_999ns() 139 Clock.tick(Clock.systemUTC(), Duration.ofSeconds(0, 999_999_999)); in test_tick_ClockDuration_subMilliNotDivisible_999_999_999ns() 144 Clock.tick(Clock.systemUTC(), Duration.ofSeconds(0, -1)); in test_tick_ClockDuration_negative1ns() 149 Clock.tick(Clock.systemUTC(), Duration.ofSeconds(-1)); in test_tick_ClockDuration_negative1s() 159 Clock.tick(Clock.systemUTC(), null); in test_tick_ClockDuration_nullDuration() 237 assertEquals(a.equals(Clock.systemUTC()), false); in test__equals()
|
D | TCKClock_Offset.java | 107 Clock.offset(Clock.systemUTC(), null); in test_offset_ClockDuration_nullDuration() 146 assertEquals(a.equals(Clock.systemUTC()), false); in test_equals()
|
D | TCKClock_Fixed.java | 137 assertEquals(a.equals(Clock.systemUTC()), false); in test_equals()
|
D | TCKInstant.java | 191 Instant expected = Instant.now(Clock.systemUTC()); in now()
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestClock_System.java | 84 private static final Clock systemUTC = Clock.systemUTC(); field in TestClock_System 102 {"Clock.systemUTC()#1", Clock.systemUTC()}, in provider_sampleSystemUTC() 103 {"Clock.systemUTC()#2", Clock.systemUTC()}, in provider_sampleSystemUTC() 112 if (clock != systemUTC) { in test_systemUTC() 114 + "\n\texpected: " + toString(systemUTC) in test_systemUTC() 133 Clock highestUTC = Clock.systemUTC(); in test_ClockResolution() 275 static final Clock systemUTC = Clock.systemUTC(); field in TestClock_System.SystemClockOffset 316 testWithOffset(name, offset, systemUTC); in testWithOffset()
|
D | TestClock_Offset.java | 89 Clock test = Clock.offset(Clock.systemUTC(), OFFSET); in test_toString()
|
D | TestClock_Tick.java | 93 Clock test = Clock.tick(Clock.systemUTC(), Duration.ofMillis(500)); in test_toString()
|
D | TestInstantSource.java | 50 assertSame(test.withZone(ZoneOffset.UTC), Clock.systemUTC()); in test_system()
|
/libcore/ojluni/src/test/java/time/tck/java/time/serial/ |
D | TCKClockSerialization.java | 91 assertSerializable(Clock.systemUTC()); in test_systemClockSerializable()
|
/libcore/ojluni/src/main/java/java/time/ |
D | Clock.java | 159 public static Clock systemUTC() { in systemUTC() method in Clock
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | TCKHijrahChronology.java | 123 …dateNow(ZoneId.of(ZoneOffset.UTC.getId())), HijrahChronology.INSTANCE.dateNow(Clock.systemUTC())) ; in test_dateNow()
|
D | TCKThaiBuddhistChronology.java | 239 …w(ZoneId.of(ZoneOffset.UTC.getId())), ThaiBuddhistChronology.INSTANCE.dateNow(Clock.systemUTC())) ; in test_dateNow()
|
D | TCKMinguoChronology.java | 202 …dateNow(ZoneId.of(ZoneOffset.UTC.getId())), MinguoChronology.INSTANCE.dateNow(Clock.systemUTC())) ; in test_dateNow()
|
D | TCKJapaneseChronology.java | 331 …teNow(ZoneId.of(ZoneOffset.UTC.getId())), JapaneseChronology.INSTANCE.dateNow(Clock.systemUTC())) ; in test_dateNow()
|
/libcore/api/ |
D | current.txt | 11385 method public static java.time.Clock systemUTC();
|