Java hat die Dauer bis zu lang gegossen
Duration d = Duration.ofHours(1); // 1 hour with java.time
long millis = d.toMillis(); // 1 hour in milliseconds
LucasP243
Duration d = Duration.ofHours(1); // 1 hour with java.time
long millis = d.toMillis(); // 1 hour in milliseconds