mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
parent
749c4a054b
commit
170d8a7fae
12 changed files with 62 additions and 61 deletions
|
@ -586,7 +586,7 @@ public abstract class Clock {
|
|||
* This is typically used for testing.
|
||||
*/
|
||||
static final class FixedClock extends Clock implements Serializable {
|
||||
private static final long serialVersionUID = 7430389292664866958L;
|
||||
private static final long serialVersionUID = 7430389292664866958L;
|
||||
private final Instant instant;
|
||||
private final ZoneId zone;
|
||||
|
||||
|
@ -636,7 +636,7 @@ public abstract class Clock {
|
|||
* Implementation of a clock that adds an offset to an underlying clock.
|
||||
*/
|
||||
static final class OffsetClock extends Clock implements Serializable {
|
||||
private static final long serialVersionUID = 2007484719125426256L;
|
||||
private static final long serialVersionUID = 2007484719125426256L;
|
||||
private final Clock baseClock;
|
||||
private final Duration offset;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue