presto-thrift-api/src/main/java/io/prestosql/plugin/thrift/api/datatypes/PrestoThriftDate.java/PrestoThriftDate/fromBlock
class PrestoThriftDate:    public static PrestoThriftBlock fromBlock(Block block)
    {
        return fromIntBasedBlock(block, DATE, (nulls, ints) -> dateData(new PrestoThriftDate(nulls, ints)));
    }