Here you can find the source of toDate(LocalDate ld)
public static Date toDate(LocalDate ld)
//package com.java2s; //License from project: Apache License import java.time.LocalDate; import java.util.Calendar; import java.util.Date; public class Main { public static Date toDate(LocalDate ld) { Calendar c = Calendar.getInstance(); c.set(ld.getYear(), ld.getMonthValue() - 1, ld.getDayOfMonth()); Date dateNew = c.getTime(); return dateNew; }/*from ww w.j a v a 2 s . c om*/ }