public static Date parseDate(final String date, final String format, final TimeZone timeZone) {
        if (N.isNullOrEmpty(date) || (date.length() == 4 && "null".equalsIgnoreCase(date))) {
            return null;
        }

        return createDate(parse(date, format, timeZone));
    }
public static Date parseDate ( final String date , final String format , final TimeZone timeZone ) { if ( N . isNullOrEmpty ( date ) || ( date . length ( ) == 4 && "null" . equalsIgnoreCase ( date ) ) ) { return null ; } return createDate ( parse ( date , format , timeZone ) ) ; }
Converts the specified <code>date</code> with the specified {@code format} to a new instance of java.sql.Date.
<code>null</code> is returned if the specified <code>date</code> is null or empty.

@param date
@param format
@param timeZone
@return