Here you can find the source of toDate(LocalDate localDate)
public static Date toDate(LocalDate localDate)
//package com.java2s; //License from project: LGPL import java.time.Instant; import java.time.LocalDate; import java.time.ZoneOffset; import java.util.Date; public class Main { public static Date toDate(LocalDate localDate) { Instant instant = localDate.atStartOfDay().toInstant(ZoneOffset.of("+0")); return Date.from(instant); }/* w ww . java 2s.com*/ }