List of usage examples for javafx.util Duration hours
public static Duration hours(double h)
From source file:ninja.eivind.hotsreplayuploader.services.HeroService.java
public HeroService() { LOG.info("Instantiating " + getClass().getSimpleName()); setPeriod(Duration.hours(2)); setBackoffStrategy(param -> param.getPeriod().multiply(1.25)); LOG.info("Instantiated " + getClass().getSimpleName()); }