@SuppressWarnings({"deprecation"})
public static Date valueOf (LocalDate date)

Obtains an instance of Date from a LocalDate object with the same year, month and day of month value as the given LocalDate.

The provided LocalDate is interpreted as the local date in the local time zone.

Parameters:
date    a LocalDate to convert

Returns:  a Date object

Exceptions:
NullPointerException    if date is null

Since:  1.8