@SuppressWarnings("deprecation") public void newMinute(){
  if (!inSyncWithInternalFastClock) {
    return;
  }
  if (correctFastClock || synchronizeWithInternalClock) {
    Date now=clock.getTime();
    if (now.getMinutes() != 0) {
      curDays=now.getDate();
      curHours=now.getHours();
      curMinutes=now.getMinutes();
      long millis=now.getTime();
      long elapsedMS=millis % MSECPERMINUTE;
      double frac_min=elapsedMS / (double)MSECPERMINUTE;
      curFractionalMinutes=(int)CORRECTION - (int)(CORRECTION * frac_min);
      setClock();
    }
  }
 else   if (setInternal && !correctFastClock && !synchronizeWithInternalClock) {
    inSyncWithInternalFastClock=false;
    initiateRead();
  }
}

@ SuppressWarnings ( "deprecation" ) public void newMinute ( ) { if ( ! inSyncWithInternalFastClock ) { return ; } if ( correctFastClock || synchronizeWithInternalClock ) { Date now = clock . getTime ( ) ; if ( now . getMinutes ( ) != 0 ) { curDays = now . getDate ( ) ; curHours = now . getHours ( ) ; curMinutes = now . getMinutes ( ) ; long millis = now . getTime ( ) ; long elapsedMS = millis % MSECPERMINUTE ; double frac_min = elapsedMS / ( double ) MSECPERMINUTE ; curFractionalMinutes = ( int ) CORRECTION - ( int ) ( CORRECTION * frac_min ) ; setClock ( ) ; } } else if ( setInternal && ! correctFastClock && ! synchronizeWithInternalClock ) { inSyncWithInternalFastClock = false ; initiateRead ( ) ; } }
corrects the loconet fast clock
