mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-21 00:38:04 +01:00
Implement /v2/backup/auth/check
This commit is contained in:
@@ -28,6 +28,11 @@ public class MutableClock extends Clock {
|
||||
this(Clock.systemUTC());
|
||||
}
|
||||
|
||||
public MutableClock setTimeInstant(final Instant instant) {
|
||||
delegate.set(Clock.fixed(instant, ZoneId.of("Etc/UTC")));
|
||||
return this;
|
||||
}
|
||||
|
||||
public MutableClock setTimeMillis(final long timeMillis) {
|
||||
delegate.set(fixedTimeMillis(timeMillis));
|
||||
return this;
|
||||
|
||||
Reference in New Issue
Block a user