wie man localDatetime in Java subtrahiert
LocalDateTime from = ... ;
LocalDateTime to = ... ;
Duration duration = Duration.between(from, to);
Envious Elk
LocalDateTime from = ... ;
LocalDateTime to = ... ;
Duration duration = Duration.between(from, to);