presto-thrift-api/src/main/java/io/prestosql/plugin/thrift/api/datatypes/PrestoThriftDate.java/PrestoThriftDate/PrestoThriftDate
class PrestoThriftDate:    @ThriftConstructor
    public PrestoThriftDate(
            @ThriftField(name = "nulls") @Nullable boolean[] nulls,
            @ThriftField(name = "dates") @Nullable int[] dates)
    {
        checkArgument(sameSizeIfPresent(nulls, dates), "nulls and values must be of the same size");
        this.nulls = nulls;
        this.dates = dates;
    }