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.DategetCurrentDate()longgetCurrentTime()java.util.TimeZonegetTimeZone()
-
-
-
Method Detail
-
getCurrentTime
public long getCurrentTime()
- Specified by:
getCurrentTimein interfaceTimeKeeper
-
getCurrentDate
public java.util.Date getCurrentDate()
- Specified by:
getCurrentDatein interfaceTimeKeeper
-
getTimeZone
public java.util.TimeZone getTimeZone()
- Specified by:
getTimeZonein interfaceTimeKeeper
-
-