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.time.ZoneId; import java.util.Date; public class Main { /**//from www . j a v a 2 s .c o m * {@link ZoneId} for UTC which everything in the system runs under */ public static final ZoneId UTC = ZoneId.of("UTC"); public static Date toDate(LocalDate ld) { if (ld == null) { return null; } return Date.from(ld.atStartOfDay(UTC).toInstant()); } }