Companion
object Companion
Functions
Link copied to clipboard
Given two LocalDate objects, calculate the difference between them and return a new ChronoUnit, pre-populated with that difference.
Given two LocalDateTime 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.