Temporal might indeed be too unspecific. ChronoLocalDate and ChronoLocalDateTime might be good starting points, they provide isBefore()/isAfter() semantics.