[java] How to measure the a time-span in seconds using System.currentTimeMillis()?