Here you can find the source of getDate(ChronoLocalDate date)
public static Date getDate(ChronoLocalDate date)
//package com.java2s; import java.time.*; import java.time.chrono.ChronoLocalDate; import java.util.Date; public class Main { public static Date getDate(ChronoLocalDate date) { LocalDate localDate = LocalDate.from(date); ZoneId zone = ZoneId.systemDefault(); Instant instant = localDate.atStartOfDay().atZone(zone).toInstant(); return Date.from(instant); }/*from w w w. j a v a2 s.com*/ }