Temporal might indeed be too unspecific. ChronoLocalDate and ChronoLocalDateTime might be good starting points, they provide isBefore()/isAfter() semantics.
Yes, ChronoLocalDate is the base class for the five types I mentioned earlier. But ChronoLocalDateTime is only a base class for LocalDateTime.
|