/** Check if the RTC should be updated */ private boolean shouldUpdateRTC() { long stamp = rtc.getStamp(); long now = TimeSteward.currentTimeMillis(); return stamp < (now - TIME_THRESHOLD) || stamp > (now + TIME_THRESHOLD); }