📜  如何在java代码示例中减去localdatetime

📅  最后修改于: 2022-03-11 14:52:30.504000             🧑  作者: Mango

代码示例1
LocalDateTime from = ... ;
LocalDateTime to = ... ;
Duration duration = Duration.between(from, to);