public static Timer runPeriodically(java.time.Duration interval, Runnable action) {
        Timer timer = createPeriodic(interval, action);
        timer.restart();
        return timer;
    }
public static Timer runPeriodically(java.time.Duration interval, Runnable action) {
        Timer timer = createPeriodic(interval, action);
        timer.restart();
        return timer;
    }
public static Timer runPeriodically ( java . time . Duration interval , Runnable action ) { Timer timer = createPeriodic ( interval , action ) ; timer . restart ( ) ; return timer ; }
Equivalent to {@code createPeriodic(interval, action).restart()}.
Equivalent to {