/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_System.java | 179 assertEquals(a.equals(Clock.fixed(Instant.now(), ZoneOffset.UTC)), false); in test_equals()
|
D | TCKClock_Offset.java | 87 Clock test = Clock.offset(Clock.fixed(INSTANT, PARIS), OFFSET); in test_offset_ClockDuration()
|
D | TCKLocalDate.java | 278 Clock clock = Clock.fixed(instant, ZoneOffset.UTC); in now_Clock_allSecsInDay_utc() 290 … Clock clock = Clock.fixed(instant.minusSeconds(OFFSET_PONE.getTotalSeconds()), OFFSET_PONE); 302 Clock clock = Clock.fixed(instant, ZoneOffset.UTC); 313 Clock clock = Clock.fixed(MAX_INSTANT, ZoneOffset.UTC); 320 Clock clock = Clock.fixed(MAX_INSTANT.plusSeconds(24 * 60 * 60), ZoneOffset.UTC); 326 Clock clock = Clock.fixed(MIN_INSTANT, ZoneOffset.UTC); 333 Clock clock = Clock.fixed(MIN_INSTANT.minusNanos(1), ZoneOffset.UTC);
|
D | TCKLocalDateTime.java | 310 Clock clock = Clock.fixed(instant, ZoneOffset.UTC); 326 … Clock clock = Clock.fixed(instant.minusSeconds(OFFSET_PONE.getTotalSeconds()), OFFSET_PONE); 343 Clock clock = Clock.fixed(instant, ZoneOffset.UTC); 356 Clock clock = Clock.fixed(MAX_INSTANT, ZoneOffset.UTC); 363 Clock clock = Clock.fixed(MAX_INSTANT.plusSeconds(24 * 60 * 60), ZoneOffset.UTC); 369 Clock clock = Clock.fixed(MIN_INSTANT, ZoneOffset.UTC); 376 Clock clock = Clock.fixed(MIN_INSTANT.minusNanos(1), ZoneOffset.UTC);
|
D | TCKOffsetDateTime.java | 261 Clock clock = Clock.fixed(instant, ZoneOffset.UTC); 278 … Clock clock = Clock.fixed(instant.minusSeconds(OFFSET_PONE.getTotalSeconds()), OFFSET_PONE); 296 Clock clock = Clock.fixed(instant, ZoneOffset.UTC); 312 Clock clock = Clock.fixed(base.toInstant(), offset);
|
D | TCKOffsetTime.java | 225 Clock clock = Clock.fixed(instant, ZoneOffset.UTC); 239 Clock clock = Clock.fixed(instant, ZoneOffset.UTC); 254 Clock clock = Clock.fixed(base, offset);
|
D | TCKLocalTime.java | 267 Clock clock = Clock.fixed(instant, ZoneOffset.UTC); in now_Clock_allSecsInDay() 280 Clock clock = Clock.fixed(instant, ZoneOffset.UTC); in now_Clock_beforeEpoch() 292 Clock clock = Clock.fixed(Instant.MAX, ZoneOffset.UTC); in now_Clock_max() 302 Clock clock = Clock.fixed(Instant.MIN, ZoneOffset.UTC); in now_Clock_min()
|
D | TCKZonedDateTime.java | 278 Clock clock = Clock.fixed(instant, ZoneOffset.UTC); 298 Clock clock = Clock.fixed(expected.toInstant(), zone); 309 Clock clock = Clock.fixed(instant, ZoneOffset.UTC); 326 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 | 199 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/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/test/java/time/test/java/time/ |
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/ |
D | NativeCode.bp | 112 // issues have been fixed. Most of these are small changes except for
|
/libcore/ojluni/src/main/java/java/time/ |
D | Clock.java | 314 public static Clock fixed(Instant fixedInstant, ZoneId zone) { in fixed() method in Clock
|
/libcore/expectations/ |
D | knownfailures.txt | 166 …ption: "Not supported feature, Ticket 98. Broken because NUMERIC_FUNCTIONS not complete. When fixed 1671 …description: "this test needs to be fixed. We supply optional qnames, but this test doesn't expect…
|