@Test public void testNoTimeDifference() { TimeAdjustment timeAdjustment = new DefaultTimeAdjustment(); long time = System.currentTimeMillis(); long adjusted = timeAdjustment.adjustTimeToMasterTime(time); assertEqualsWithin(time, adjusted, m_jitter); }
public long adjustTimeToMasterTime(long localTime) { return localTime - m_offset; }
DefaultTimeAdjustment implements TimeAdjustment { public long adjustTimeToMasterTime(long localTime) { return localTime - m_offset; } }
DefaultTimeAdjustment implements TimeAdjustment { public long adjustTimeToMasterTime(long localTime) { return localTime - m_offset; }  }
DefaultTimeAdjustment implements TimeAdjustment { public long adjustTimeToMasterTime(long localTime) { return localTime - m_offset; }  void setMasterTime(long timeInMillis); long adjustTimeToMasterTime(long localTime); Date adjustDateToMasterDate(Date localDate); }
DefaultTimeAdjustment implements TimeAdjustment { public long adjustTimeToMasterTime(long localTime) { return localTime - m_offset; }  void setMasterTime(long timeInMillis); long adjustTimeToMasterTime(long localTime); Date adjustDateToMasterDate(Date localDate);  }