I converted an instant to LocalDate and here is my implementation:
theInstant.atZone(ZoneId.systemDefault()).toLocalDate();
However, I got the exception in Junit test: java.time.DateTimeException: Invalid value for Year (valid values -999999999 - 999999999): -1000000000
Can anyone help?
Thanks!