Duration is a Duration struct that defines the time in milliseconds between two calls to the between() method.
import java.time.Duration;
Duration duration = Duration.between(, );
//long minutes = duration.toMinutes();
//long hours = duration.toHours();