I am looking at the Date documentation and trying to figure out how I can express NOW + 5 seconds. Here's some pseudocode:
import java.util.Date
public class Main {
public static void main(String args[]) {
Date now = new Date();
now.setSeconds(now.getSeconds() + 5);
}
}