public void setPaceInSec ( int paceInSec ) { this . speed = null ; this . paceInSec = Math . max ( 0 , Math . min ( paceInSec , 3599 ) ) ; }
Set the current pace in seconds per kilometer or seconds per mile .