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