presto-hive/src/main/java/io/prestosql/plugin/hive/metastore/thrift/ThriftMetastoreUtil.java/ThriftMetastoreUtil/toMetastoreDate
class ThriftMetastoreUtil:    private static Date toMetastoreDate(LocalDate date)
    {
        return new Date(date.toEpochDay());
    }