Home
last modified time | relevance | path

Searched refs:fixed (Results 1 – 18 of 18) sorted by relevance

/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKClock_Fixed.java85 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 …]
DTCKClock_Tick.java88 …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()
DTCKClock_Offset.java87 Clock test = Clock.offset(Clock.fixed(INSTANT, PARIS), OFFSET); in test_offset_ClockDuration()
DTCKLocalDate.java278 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);
DTCKLocalDateTime.java310 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);
DTCKOffsetDateTime.java261 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);
DTCKOffsetTime.java225 Clock clock = Clock.fixed(instant, ZoneOffset.UTC);
239 Clock clock = Clock.fixed(instant, ZoneOffset.UTC);
254 Clock clock = Clock.fixed(base, offset);
DTCKLocalTime.java269 Clock clock = Clock.fixed(instant, ZoneOffset.UTC); in now_Clock_allSecsInDay()
282 Clock clock = Clock.fixed(instant, ZoneOffset.UTC); in now_Clock_beforeEpoch()
294 Clock clock = Clock.fixed(Instant.MAX, ZoneOffset.UTC); in now_Clock_max()
304 Clock clock = Clock.fixed(Instant.MIN, ZoneOffset.UTC); in now_Clock_min()
DTCKZonedDateTime.java278 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);
DTCKInstant.java209 Clock clock = Clock.fixed(expected, ZoneOffset.UTC);
219 Clock clock = Clock.fixed(expected, ZoneOffset.UTC);
DTCKYear.java199 Clock clock = Clock.fixed(instant, ZoneOffset.UTC); in now_Clock()
DTCKYearMonth.java214 Clock clock = Clock.fixed(instant, ZoneOffset.UTC); in now_Clock()
/libcore/ojluni/src/test/java/time/tck/java/time/serial/
DTCKClockSerialization.java105 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/
DTestClock_Fixed.java84 Clock test = Clock.fixed(INSTANT, PARIS); in test_withZone_same()
91 Clock test = Clock.fixed(INSTANT, PARIS); in test_toString()
/libcore/ojluni/src/main/java/java/time/
DClock.java314 public static Clock fixed(Instant fixedInstant, ZoneId zone) { in fixed() method in Clock
/libcore/
DNativeCode.bp118 // issues have been fixed. Most of these are small changes except for
Dopenjdk_java_files.bp1393 // the code generation tools (notably dagger) can be fixed.
/libcore/expectations/
Dknownfailures.txt161 …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…