support java.time.LocalDateTime and java.time.LocalDate