Class DefaultTimeKeeper
- java.lang.Object
-
- org.opennms.netmgt.collection.support.DefaultTimeKeeper
-
- All Implemented Interfaces:
TimeKeeper
public class DefaultTimeKeeper extends Object implements TimeKeeper
DefaultTimeKeeper class.
-
-
Constructor Summary
Constructors Constructor Description DefaultTimeKeeper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getCurrentDate()
getCurrentDatelong
getCurrentTime()
getCurrentTimeTimeZone
getTimeZone()
-
-
-
Method Detail
-
getCurrentDate
public Date getCurrentDate()
getCurrentDate
- Specified by:
getCurrentDate
in interfaceTimeKeeper
- Returns:
- a
Date
object.
-
getCurrentTime
public long getCurrentTime()
getCurrentTime
- Specified by:
getCurrentTime
in interfaceTimeKeeper
- Returns:
- a long.
-
getTimeZone
public TimeZone getTimeZone()
- Specified by:
getTimeZone
in interfaceTimeKeeper
-
-