org.opennms.netmgt.poller.remote
Class DefaultTimeAdjustment
java.lang.Object
org.opennms.netmgt.poller.remote.DefaultTimeAdjustment
- All Implemented Interfaces:
- TimeAdjustment
public class DefaultTimeAdjustment
- extends Object
- implements TimeAdjustment
DefaultTimeAdjustment
- Author:
- brozow
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultTimeAdjustment
public DefaultTimeAdjustment()
setMasterTime
public void setMasterTime(long timeInMillis)
- Specified by:
setMasterTime in interface TimeAdjustment
adjustTimeToMasterTime
public long adjustTimeToMasterTime(long localTime)
- Specified by:
adjustTimeToMasterTime in interface TimeAdjustment
adjustDateToMasterDate
public Date adjustDateToMasterDate(Date localDate)
- Specified by:
adjustDateToMasterDate in interface TimeAdjustment
Copyright © 2011. All Rights Reserved.