Class ConstantTimeKeeper
- java.lang.Object
-
- org.opennms.netmgt.collection.support.ConstantTimeKeeper
-
- All Implemented Interfaces:
TimeKeeper
public class ConstantTimeKeeper extends java.lang.Object implements TimeKeeper
The Class ConstantTimeKeeper.- Author:
- Alejandro Galue
-
-
Constructor Summary
Constructors Constructor Description ConstantTimeKeeper(java.util.Date timestamp)
Instantiates a new constant time keeper.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Date
getCurrentDate()
long
getCurrentTime()
java.util.TimeZone
getTimeZone()
-
-
-
Method Detail
-
getCurrentTime
public long getCurrentTime()
- Specified by:
getCurrentTime
in interfaceTimeKeeper
-
getCurrentDate
public java.util.Date getCurrentDate()
- Specified by:
getCurrentDate
in interfaceTimeKeeper
-
getTimeZone
public java.util.TimeZone getTimeZone()
- Specified by:
getTimeZone
in interfaceTimeKeeper
-
-