public static Timer createPeriodic(java.time.Duration interval, Runnable action) {
        return new FxTimer(interval, interval, action, Animation.INDEFINITE);
    }
public static Timer createPeriodic(java.time.Duration interval, Runnable action) {
        return new FxTimer(interval, interval, action, Animation.INDEFINITE);
    }
public static Timer createPeriodic ( java . time . Duration interval , Runnable action ) { return new FxTimer ( interval , interval , action , Animation . INDEFINITE ) ; }
Prepares a (stopped) timer that lasts for {@code interval} and that executes the given action periodically
when the timer <em>ends</em>.
Prepares a ( stopped ) timer that lasts for {