org.opennms.protocols.xml.collector
Class ConstantTimeKeeper
java.lang.Object
org.opennms.protocols.xml.collector.ConstantTimeKeeper
- All Implemented Interfaces:
- TimeKeeper
public class ConstantTimeKeeper
- extends Object
- implements TimeKeeper
The Class ConstantTimeKeeper.
- Author:
- Alejandro Galue
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConstantTimeKeeper
public ConstantTimeKeeper(Date date)
- Instantiates a new constant time keeper.
- Parameters:
date - the date
getCurrentTime
public long getCurrentTime()
- Specified by:
getCurrentTime in interface TimeKeeper
getCurrentDate
public Date getCurrentDate()
- Specified by:
getCurrentDate in interface TimeKeeper
getTimeZone
public TimeZone getTimeZone()
- Specified by:
getTimeZone in interface TimeKeeper
Copyright © 2011. All Rights Reserved.