between

Given two LocalDateTime objects, calculate the difference between them and return a new ChronoUnit, pre-populated with that difference.


Given two LocalDate objects, calculate the difference between them and return a new ChronoUnit, pre-populated with that difference.


Given two LocalTime objects, calculate the difference between them and return a new ChronoUnit, pre-populated with that difference.