Package PamUtils.clock
Class LinuxClock
java.lang.Object
PamUtils.clock.OSClock
PamUtils.clock.LinuxClock
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleansetSystemTime(long timeMilliseconds) Set the system clock to the given time in milliseconds.
-
Constructor Details
-
LinuxClock
-
-
Method Details
-
setSystemTime
public boolean setSystemTime(long timeMilliseconds) Description copied from class:OSClockSet the system clock to the given time in milliseconds.- Specified by:
setSystemTimein classOSClock- Parameters:
timeMilliseconds- time in millis, UTC, probably from GPS, but might be from internet time.- Returns:
- true if sucessful.
-