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