/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKClock_Fixed.java | 85 Clock test = Clock.fixed(INSTANT, PARIS); in test_fixed_InstantZoneId() 93 Clock.fixed(null, PARIS); in test_fixed_InstantZoneId_nullInstant() 98 Clock.fixed(INSTANT, null); in test_fixed_InstantZoneId_nullZoneId() 103 Clock test = Clock.fixed(INSTANT, PARIS); in test_withZone() 110 Clock test = Clock.fixed(INSTANT, PARIS); in test_withZone_equal() 117 Clock.fixed(INSTANT, PARIS).withZone(null); in test_withZone_null() 122 Clock a = Clock.fixed(INSTANT, ZoneOffset.UTC); in test_equals() 123 Clock b = Clock.fixed(INSTANT, ZoneOffset.UTC); in test_equals() 129 Clock c = Clock.fixed(INSTANT, PARIS); in test_equals() 132 Clock d = Clock.fixed(INSTANT.minusNanos(1), ZoneOffset.UTC); in test_equals() [all …]
|
D | TCKClock_Tick.java | 88 …Clock test = Clock.tick(Clock.fixed(ZDT.withNano(i * 1000_000).toInstant(), PARIS), Duration.ofMil… in test_tick_ClockDuration_250millis() 96 …Clock test = Clock.tick(Clock.fixed(ZDT.withNano(i * 1000).toInstant(), PARIS), Duration.ofNanos(2… in test_tick_ClockDuration_250micros() 104 … Clock test = Clock.tick(Clock.fixed(ZDT.withNano(i).toInstant(), PARIS), Duration.ofNanos(20)); in test_tick_ClockDuration_20nanos()
|
D | TCKClock_Offset.java | 87 Clock test = Clock.offset(Clock.fixed(INSTANT, PARIS), OFFSET); in test_offset_ClockDuration()
|
D | TCKClock_System.java | 179 assertEquals(a.equals(Clock.fixed(Instant.now(), ZoneOffset.UTC)), false); in test_equals()
|
D | TCKLocalDate.java | 281 Clock clock = Clock.fixed(instant, ZoneOffset.UTC); in now_Clock_allSecsInDay_utc() 293 … Clock clock = Clock.fixed(instant.minusSeconds(OFFSET_PONE.getTotalSeconds()), OFFSET_PONE); 305 Clock clock = Clock.fixed(instant, ZoneOffset.UTC); 316 Clock clock = Clock.fixed(MAX_INSTANT, ZoneOffset.UTC); 323 Clock clock = Clock.fixed(MAX_INSTANT.plusSeconds(24 * 60 * 60), ZoneOffset.UTC); 329 Clock clock = Clock.fixed(MIN_INSTANT, ZoneOffset.UTC); 336 Clock clock = Clock.fixed(MIN_INSTANT.minusNanos(1), ZoneOffset.UTC);
|
D | TCKLocalDateTime.java | 304 Clock clock = Clock.fixed(instant, ZoneOffset.UTC); 320 … Clock clock = Clock.fixed(instant.minusSeconds(OFFSET_PONE.getTotalSeconds()), OFFSET_PONE); 337 Clock clock = Clock.fixed(instant, ZoneOffset.UTC); 350 Clock clock = Clock.fixed(MAX_INSTANT, ZoneOffset.UTC); 357 Clock clock = Clock.fixed(MAX_INSTANT.plusSeconds(24 * 60 * 60), ZoneOffset.UTC); 363 Clock clock = Clock.fixed(MIN_INSTANT, ZoneOffset.UTC); 370 Clock clock = Clock.fixed(MIN_INSTANT.minusNanos(1), ZoneOffset.UTC);
|
D | TCKOffsetDateTime.java | 258 Clock clock = Clock.fixed(instant, ZoneOffset.UTC); 275 … Clock clock = Clock.fixed(instant.minusSeconds(OFFSET_PONE.getTotalSeconds()), OFFSET_PONE); 293 Clock clock = Clock.fixed(instant, ZoneOffset.UTC); 309 Clock clock = Clock.fixed(base.toInstant(), offset);
|
D | TCKOffsetTime.java | 229 Clock clock = Clock.fixed(instant, ZoneOffset.UTC); 243 Clock clock = Clock.fixed(instant, ZoneOffset.UTC); 258 Clock clock = Clock.fixed(base, offset);
|
D | TCKLocalTime.java | 263 Clock clock = Clock.fixed(instant, ZoneOffset.UTC); in now_Clock_allSecsInDay() 276 Clock clock = Clock.fixed(instant, ZoneOffset.UTC); in now_Clock_beforeEpoch() 288 Clock clock = Clock.fixed(Instant.MAX, ZoneOffset.UTC); in now_Clock_max() 298 Clock clock = Clock.fixed(Instant.MIN, ZoneOffset.UTC); in now_Clock_min()
|
D | TCKZonedDateTime.java | 272 Clock clock = Clock.fixed(instant, ZoneOffset.UTC); 292 Clock clock = Clock.fixed(expected.toInstant(), zone); 303 Clock clock = Clock.fixed(instant, ZoneOffset.UTC); 320 Clock clock = Clock.fixed(base.toInstant(), offset);
|
D | TCKMonthDay.java | 195 Clock clock = Clock.fixed(instant, ZoneOffset.UTC); in now_Clock()
|
D | TCKInstant.java | 209 Clock clock = Clock.fixed(expected, ZoneOffset.UTC); 219 Clock clock = Clock.fixed(expected, ZoneOffset.UTC);
|
D | TCKYear.java | 202 Clock clock = Clock.fixed(instant, ZoneOffset.UTC); in now_Clock()
|
D | TCKYearMonth.java | 214 Clock clock = Clock.fixed(instant, ZoneOffset.UTC); in now_Clock()
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestInstantSource.java | 66 var test = InstantSource.tick(InstantSource.fixed(instant), duration); 67 …assertEquals(test.withZone(ZoneOffset.UTC), Clock.tick(Clock.fixed(instant, ZoneOffset.UTC), durat… 68 assertEquals(test.withZone(PARIS), Clock.tick(Clock.fixed(instant, PARIS), 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); 79 assertEquals(test.withZone(ZoneOffset.UTC), Clock.fixed(instant, ZoneOffset.UTC)); 80 assertEquals(test.withZone(PARIS), Clock.fixed(instant, PARIS)); 83 assertEquals(test, InstantSource.fixed(instant)); 84 assertEquals(test.hashCode(), InstantSource.fixed(instant).hashCode()); [all …]
|
D | TestClock_Fixed.java | 84 Clock test = Clock.fixed(INSTANT, PARIS); in test_withZone_same() 91 Clock test = Clock.fixed(INSTANT, PARIS); in test_toString()
|
/libcore/ojluni/src/test/java/time/tck/java/time/serial/ |
D | TCKClockSerialization.java | 105 assertSerializable(Clock.tick(Clock.fixed(INSTANT, PARIS), AMOUNT)); in test_tickClockSerializable() 110 assertSerializable(Clock.fixed(INSTANT, ZoneOffset.UTC)); in test_fixedClockSerializable() 111 assertSerializable(Clock.fixed(INSTANT, PARIS)); in test_fixedClockSerializable()
|
/libcore/ojluni/src/main/java/java/time/ |
D | InstantSource.java | 169 static InstantSource fixed(Instant fixedInstant) { in fixed() method 170 return Clock.fixed(fixedInstant, ZoneOffset.UTC); in fixed()
|
D | Clock.java | 347 public static Clock fixed(Instant fixedInstant, ZoneId zone) { in fixed() method in Clock
|
/libcore/expectations/ |
D | skippedCtsTest.txt | 27 …e test asserts buggy or non-breaking behaviors, but the behavior has been fixed in a new mainline … 34 …e test asserts buggy or non-breaking behaviors, but the behavior has been fixed in a new mainline … 49 …e test asserts buggy or non-breaking behaviors, but the behavior has been fixed in a new mainline … 75 …e test asserts buggy or non-breaking behaviors, but the behavior has been fixed in a new mainline … 109 …e test asserts buggy or non-breaking behaviors, but the behavior has been fixed in a new mainline … 142 …e test asserts buggy or non-breaking behaviors, but the behavior has been fixed in a new mainline …
|
D | skippedCtsTest_manual_base.txt | 12 …e test asserts buggy or non-breaking behaviors, but the behavior has been fixed in a new mainline … 17 …e test asserts buggy or non-breaking behaviors, but the behavior has been fixed in a new mainline … 42 …e test asserts buggy or non-breaking behaviors, but the behavior has been fixed in a new mainline …
|
D | knownfailures.txt | 161 …ption: "Not supported feature, Ticket 98. Broken because NUMERIC_FUNCTIONS not complete. When fixed 1650 …description: "this test needs to be fixed. We supply optional qnames, but this test doesn't expect…
|
/libcore/ |
D | NativeCode.bp | 121 // issues have been fixed. Most of these are small changes except for
|
/libcore/ojluni/src/main/java/java/nio/ |
D | X-Buffer.java.template | 198 * <p> The byte order of a view buffer is fixed to be that of its byte buffer
|
/libcore/api/ |
D | current.txt | 11379 method public static java.time.Clock fixed(java.time.Instant, java.time.ZoneId); 11520 method public static java.time.InstantSource fixed(java.time.Instant);
|