📅  最后修改于: 2022-03-11 14:52:40.498000             🧑  作者: Mango
public LocalDate convertToLocalDateViaInstant(Date dateToConvert) {
return dateToConvert.toInstant()
.atZone(ZoneId.systemDefault())
.toLocalDate();
}