Java N times increase based on the current time on the

long currentTime = System.currentTimeMillis () + increased the number of desired time in milliseconds;

Date date = new Date(currentTime);

Guess you like

Origin www.cnblogs.com/IceBlueBrother/p/11504515.html