public class ConstantTimeKeeper extends Object implements TimeKeeper
| Constructor and Description |
|---|
ConstantTimeKeeper(long timestampInSeconds)
Instantiates a new constant time keeper.
|
public ConstantTimeKeeper(long timestampInSeconds)
timestamp - the timestamp in secondspublic long getCurrentTime()
getCurrentTime in interface TimeKeeperpublic Date getCurrentDate()
getCurrentDate in interface TimeKeeperpublic TimeZone getTimeZone()
getTimeZone in interface TimeKeeperCopyright © 2015. All rights reserved.